Hi list,

it seems that currently none of the model loading plugins can load a
1D texture( did a quick grep for Texture1D ), except the .osg and .ive
formats. If you try loading a .png file with a height and depth of 1,
loading fails( as it probably tries to load it as a Texture2D ), and ,
and I'm not aware of any image file formats made for 1D textures( and
I doubt there is the need for one ).

Would it be fine if I sent a patch to make it so the loaders check if
the texture's height is 1, and if so load the files as a
Texture1D instead of a Texture2D ?

I'm specially interested in doing this for the .ac and .3ds format.

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

Reply via email to