|
|
Here's a file that I created and rendered on the Mac using MegaPOV 5a. When
I run it on the PC under either 5.0 or 5.0a, it crashes. The rendering
actually starts, then crashes right at line 20, when the isosurface is
called.
Any thoughts?
d.
camera {
perspective
location <0.0, 10.0, -10>
sky<0.0, 1.0, 0.0>
look_at <0.0, 0.0, 0.0>
}
light_source {
<0.0, 100, -100>
rgb <1.0, 1.0, 1.0>
}
// Persistence of Vision Ray Tracer Scene Description File
#include "colors.inc"
#version unofficial MegaPov 0.4;
#default { texture { pigment { color rgb < 1, 0, 0 > } finish { ambient
0.4 } } }
#declare P0 = 0.25; //period X
#declare P1 = 0.25; //period Z
#declare P2 = 0.8; //shape parameter 1 (x-z)
#declare P3 = 0.125; //amplitude
#declare P4 = 0.8; //shape parameter 2 (y)
isosurface {
normal on
function { "mesh1" ,<P0,P1,P2,P3,P4> }
accuracy 0.001
threshold 0.02
contained_by { box { <-10.0, -10.0, -10.0>, <10.0, 10.0, 10.0> } }
eval
texture {
pigment {
function {
sqrt(x*x*0.1 + y*y*0.1 + z*z*0.1)
}
color_map {
[ 0.000 rgbft <1.0, 0.5, 1.0, 0.0, 0.0> ]
[ 1.000 rgbft <1.0, 0.2, 0.2, 0.0, 0.0> ] } } } }
--
dhm### [at] mediaonenet
http://www.casdn.neu.edu/~dmiller
Post a reply to this message
Attachments:
Download 'iso2.pov.txt' (1 KB)
|
|