Hi forum,

I was going through the example osggameoflife and pondered over  the texture 
specification part to visulize  the game.

I used to know that the texture coordinate s,t,q all has to be between 0.0 and 
1.0.

At one part of the example the texture coordinate has been specified as 
foollows:

tcoords->push_back(0,0,0);
tcoords->push_back(width,0,0);
tcoords->push_back(width,0,height);
tcoords->push_back(0,0,height);

The width and height returns values more than 1 , like 128 X 128

Would be nice to have some explanation.


Thank you!

Cheers,
Sajjadul

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34703#34703





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to