|
![](/i/fill.gif) |
here is an include file for pov3.5 to render an object with 4 views as in a
modeler
to use it you have to include "views.inc" , declare your object and call the
macro Views (you don't need camera or lights, but the object must have a
texture)
Views (my_object,view1,view2,view3,view4,same_scale,bounding_box,samples)
parameters :
-my_object : the object you want to visualize
-view1 to view4 : the four views, for each you choose among "front", "back",
"top", "bottom", "left", "right", "perspective"
-same_scale : use the same scale for the 4 views if yes, and if no use
different scale
-bounding_box : render the bounding box if yes
-samples : if 0 use the min/max extent from povray, else the macro attempts
to find a better bounding using the trace function (sometimes the bounding
of pov is not very good for csg object), don t use a too large number anyway
, the algorithm is not very good (around 30 should be ok)
ex: Views(obj,"front","left","top","perspective",yes,no,0)
M
Post a reply to this message
Attachments:
Download 'views.inc.txt' (10 KB)
|
![](/i/fill.gif) |