POV-Ray : Newsgroups : povray.newusers : strange light effect when adding new objects Server Time
28 Nov 2024 03:33:06 EST (-0500)
  strange light effect when adding new objects (Message 1 to 5 of 5)  
From: Emma
Subject: strange light effect when adding new objects
Date: 20 Jan 2002 17:06:31
Message: <1103_1011564672@hex>
I have a scene with some objects standing on top of a box, inside a hollow transparent
box filled with media. There is a point light source above, which does not interact
with the media. 
If I add a new cylinder object the visible box will no longer be lit up even though
the objects on top of the box are lit just like before. Adding a new box object will
not give this effect, although adding multiple box objects 
will. (The new objects are much smaller than the box so they couldn't possibly block
out all the light, especially as the objects next to them are lit.)
I'm using POV-Ray 3.1 for Linux.

I'd be very thankful for any help on how to avoid this problem.


Post a reply to this message

From: Steve
Subject: Re: strange light effect when adding new objects
Date: 20 Jan 2002 18:09:25
Message: <slrna4mjgu.5ib.steve@zero-pps.localdomain>
On Sun, 20 Jan 2002 22:11:12 GMT, Emma wrote:

>I'd be very thankful for any help on how to avoid this problem.

If you post the offending code with your camera and light and 
objects we'll have a look. 

--
%HAV-A-NICEDAY                    email mailto:ste### [at] zeroppsuklinuxnet
Steve                                web http://www.zeropps.uklinux.net/
                                             or http://start.at/zero-pps
 11:08pm  up 104 days, 14:57,  1 user,  load average: 1.01, 1.02, 1.00


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: strange light effect when adding new objects
Date: 22 Jan 2002 13:06:18
Message: <3c4daa1a@news.povray.org>
A wild guess: As you have a transparent box, you might have to increase
max_trace_level (in the global_settings block). This value determines after
how many intersections, reflections etc. Pov stops to trace a ray.
If this does not help, you will have to give us some code to look at, I
think.

Marc-Hendrik


Post a reply to this message

From: Warp
Subject: Re: strange light effect when adding new objects
Date: 23 Jan 2002 09:18:50
Message: <3c4ec64a@news.povray.org>
Marc-Hendrik Bremer <Mar### [at] t-onlinede> wrote:
: A wild guess: As you have a transparent box, you might have to increase
: max_trace_level (in the global_settings block). This value determines after
: how many intersections, reflections etc.

  Note however, that max_trace_level has no effect on shadow calculations
(they are always fully calculated, no matter how many semitransparent objects
you have between the current point and the light source).

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


Post a reply to this message

From: Emma
Subject: Re: strange light effect when adding new objects
Date: 23 Jan 2002 16:30:11
Message: <1103_1011821705@hex>
I got around the problem by making the media box larger so that it contains the
visible box as well, not only the objects on top of it. 
Thanks for your help!


Post a reply to this message

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