[Radiance-general] Re: Texture mapping, openGL.

Greg Ward gregoryjward at gmail.com
Sat May 17 18:09:09 PDT 2008


Hi Iebele,

Did you try tmesh2rad?

-Greg

> From: iebele <info at iebele.nl>
> Date: May 17, 2008 3:29:44 PM PDT
>
> 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