Hi Robert,

>> Is there a way to use 'normal' texture coordinates with range 0.0 - 1.0
>> for a TextureRectangle?
>
> You could create a osg::TextMat and assign it to the same StateSet,
> however, it'd need to know about the size of the image.

Yup, same problem then.

> Perhaps we should have an option in osg::TextureRectangle to do an
> internal setting of the texture matrix to compenstate for the daftness
> of absolute tex coords of glTextextureRectangle.

This would be a nice solution, and quickest to implement I assume. I have
read your discussion with my collegue Michel van Elk about NPOT textures
but I guess that needs 1) more discussion and 2) more implementation
time...

Can you point me at other code that does a same thing, ie setting an
option?  I don't have any clue how to do this 'the osg way'. Then I will
implement this and send it to the list.

thanks, bye bye
Raymond

>
> Robert.
> _______________________________________________
> 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/

Reply via email to