|
|
Thorsten Froehlich <tho### [at] trfde> wrote:
: I guess you never
: noticed that you can even specify multiple cameras in a scene without any
: error or warning message.
I have noticed this and I have always liked this property. It can be
an extremely useful property sometimes.
For example: An include file may set a camera given some parameters (say,
an include by Colefax). However, this include doesn't support everything a
camera could support (eg. normal perturbation of the camera rays). Fortunately
this doesn't matter, as I can call the include file, which sets the camera,
and I can afterwards add the extra stuff to the camera, and everything works
just great. I mean, like:
#declare some include file parameters
#include "fancy_include.inc" // this sets the camera according to the params
camera
{ normal { bumps .5 scale .1 }
}
This is incredibly versatile and useful. Disallowing this property would
certainly deprive povray of a great feature.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|