Hi,

for 2D texture coords go from 0..1 and for Rect it goes from 0..width and 0..height

Sometimes it's nice to work with normalise, sometimes it's nice to address pixels by number...

jp

On 23/02/11 11:38, "Martin Großer" wrote:
Hello,

can everyone explain me what the difference between a osg::Texture2D and a 
osg::TextureRectangle?

Regards,

Martin

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to