On 7/3/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Hello,

can I have an example of the Texture Coordinates Array in osg files, please
?

Have a look at skydome.osg in the OpenSceneGraph-Data distribution.
Do a search for TexCoordArray in the file.

Is the same format that VRML files ( 2 coordinates between 0 and 1) ?

You can have 1D, 2D and 3D in the OSG, and they typically range
between 0 1 as they map to OpenGL which uses this range of texture
coordinates (with the exception of glTextureRectangle).  If coordinate
< 0 or > 1 then the texture wrap mode applies.

BTW, VRML probably accepts coordsin <0 and > 1 for these reasons too.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to