POV-Ray : Newsgroups : povray.binaries.animations : Transparency Problems Server Time
2 Nov 2024 05:21:20 EDT (-0400)
  Transparency Problems (Message 1 to 3 of 3)  
From: Tony LaVigne
Subject: Transparency Problems
Date: 2 Oct 2002 17:55:04
Message: <web.3d9b69d732e669c088d4e3910@news.povray.org>
Hello,
I have been unable to get by a transparency problem.
I've sited two movies the 1st being,
http://xenomechanics.com/pics/shelf_good.mpg  (377 kB)
which was generated from 20 frames.  The books in the movie start in the 1st
frame with a transparency = 0.0 max_trace_level  =5, and end with
transparency =1.0  max_trace_level =14. As you'll see there are white
shadow where the books were almost like they had an index of  refraction
(ior) not equal to air. Originally I had the black shadow problem where it
was supposed to be transparent and I think I fixed that by gradually
increasing the max_trace_level  to 14  (which was costly, last one
rendering at 14 hours).
The books are enclosed in a macro, and object and a mesh2.   The code is
lengthily and I've tried to enclose what seems relevant.
.....// clock = t9
global_settings { charset utf8
           max_trace_level int((clock-t8)/(t9-t8)*9 +5)    }...
#declare ambient1 = .1;
#declare diffuse1 =.6 ;
#declare reflection1 = .3;
#declare phong1 = .9;
#declare phongS1 = 60; ...
#macro
bookMacro(scaleVect,transVect,rotateVect,colorVect,bt,ambient1,diffuse1,reflection1,phong1,phongS1)...
#declare bPong = .5;...
 object{ mesh2 {...
 texture_list { 2,texture {     pigment { color rgbt
<colorVect.x,colorVect.y,colorVect.z,(   (clock-t8)/(t9-t8)    )>  }
                    finish { ambient ambient1 diffuse diffuse1 reflection
reflection1 phong bPong phong_size phongS1}}...

The 2nd movie is
http://xenomechanics.com/pics/shelf_trans.mpg  (213 kB)
This is only an example of what I would of expected it to turn out like.
This has 21 frames, only the 1st and last were rendered.  The other frames
are interpolated with a MATLAB script.  But cheating is very limiting in
that nothing else can be going on in the ie. moving the camera.
 Thanks for any help available,
Tony
ton### [at] xenomechanicscom


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Transparency Problems
Date: 2 Oct 2002 18:09:31
Message: <3d9b6e9b$1@news.povray.org>
In article <web.3d9b69d732e669c088d4e3910@news.povray.org>, 
ton### [at] xenomechanicscom says...

> transparency =1.0  max_trace_level =14. As you'll see there are white
> shadow where the books were almost like they had an index of  refraction
> (ior) not equal to air.

Probably because of the finish.
The objects become transparent, but they will still reflect and have 
highlights!

Lutz-Peter


Post a reply to this message

From: Tony LaVigne
Subject: Re: Transparency Problems
Date: 3 Oct 2002 01:50:03
Message: <web.3d9bda11bf7f4f6188d4e3910@news.povray.org>
Lutz-Peter Hooge wrote:
>In article <web.3d9b69d732e669c088d4e3910[at]news.povray.org>,
>ton### [at] xenomechanicscom says...
>
>> transparency =1.0  max_trace_level =14. As you'll see there are white
>> shadow where the books were almost like they had an index of  refraction
>> (ior) not equal to air.
>
>Probably because of the finish.
>The objects become transparent, but they will still reflect and have
>highlights!
>
>Lutz-Peter
>

That would explain alot.
I'll look into it.
Thanks
Tony

ton### [at] xenomechanicscom


Post a reply to this message

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