Hi everyone,

osgconv seems to be (almost) the holy grail I was looking for: It can
simplify models and apply compression to textures. But it does not
appear to accept a maximum texture size. On Windows, I am trying the
following (where I use a building model made in Google Sketchup)

SET OSG_MAX_TEXTURE_SIZE=256 && osgconv --compressed Glyptothek\models\model.dae

So it writes a file called "converted.osg" and lots of texture*.dds
files. But all of these textures retain their original size instead of
being downsized to 256x256 or smaller. Same when writing to binary
.ive format. So this means the next time OSG loads the model, it still
has to apply scaling (to generate power of 2 textures, or to downscale
texture size as required). This needlessly requires CPU and disk
space.

Isn't there a way to make osgconv save downsized textures in power of
2 sizes? I've looked through the --help options, as well as the DAE
(Collada) plugin options without success.

Christian
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to