POV-Ray : Newsgroups : povray.general : Lighttype confusion : Lighttype confusion Server Time
19 Apr 2024 03:14:45 EDT (-0400)
  Lighttype confusion  
From: yesbird
Date: 27 Jan 2023 03:50:00
Message: <web.63d38f1057e2ee6f22466b2610800fb2@news.povray.org>
Hi guys,

While doing wrapper for light source I was little bit confused with this line:
....
Light source default values:
LIGHT_TYPE        : pointlight
....
on wiki page: https://wiki.povray.org/content/Reference:Light_Source

As soon as there is no 'pointlight' in this list:
....
LIGHT_TYPE:
  spotlight | shadowless | cylinder | parallel
....
and parser gives an error on this keyword, the only way to define point light is
not to set LIGHT_TYPE at all.

Not a big problem, but it seams to me there is some misunderstanding here.


Post a reply to this message

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