|
![](/i/fill.gif) |
Hi,
I previously [2000-06-26] reported the same bug for version 0.5a
that was crashing MegaPOV on some architectures under UNIX, but not others.
The same thing is still here in version 0.6a - actually I'm using the linux
Try rendering the simple scene below, alternatively commenting one
of the two boxes. The problem arrises from the 'transform cube_t' which
seems to be still buggy due to the Compose_Transforms() function under
CASE(TRANSFORM_TOKEN) in parse.c; may use an unassigned pointer.
//-----------------------------------------------------------------
#version unofficial MegaPOV 0.5;
camera{ right x*4/3 up y angle 40 location -z*50 look_at 0 }
light_source{ -z*50 rgb 0.66 }
light_source{ -z*50 rgb 1.0 rotate<45,-25,0> }
plane{ y, -5 pigment{checker rgb 1,rgb 0.7 scale 5} }
fog{ rgb 1 distance 200 fog_type 2 fog_offset -2 fog_alt 10 }
#declare cube_t = transform{
translate<-5,-5,-5>
rotate x*20
rotate y*20
}
box{
<0,0,0><10,10,10> pigment{ rgb<1,0,0> }
transform cube_t
}
box{
<0,0,0><10,10,10> pigment{ rgb<0,1,0> }
transform cube_t
translate x*5
}
//------------------------------------------------------------------
*** Nicolas Calimet
*** http://pov4grasp.free.fr
Post a reply to this message
|
![](/i/fill.gif) |