POV-Ray : Newsgroups : povray.general : Need Help With Radiosity : Re: Need Help With Radiosity Server Time
31 Jul 2024 22:08:55 EDT (-0400)
  Re: Need Help With Radiosity  
From: Alain
Date: 18 Aug 2006 22:47:15
Message: <44e67bb3$1@news.povray.org>
Cherry363 nous apporta ses lumieres en ce 18/08/2006 00:03:
> "Jeremy M. Praay" <jer### [at] questsoftwarecmo> wrote:
> 
> 
> Sorry to be such a bother, but I tried to enter the settings you suggested
> and I keep getting errors....this is how I entered it:
> 
> global_settings {radiosity {count 200, error_bound 1}{ max_trace_level 100
The opening brace "{" before max_trace_level must go. This cause an error as 
your braces are unmatched.
> ambient_light rgb<0.830000, 0.830000, 0.830000> assumed_gamma 1.0}
> // sunlight
> light_source { < 4226.182699, 14281.480312, 9063.078165 >, rgb <1.000000,
> 1.000000, 1.000000>
>   parallel point_at < -0.422618, -1.428148, -0.906308 > fade_power 0}
> 
> }
> 
> The radiosity line keeps getting errored....what am I doing wrong?
Always COUNT your braces. Make sure that they are matched in a way that makes sence.
Your bracing is as follow: {{}{}light_source{}} whitch places your light INSIDE 
the global_settings block, whitch is not allowed, causing your error.
> 
> 
In radiosity scenes I usualy add this line:
default{finish{ambient 0 diffuse 1}}
This prevent objects from emiting light by themself.
Remember that any object with a finish different from zero will actualy emit 
light in a radiosity scene. It can cast darkness if the ambient is set to a 
negative value.
The ambient_light in global_settings is multiplied to the ambient value that you 
set in the finish of your objects. You don't need to alter ambient_light in the 
global_settings unless you want to globaly alter the colour of the ambient part 
of your finish. Setting it to zero, as some often propose, will dissable any 
ambient object you may want to use to illuminate your scene.

-- 
Alain
-------------------------------------------------
What happens if you get scared half to death twice?


Post a reply to this message

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