![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/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) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thanks. Will take a look at it.
- Nekar
"Mael" <mae### [at] hotmail com> wrote in message news:3ba9915b@news.povray.org...
> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Can I suggest you to add a parameter to globally control the illumination
(which it's a bit dim now).
Nice work. I find it usefull.
--
Jonathan.
"Mael" <mae### [at] hotmail com> ha scritto nel messaggio
news:3ba9915b@news.povray.org...
> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi, Mael,
[snip]
> here is an include file for pov3.5 to render an object with 4 views as > in a
modeler
[snip]
Thank you, I will try it out and post a sample (next week?)
Blessings,
Brendan
--
Michael Brendan Hurley ShadowDancerEnterprizes, LTD.
POV Site: http://www.geocities.com/mbrendanh/indxx01.html
Family: http://www.saber.net/~mbhcgc/index.shtml
mbh### [at] saber net
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |