POV-Ray : Newsgroups : povray.general : Suggesting "specularless" lights : Re: Suggesting "specularless" lights Server Time
7 Aug 2024 11:25:03 EDT (-0400)
  Re: Suggesting "specularless" lights  
From: Warp
Date: 1 Oct 2001 05:32:11
Message: <3bb8381a@news.povray.org>
Roy Schulz <roy### [at] gmxde> wrote:
: Like "shadowless" lights it would be nice to have "specularless" lights for
: use as fill lights.

  As I said in p.b-t, it should be "specular on/off".

  You say that it should be "specularless" for consistency with "shadowless".
I disagree. The "shadowless" keyword syntax is a relic, and not very good.
(Why there has to be a different keyword for light sources and for objects?)

  So the problem is not with "specular on/off". The problem is really with
"shadowless", which should better be "shadows on/off" for both light sources
and objects (and "shadowless" and "no_shadow" should be removed or at least
deprecated).

  There's also another advantage of using "specular on/off": It contaminates
less the already bloated namespace of the POV-Ray syntax. (And substituting
"shadowless/no_shadow" with "shadows on/off" also reduces the number of
reserved keywords by one.)

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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