iK Lab|Parametric shapes in Radiance
(cos(2*PI*t)' 'sin(2*PI*t)' '.5+.25*cos(8*PI*t)' '(1.3+sin(8*PI*t-PI/2))/10 - rendered with radiance)Radiance is a very powerful and versatile rendering engine and useful for engineers and designers who must deal deal with daylighting and lighting in general.
But not everybody knows that in Radiance it is possible to generate parametric forms. I suggest you to test what i'm saying. Borrow a formula (for free) from Gnuplot and import it into radiance: you can modify it as much as you prefer and when you are satisfied you can render it. I'll give you an example.
Open the bash terminal and type:
!genworm walls worm cos(2*PI*t) sin(2*PI*t) .5+.25*cos(8*PI*t) .075 180 > worm.rad
genworm is "the button" that allows you to create the geometry (like genbox), worm is the name, cos... is the formula, .rad is the radiance file.
Now you transform it into an octree (to include material properties and the sky definition):
!oconv skies/overcast.rad model.mat rad/$model.rad > $model.oct
Of course, you must define the materials and prepare a .rad file for the sky.
Now you can visualise with rvu or save a picture with rpict. For example:
rpict -x 1024 -y 1024 -vf worm1.vf -ab 5 -ad 1024 -as 512 -ar 128 -aa .1 -i worm.oct > worm.pic
Don't worry if the martian worm seems completely white: fix the exposur, typing "e" and picking the brightest point or import the file with Photosphere.























0 comments:
Post a Comment