[Radiance-general] Modeling... a bowl?
John Mardaljevic
jm at dmu.ac.uk
Wed Jun 4 06:35:57 PDT 2008
Nick,
Use gensurf rather than genrev. This command generates the bottom
half of a unit sphere centred on the origin (e.g. a hemispherical
'bowl'):
!gensurf mat hemi 'sin(PI*s)*cos(PI*t)' 'cos(PI*s)' '-
sin(PI*s)*sin(PI*t)' 20 20 -s
Remove the -ve sign in the z expression to get the top half. The -s
argument applies smoothing to the surface normal.
-John
-----------------------------------------------
Dr. John Mardaljevic
Senior Research Fellow
Institute of Energy and Sustainable Development
De Montfort University
The Gateway
Leicester
LE1 9BH, UK
+44 (0) 116 257 7972
+44 (0) 116 257 7981 (fax)
jm at dmu.ac.uk
http://www.iesd.dmu.ac.uk/~jm
More information about the Radiance-general
mailing list