[Radiance-general] Texture mapping, openGL.

iebele info at iebele.nl
Sat May 17 15:29:44 PDT 2008


Dear all,

I have a project running fine with textures in openGL which I like to 
export to radiance.
For the texture mapping in openGL texture coordinates are drawn for 
every point of a polygon point like this:

    glTexCoord2f ( tx, ty );
    glNormal3f ( nx, ny, nz );
    glVertex3f ( px, py, pz );

I am puzzled how to translate this  into a radiance scene description, 
/whithout/ the use of obj2mesh. Does any of you have an example 
available of  a picture mapped on a polygon using texture coordinates?

-Iebele





More information about the Radiance-general mailing list