|
![](/i/fill.gif) |
yoon nous apporta ses lumieres en ce 17/07/2006 12:05:
> At first, make a white ball and then make a red box, which is bigger than
> the ball, in front of the ball.
>
> If I use the command "filter" or "transmit", I could see the ball through
> the box.
>
> But the color of ball(white) seem to be redder and dimmer than its original
> because the light traverse through the red box.
>
> If I put more red boxes in front of the ball, I will not be able to see the
> ball because many boxes screen the light emitted from the white ball.
>
> How can I see the white ball even if there are many boxes between the ball
> and the camera?
>
> Thank you.
>
> JH
>
As you add transparent box, you need to trace through more and more surfaces.
The maximum number of surfaces you can pass is set by max_trace_level, it's
default value is 5. So, with 3 box you get 2 levels for each box (front and back
face) and 1 for the sphere, making a total of 7. You thus need to set
max_trace_level 7 to be able to see the sphere, otherwize, you see black.
Add:
global_settings{ max_trace_level TraceValue} to your scene. Adjust TraceValue so
that your transparency is completely restored. The global_settings{} block can
be about anywhere in the scene, but is usualy placed near the beggining.
--
Alain
-------------------------------------------------
Post a reply to this message
|
![](/i/fill.gif) |