[Radiance-general] obj2mesh, UV coordinates and image aspect

Gregory J. Ward gregoryjward at gmail.com
Mon Feb 20 17:24:28 CET 2006


Hi Thomas,

If the problem is really just the fact that you have non-square  
images, this is easily remedied in your Radiance description.  If the  
horizontal dimension in your image is larger -- say 1.5 times the  
vertical dimension, you would use a (0-1) range for each of u and v  
like so:

        void colorpict tiled_pat
        7 red green blue mytile.pic . Lu*1.5 Lv
        0
        0

        tiled_pat plastic tiled_mat
        0
        0
        5 .9 .9 .9 0 0

        tiled_mat mesh tiled_mesh
        1 mymesh.rtm
        0
        0

-Greg



More information about the Radiance-general mailing list