David Glenn wrote:
Funny thing J, for what it's worth, the Performer code still gives me the Magic 
Number Error if I feed it any texture that is wrong and I know I'm using OpenGL 
2.0. So I thought in that case it was a performer thing. Well I’m talking about 
5+ year old code at best, that was hacked from something that was designed to 
run on an old SGI box. God knows what I'm going to get out of it!

Yeah, Performer wasn't written for OpenGL 2.0. OSG wasn't originally either, which is why it defaults to resizing all images. The resize hint was added for OpenGL 2.0 (actually for the ARB_texture_non_power_of_two extension) so the resize could be avoided if the hardware supported it.

You could argue that it should default to not resize if the hardware supports it (i.e.: if the extension is present in the driver's extension string), but drivers have been known to lie in the past :-)

--"J"

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

Reply via email to