|
 |
"yesbird" <nomail@nomail> wrote:
> 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.
Welcome to the wonderful world of POV-Ray documentation.
If you read that whole section, it will make sense, and there are specific
sentences and phrases that explain exactly what you are describing.
It's a 30-year old open source project, not a commercial profit-supported
software package, and we just have to live with certain aspects of that.
I'd say that given the massive amount of documentation that has been made, it
was a herculean task, and I think that overall it came out pretty well. But
there are parts that we still are not happy with and bicker about ;)
You and/or a friend could submit suggested replacement language. We could
specifically add an explicit point_light keyword - but atm we don't have a
developer to implement that in official source.
Or maybe Mr. Holsenback can make some edits to the extant documentation as he
sees fit.
Post a reply to this message
|
 |