|
|
It's the normal on statement. remove and it will not crash on the PC. Anyone
know why?
d.
--
dhm### [at] mediaonenet
http://www.casdn.neu.edu/~dmiller
D. H. Miller <dhm### [at] mediaonenet> wrote in message
news:395fa4d6$1@news.povray.org...
> 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; file://period X
> #declare P1 = 0.25; file://period Z
> #declare P2 = 0.8; file://shape parameter 1 (x-z)
> #declare P3 = 0.125; file://amplitude
> #declare P4 = 0.8; file://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
|
|