POV-Ray : Newsgroups : povray.binaries.images : Sea WIP: advices about media are welcome! Server Time
17 Nov 2024 00:15:54 EST (-0500)
  Sea WIP: advices about media are welcome! (Message 1 to 6 of 6)  
From: chaps
Subject: Sea WIP: advices about media are welcome!
Date: 24 Oct 2002 13:39:25
Message: <3db8304d@news.povray.org>
In this picture, I included my jelly fish model in a previous sea scene. And
it seems that the jelly fish media disappeared.

Sea is a simple clear hollow box, including interior with IOR set to 1.31
and an absobtion media.

Jellyfish are ISO CSG hollow objects, including interior definition with IOR
set to 1.31*1.05 plus scattering and emission media. It works when the jelly
fish is rendered alone (in this case no external box, and internal IOR set
to 1.05).

What is wrong in this description?
Does the jelly fish IOR works in the same way than a 1.05 IOR in the air?

Another question to pov gurus. The time to render this picture was so slow
that I have had to stop and continue rendering several time. Unfortunatly -
or fortunatly ? - I made a modification in the source witch changed the
position of the fish school. So I stored the result in a backup file and
rerender the part of the image tht was wrong: same settings, same machine.
What is strange is that the rendering speed went from 3 to 4 pixels per
second to 250 for the same part of the screen! My PC has few DRAM (128 meg)
for both POV and XP, is it the explanation? I don't understand why in that
case the memory need is decreasing, but if it is correct, it may be a way to
speed up rendering. Does it works with photons?

Chaps.


Post a reply to this message


Attachments:
Download 'fish3.jpg' (84 KB)

Preview of image 'fish3.jpg'
fish3.jpg


 

From: Simon Adameit
Subject: Re: Sea WIP: advices about media are welcome!
Date: 24 Oct 2002 13:45:33
Message: <3db831bd$1@news.povray.org>
chaps wrote:
> In this picture, I included my jelly fish model in a previous sea scene. And
> it seems that the jelly fish media disappeared.
> 
Stupid question but are you sure that your water is hollow?


Post a reply to this message

From: chaps
Subject: Re: Sea WIP: advices about media are welcome!
Date: 24 Oct 2002 13:57:37
Message: <3db83491$1@news.povray.org>
I have checked the code, it's hollow - the box, not the code :o)

Chaps

"Simon Adameit" <gom### [at] gmxde> wrote in message
news:3db831bd$1@news.povray.org...
> chaps wrote:
> > In this picture, I included my jelly fish model in a previous sea scene.
And
> > it seems that the jelly fish media disappeared.
> >
> Stupid question but are you sure that your water is hollow?
>


Post a reply to this message

From:
Subject: Re: Sea WIP: advices about media are welcome!
Date: 24 Oct 2002 14:33:34
Message: <3db83cfe$1@news.povray.org>
"chaps" <cha### [at] yahoocom> wrote in message
news:3db8304d@news.povray.org...
> Does the jelly fish IOR works in the same way than a 1.05 IOR in the
air?

Your jellyfish looks like it's made of glass! :)


Post a reply to this message

From: chaps
Subject: Re: Sea WIP: advices about media are welcome!
Date: 24 Oct 2002 14:54:50
Message: <3db841fa@news.povray.org>
You're right, when redered alone it looks like this.

Chaps.


Post a reply to this message


Attachments:
Download 'meduse3.jpg' (24 KB)

Preview of image 'meduse3.jpg'
meduse3.jpg


 

From: Philippe Debar
Subject: Re: Sea WIP: advices about media are welcome!
Date: 24 Oct 2002 14:57:25
Message: <3db84295$1@news.povray.org>
"chaps" <cha### [at] yahoocom> wrote in message
news:3db8304d@news.povray.org...
> In this picture, I included my jelly fish model in a previous sea scene.
And
> it seems that the jelly fish media disappeared.
>
> Sea is a simple clear hollow box, including interior with IOR set to 1.31
> and an absobtion media.

Hollow object with media in a hollow object with media means the inner
object gets both medias inside.

See hollow2.pov in ./scenes/interior/media/

You can replace the third sphere with this code to clearly see the effect :

=== Begin sdl code ===
//
// Hollow, translucent sphere enclosed by media.
//

sphere {<29, 20, 0>, 25
 pigment { rgbt <1, 1, 1, 0.9> }
 finish {
  ambient 0.0
  diffuse 0.0
  phong 1.0
  phong_size 200
 }
 interior { ior 1.1 media{absorption 1 density{dents} }
 }
 hollow yes
}
=== End sdl code ===


The solution is to difference your sea object with an invisible clone of
your jellyfishes - beware of coincident surfaces...


I hope this helps.

Povingly,


Philippe


Post a reply to this message

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