Re: [osg-users] A Wrong Billboard Tree!!

From: Paul Melis <p.e.c.melis_at_rc.rug.nl>
Date: Wed Jan 12 2005 - 06:10:33 PST

Hello Robert,

Robert Osfield wrote:

>On Wednesday 12 January 2005 10:58, Spyros Garyfallos wrote:
>
>
>>Why width and height of bitmaps have to be a power of 2?
>>
>>
>
>The OSG will rescale for you during the download of the image to graphics, but
>this is way inefficient, its better to pre scale to power of two and not have
>the runtime hit. The power of 2 limit for textures is down to the design of
>the graphics hardware. OpenGL2.0 relaxes this constraint, but this isn't yet
>implemented in the OSG.
>
I noticed (in the messages on the console) that with certain models the
same texture file is being rescaled more than once, when the file is
used in multiple statesets.
So I guess that unique texture files used in a .osg file are also not
loaded just once, but are read and stored multiple times in memory?

Paul

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
Received on Wed Jan 12 06:10:49 2005

This archive was generated by hypermail 2.1.8 : Wed Jan 12 2005 - 06:10:50 PST