Re: [osg-users] Difference TextureRectangle and Texture2D

2011-02-23 Thread Martin Großer
Hello,

I have been seeing that the TextureRectangle is a OpenGL standard. I didn't 
know that so far.

Here is the documentation: 
http://www.opengl.org/registry/specs/ARB/texture_rectangle.txt

Best regards,

Martin


 Original-Nachricht 
 Datum: Wed, 23 Feb 2011 10:38:17 +0100
 Von: Martin Großer grosser.mar...@gmx.de
 An: osg-users@lists.openscenegraph.org
 Betreff: [osg-users] Difference TextureRectangle and Texture2D

 Hello,
 
 can everyone explain me what the difference between a osg::Texture2D and a
 osg::TextureRectangle?
 
 Regards,
 
 Martin
 -- 
 Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
 belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
Schon gehört? GMX hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://www.gmx.net/de/go/toolbar
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Difference TextureRectangle and Texture2D

2011-02-23 Thread J.P. Delport

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