[osg-users] Creating texture coordinates

2012-12-10 Thread Anders Backman
Hi all. Does anyone know about sample code for creating texture coordinates for a general triangle mesh? OpenGL can do this when using TexGen, but if I would like to generate this myself given coordinates, indices (and normals), is there a library that someone knows about that does this? Most

Re: [osg-users] Creating texture coordinates

2012-12-10 Thread Jason Daly
On 12/10/2012 08:06 AM, Anders Backman wrote: Hi all. Does anyone know about sample code for creating texture coordinates for a general triangle mesh? OpenGL can do this when using TexGen, but if I would like to generate this myself given coordinates, indices (and normals), is there a