Hi Ying,
On 7 August 2014 09:53, ying song <[email protected]> wrote: > In the cow.osg model, they use SPHERE_MAP to generate the texture > coordinates. I wonder whether openscenegraph has the same kinds of > functions. Would you please tell me? I provided all the information in my response. .osg is the old OSG native format, everything in it is DIRECTLY supported by the OSG, however, as I said in my previous email osg::TexGen/glTexGen which provides the SPHERE_MAP functionality only works with fixed function pipeline - have a look at the cow.osg and you'll see that this token is inside an osg::TexGen. What you need to do is go back to basics, go learn OpenGL shader language, go re-read my original post, do some background reading. Robert.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

