POV-Ray : Newsgroups : povray.unofficial.patches : MegaPOV 0.6a 'transform id' bug : MegaPOV 0.6a 'transform id' bug Server Time
1 Sep 2024 20:13:32 EDT (-0400)
  MegaPOV 0.6a 'transform id' bug  
From: Nicolas Calimet
Date: 29 Nov 2000 06:09:26
Message: <3A24F503.5EF569B1@free.fr>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.