[Radiance-dev] Mesh normals in cal files

Mark Stock mstock at umich.edu
Thu Jun 16 15:01:40 CEST 2005


I just noticed that the perturbed mesh normal is unavailable in 
the .cal file language. Is that an oversight, or a major 
difficulty?

When I use the following code, my mesh appears very triangulated, 
but when I use "void plastic def" it appears smooth.

Mark

---------
{
   brighten_normal.cal
   make a surface brighter if the normal faces the viewer
}

br = Rdot*Rdot;

---------
void brightfunc surffunc
2 br brighten_normal.cal
0
0

surffunc plastic def
0
0
5  0.14 0.07 0.07  0.0 0.0

def mesh theblob
13 smoothed.msh -t 0 0 -1.75 -rx 180 -rz 45 -rx -35 -rz 30
0
0




More information about the Radiance-dev mailing list