|
![](/i/fill.gif) |
Hi, All.
Please help.
In this post:
http://news.povray.org/povray.general/thread/%3Cweb.4640d4eb7a83c8141d1bbab40%40news.povray.org%3E/
I tried create glass fractal.
Now tried to render one density map df3 file, and get strong radial
distortions.
This is my result: http://www.geocities.com/gplflame/test.jpg.
This is object from which df3 file created:
http://www.geocities.com/gplflame/demo2.html
I want insert some others object to density files, and I need more
precision.
here is my pov file:
#include "metals.inc"
#declare TWOPI = 6.283185307179586476925287;
#declare RADIUS = 1;
#declare NX = 1;
#declare NY = 1;
#declare NZ = 1;
#declare DD = <NX,NY,NZ>;
#declare CC = DD / 2;
#declare VP = <0, 0 , NZ * 1.4>;
global_settings {
ambient_light <1,1,1>
assumed_gamma 1
}
camera {
location VP
up y
right x * 1.3333
sky <0,0,-1>
look_at <0,0,0>
}
light_source {
VP + <0,0,NZ * 2>
color rgb <1,1,1>
media_interaction on
media_attenuation on
shadowless
}
#declare theinterior = interior {
media {
emission 1
absorption 0.4
density {
density_file df3 "example.df3"
interpolate 2
color_map {
[0.00 rgb <0,0,0>]
[0.33 rgb <0,0,1>]
[0.66 rgb <0,1,0>]
[1.00 rgb <1,0,0>]
}
}
}
}
box {
<0,0,-0>, <1,1,1>
pigment { rgbf <1,1,1,1> }
interior { theinterior }
translate <-0.5, -0.5, -0.5>
hollow
}
Post a reply to this message
|
![](/i/fill.gif) |