POV-Ray : Newsgroups : povray.newusers : refraction with multiple transparent objects behind eachother Server Time
29 Jul 2024 04:22:41 EDT (-0400)
  refraction with multiple transparent objects behind eachother (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Warp
Subject: Re: refraction with multiple transparent objects behind eachother
Date: 20 Apr 2007 03:26:45
Message: <46286b35@news.povray.org>
Shai <rec### [at] hotmailcom> wrote:
> I only want the ray to refract when it enters the object. The ray should not
> be refracted again when it leaves the object through the back side. I didn't
> know how to get this effect in POVray, so I thought it would be best if I
> just removed the back of the object myself.

  So POV-Ray is thus behaving exactly like you wanted. What is, then, your
problem?

-- 
                                                          - Warp


Post a reply to this message

From: Shai
Subject: Re: refraction with multiple transparent objects behind eachother
Date: 20 Apr 2007 07:05:02
Message: <web.46289d87e12fc74b694f24b00@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
> Shai nous apporta ses lumieres en ce 19-04-2007 16:48:
> >>   Given that the mesh is transparent how could you expect it to work
> >> correctly if parts of the surface have been removed?
> >> --
> >>                                                           - Warp
>
> > I only want the ray to refract when it enters the object. The ray should not
> > be refracted again when it leaves the object through the back side. I didn't
> > know how to get this effect in POVray, so I thought it would be best if I
> > just removed the back of the object myself.
>
> OK, but that is completely unrealistic and contrary to comon sence.
>
> --
> Alain
> -------------------------------------------------
> I abhor war and view it as the greatest scourge of mankind.
> Thomas Jefferson

I know, but I'm not going for realism here :)

Nevertheless, is there any way to achieve this effect without me having to
remove the back of the object?


Post a reply to this message

From: Alain
Subject: Re: refraction with multiple transparent objects behind eachother
Date: 20 Apr 2007 08:32:34
Message: <4628b2e2$1@news.povray.org>
Shai nous apporta ses lumieres en ce 20-04-2007 07:01:
> Alain <ele### [at] netscapenet> wrote:
>> Shai nous apporta ses lumieres en ce 19-04-2007 16:48:
>>>>   Given that the mesh is transparent how could you expect it to work
>>>> correctly if parts of the surface have been removed?
>>>> --
>>>>                                                           - Warp
>>> I only want the ray to refract when it enters the object. The ray should not
>>> be refracted again when it leaves the object through the back side. I didn't
>>> know how to get this effect in POVray, so I thought it would be best if I
>>> just removed the back of the object myself.
>> OK, but that is completely unrealistic and contrary to comon sence.

>> --
>> Alain
>> -------------------------------------------------
>> I abhor war and view it as the greatest scourge of mankind.
>> Thomas Jefferson

> I know, but I'm not going for realism here :)

> Nevertheless, is there any way to achieve this effect without me having to
> remove the back of the object?


You can replace it with a flat surface. There will be a refraction, but it will 
be uniform. It may be the best compromise available to you.
For that, you can rework your removal tool into a replacing one, or you can 
difference the mesh with a plane. For that last one, the mesh must be completely 
closed and every faces must be correctly oriented, the inside vectors all toward 
the actual inside of the mesh.

-- 
Alain
-------------------------------------------------
Commercialism: Let's package this shit.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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