Hi Raymond,

Raymond de Vries wrote:
As I promised a while ago I have added support for using regular texture
coordinates while using the TextureRectangle class (which is especially
useful for video streaming as is implemented in the osgmovie example right
now).

I've done this by manipulating the texture matrix, in the
TextureRectangle::apply().

Are you sure this is such a good idea?

For one it's not OpenGL conformant behaviour so it's different from what people would expect (as EXT_texture_rectangle states that image space texcoords are used; however odd/unintuitive that may be). Also it doesn't play well with user specified texture coordinates as I understand it (it overwrites them).

Personally I prefer software systems that don't attempt to be smart in unusual cases because most of the times you either aren't aware of what they're doing or they're not smart enough...

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to