POV-Ray : Newsgroups : povray.programming : Parametric object with shadow gets black : Re: Parametric object with shadow gets black Server Time
5 Jul 2024 14:31:01 EDT (-0400)
  Re: Parametric object with shadow gets black  
From: Massimo Valentini
Date: 22 Jun 2003 15:16:20
Message: <3ef60084@news.povray.org>
"Wolfgang Wieser" ha scritto 
 
: 
: YES, the image is no longer black and there is a nice shadow 
: _below_ the parametric object. 

I saw the shadow below the object, and I thought the surface 
was in full light :-(

: 
: And NO, it does not look like the object has any shadow on 
: its own surface. I mean -- the high parts of the parametric 
: surface should throw shadows on the low parts...
: Or at least if I peak a cylinder through the object. 
: I failed see such a shadow in my test-renders. 
: 

Looking at the code (All_Parametric_Intersections) it seems that 
only one intersection is pushed onto the Depth_Stack, so when 
testing for self shadows if the first intersection is the starting
point, not meaningful (and so dropped with my patch), every other
intersection is not considered. 

I just gave a fast glance to docs and code, so I cannot say whether 
this behaviour is the documented behaviour or a misbehaviour. 

I don't think a quick patch is easy, but, may be, it suffices a loop.

Massimo


Post a reply to this message

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