[osg-users] A Wrong Billboard Tree!!

From: Spyros Garyfallos <yngwie_at_4m.gr>
Date: Wed Jan 12 2005 - 02:58:36 PST

Hi all,

I'm trying to create some billboard trees, but the result in some of them is like
the pic. I've tried to change the bitmap attributes in different width/height ratio
and in some cases (ratio=1.0 or 0.8) it works fine. Obviously it has to do with
the bitmap's dimensions The Image::scaleImage doesn't work, because
gluScaleImage returns "out of memory". Any attempt to manually rescale the
image, by changing the Image::_data failed.

Any suggestions??
Why width and height of bitmaps have to be a power of 2?
Where can I find the proper values of width/height ratio that work??

Thanks,
Spyros.

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

billboardTree.jpg
Received on Wed Jan 12 02:44:10 2005

This archive was generated by hypermail 2.1.8 : Wed Jan 12 2005 - 02:44:11 PST