[osg-users] [forum] DXT texture compression
Robert Osfield
robert.osfield at gmail.com
Fri May 18 07:32:19 PDT 2018
Hi Roby,
On 18 May 2018 at 15:08, Roby Urban Chaos <urbanchaos at email.it> wrote:
> Robert,
> the segmentation fault was due to a "new osg::State", instead of using the GraphicsContext ones.
> See line 54 and line 58 of the code attached.
>
> Now that the code works, the RGB texture was compressed to DDS but it is not flipped.
Flipping is a usage case, it all depends how you are using the data -
i.e. what tools you want to use with it. There are options in the DDS
plugin for flipping
For details run:
osgconv --format dds
> Could be that "osgDB::writeImageFile" use the RGB plugin to write the output instead of the DDS plugin?
RGB format doesn't not support compressed textures. The RGB format
existed well before GL compression was even dreamed up!
Robert.
More information about the osg-users
mailing list