POV-Ray : Newsgroups : povray.unofficial.patches : Shadowless is hotspot-less - a bug??? Server Time
8 Jul 2024 15:41:04 EDT (-0400)
  Shadowless is hotspot-less - a bug??? (Message 1 to 3 of 3)  
From: Paul Blaszczyk
Subject: Shadowless is hotspot-less - a bug???
Date: 12 Jun 2001 17:06:52
Message: <3b26846c$1@news.povray.org>
Hi there,

i've tested some texture options and metioned that all my objects has no
hotspots and they are not shaded (looking 2D...flat...). I've tested this
with spheres.

After removing the "shadowless" keyword from my light_source all objects are
shaded and have hot spots. First i was working in mp 0.7 and tested it also
with 3.1g, but with the same result.

Is this a bug??  When i turn on shadows in the light definition and shut off
the shadow in the objects ("no_shadow" keyword) they are shaded and have
hotspots!!!
But that is not the result i expect, because i'm using some lights to make
hotspots on a object (lit this) but only one or two lights should have
shadows on.

Paul


Post a reply to this message

From: Ron Parker
Subject: Re: Shadowless is hotspot-less - a bug???
Date: 12 Jun 2001 17:54:29
Message: <slrn9id3sn.amp.ron.parker@fwi.com>
On Tue, 12 Jun 2001 23:07:52 +0200, Paul Blaszczyk wrote:
>i've tested some texture options and metioned that all my objects has no
>hotspots and they are not shaded (looking 2D...flat...). I've tested this
>with spheres.

It's exactly as you describe, but believe it or not it was by design.  This
has been covered before somewhere around here.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

From: Peter Popov
Subject: Re: Shadowless is hotspot-less - a bug???
Date: 14 Jun 2001 15:41:43
Message: <m2ehits3vo09t5n39jvf9tmn9b3kdtq74p@4ax.com>
On 12 Jun 2001 17:54:29 -0400, ron### [at] povrayorg (Ron Parker)
wrote:

>On Tue, 12 Jun 2001 23:07:52 +0200, Paul Blaszczyk wrote:
>>i've tested some texture options and metioned that all my objects has no
>>hotspots and they are not shaded (looking 2D...flat...). I've tested this
>>with spheres.
>
>It's exactly as you describe, but believe it or not it was by design.  This
>has been covered before somewhere around here.

To shed more light on the subject, shadowless lights were designed
with the thought of fill lights in the head of whoever introduced
them. This can easily be seen in the POV source code. Hotspots, or
highlights, given off by fill lights are usually unwanted, so the
developer made shadowless lights highlightless as well. This has been
discussed before and has a workaround, namely the no_shadow object
flag.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

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