Hi,
Well, I am pretty sure there are a lot of reasons why this should be
right or wrong. I think this is up to Robert since he has suggested this
option a while ago. For me this is an option to change the size of the
texture with keeping the texture coordinates unchanged.
Also, it is implemented as an option, and it needs to be enabled
explicitly so the default behaviour is still the same. Also, I think
that osg is 'smart' in other places too.
bye
Raymond
Ulrich Hertlein wrote:
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/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/