POV-Ray : Newsgroups : povray.general : Another light groups bug : Another light groups bug Server Time
4 Nov 2024 23:20:12 EST (-0500)
  Another light groups bug  
From: Mark Weyer
Date: 26 Aug 2003 06:28:07
Message: <3F4B3703.9020101@informatik.uni-freiburg.de>
It causes a segfault. I would be happy to know a workaround.
The following seemed essential in minimalizing the scene:
  - multiple light sources (not necessarily at the same place)
  - some of them spotlights with nonzero point_at (not necessarily location 0)
  - light_group

Minimal scene:
==============

camera {
   translate -3*z
}

light_group {
   #local i=0;
   #while (i<18)
     light_source {
       0 1
       spotlight radius 30 falloff 60 point_at 1
     }
     #local i=i+1;
   #end
   sphere {0 1
     pigment {transmit 1}
     hollow
     interior {
       media {
         scattering {1 1}
       }
     }
   }
}


Povray output:
==============

Persistence of Vision(tm) Ray Tracer Version 3.5 Unix (.Linux.gcc)
   This is an official version prepared by the POV-Ray Team. See the
    documentation on how to contact the authors or visit us on the
    internet at http://www.povray.org/.
Copyright 1991-2002 POV-Ray Team(tm)
Parsing Options
   Input file: bug.pov (compatible to version 3.5)
   Remove bounds........On  Split unions........Off
   Library paths: /usr/local/share/povray-3.5
     /usr/local/share/povray-3.5/include
Output Options
   Image resolution 320 by 240 (rows 1 to 240, columns 1 to 320).
   Output file: bug.png, 24 bpp PNG
   Graphic display......On  (type: 0, palette: 3, gamma:  2.2)
   Mosaic preview......Off
   CPU usage histogram.Off
   Continued trace.....Off  Allow interruption..Off  Pause when done.....Off
   Verbose messages.....On
Tracing Options
   Quality:  9
   Bounding boxes.......On  Bounding threshold: 3
   Light Buffer.........On  Vista Buffer.........On  Draw Vista Buffer...Off
   Antialiasing........Off
Animation Options
   Clock value....   0.000  (Animation off)
Redirecting Options
   All Streams to console.........Off
   Debug Stream to console.........On
   Fatal Stream to console.........On
   Render Stream to console........On
   Statistics Stream to console....On
   Warning Stream to console.......On


Parsing...

Creating bounding slabs.
Scene contains 1 frame level objects; 0 infinite.

Displaying...
Using 16 bit TrueColor visual...
   -:--:-- Rendering line   36 of  240. Segmentation fault



-- 
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{rgbt 1}interior{media{emission x}}hollow}//  Mark Weyer


Post a reply to this message

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