POV-Ray : Newsgroups : povray.unofficial.patches : Megapovplus glows : Megapovplus glows Server Time
1 Sep 2024 22:14:23 EDT (-0400)
  Megapovplus glows  
From: Gail Shaw
Date: 27 Sep 2000 05:10:37
Message: <39d1b98d@news.povray.org>
This is mainly for Chris but anyone else playing with glows may
want to take note.

I've been working on a scene with glows and I've encountered a problem

Glows do not behave well when #declared.

The following gives an error.

#declare Test=
 glow {
  location <0,0,0>
  color rgb <1,0,0>
 }

while

#declare Test =
 union {
  glow {
   location <0,0,0>
   color rgb <1,0,0>
  }
  sphere {
   <0,0,0>,1
   pigment {rgb 1}
  }
 }

gives a warning that there should be at least 2 objects in a CSG
and places the glow in the scene.

A subsequent call
object {Test}
simply places the sphere into the scene.

Also pov-ray returns an error if a glow is the last thing in a scene.

Chris, are these issues going to be addressed in the next version?

Gail
********************************************************************
* gsh### [at] monotixcoza              * System.dat not found.         *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k  *
********************************************************************
* If at first you don't succeed, call it version 1.0               *
********************************************************************


Post a reply to this message

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