POV-Ray : Newsgroups : povray.general : Interior inside interior: good idea? Server Time
26 Nov 2024 22:41:48 EST (-0500)
  Interior inside interior: good idea? (Message 1 to 4 of 4)  
From: SharkD
Subject: Interior inside interior: good idea?
Date: 4 Sep 2009 06:10:08
Message: <4aa0e780@news.povray.org>
Is it OK to have two nested objects, each having its own interior (such 
as clouds within an atmosphere)? What happens when this is the case?

-Mike


Post a reply to this message

From: clipka
Subject: Re: Interior inside interior: good idea?
Date: 4 Sep 2009 07:08:11
Message: <4aa0f51b$1@news.povray.org>
SharkD schrieb:
> Is it OK to have two nested objects, each having its own interior (such 
> as clouds within an atmosphere)? What happens when this is the case?

In theory the interiors should "add", just as if you had a single object 
with multiple "media" statements.

In practice, I can't make proper sense of POV-Ray's behavior with 
non-trivial or even nested container shapes.


Post a reply to this message

From: SharkD
Subject: Re: Interior inside interior: good idea?
Date: 4 Sep 2009 21:06:25
Message: <4aa1b991$1@news.povray.org>
clipka wrote:
> In theory the interiors should "add", just as if you had a single object 
> with multiple "media" statements.
> 
> In practice, I can't make proper sense of POV-Ray's behavior with 
> non-trivial or even nested container shapes.

Any tips on how to apply both media to the same object? One object 
currently lies inside the other.

-Mike


Post a reply to this message

From: Alain
Subject: Re: Interior inside interior: good idea?
Date: 5 Sep 2009 18:34:55
Message: <4aa2e78f$1@news.povray.org>
SharkD a écrit :
> Is it OK to have two nested objects, each having its own interior (such 
> as clouds within an atmosphere)? What happens when this is the case?
> 
> -Mike

Normaly, it's OK.

You should take some cares.

1 - The various objects must NOT cross each others.
2 - The largest object, if it contains any media, that media should be 
very faint. Idealy, NO media in the outer object is beter. Also, if most 
of the media is before OR after the inset object, the possibility of 
artefacts is minimised.
If you have a notable media in the largest object, you are likely to get 
artefacts showing where the smaler objects are located. It usualy looks 
like the media from the outside object gets denser where the smaller 
object is located. This can be hiden in some cases.
Unless you are using v3.7, you must increase max_trace_level.

There are no problem conserning ior. The difraction is just computed 
acording to the difference of the iors.
You *must* increase max_trace_level with any version if you have any ior 
or reflection.




Alain


Post a reply to this message

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