POV-Ray : Newsgroups : povray.binaries.images : "Physics" test and photons question Server Time
4 Nov 2024 13:57:36 EST (-0500)
  "Physics" test and photons question (Message 1 to 9 of 9)  
From: Warp
Subject: "Physics" test and photons question
Date: 31 Jul 2000 11:36:53
Message: <39859d14@news.povray.org>
Everyone knows the phenomenon that happens when you put a stick into
water how it looks like it bends. Well, I made it in povray to see how
does it do it:


Post a reply to this message


Attachments:
Download 'test.jpg' (34 KB) Download 'test2.jpg' (20 KB)

Preview of image 'test.jpg'
test.jpg

Preview of image 'test2.jpg'
test2.jpg


 

From: Warp
Subject: Re: "Physics" test and photons question
Date: 31 Jul 2000 11:38:18
Message: <39859d6a@news.povray.org>
(Btw. the bowl is an isosurface)

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Bob Hughes
Subject: Re: "Physics" test and photons question
Date: 31 Jul 2000 12:19:00
Message: <3985a6f4@news.povray.org>
|   This should be physically correct except for the shadow in the water
| (since the light rays do not bend when calculating shadows).
|   So I tried using photon mapping to get the physically correct shadows.
| But as you can see, the stick is shadowed. Why?

The highlighting inside the bowl is also dimmed.  I'd think it were
'ignore_photons' being used but I don't see why the highlight would be
affected anyway.

Bob


Post a reply to this message

From: GrimDude
Subject: Re: "Physics" test and photons question
Date: 3 Aug 2000 05:16:37
Message: <39893875@news.povray.org>
I would like to see how you defined the liquid, before answering... :)

Grim


Post a reply to this message

From: Warp
Subject: Re: "Physics" test and photons question
Date: 4 Aug 2000 07:14:08
Message: <398aa57f@news.povray.org>
GrimDude <vos### [at] yahoocom> wrote:
: I would like to see how you defined the liquid, before answering... :)

  pigment { rgbf <1,1,1,.95> }
  finish { reflection .2 specular .5 roughness .02 }
  interior { ior 1.33 }
  photons { target refraction on }

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: GrimDude
Subject: Re: "Physics" test and photons question
Date: 9 Aug 2000 05:14:16
Message: <399120e8@news.povray.org>
Well, too much time went by before your reply. I have to ask why you used
rgbf rather then rgbt, but otherwise I have forgotten the question? :D

Sorry. :)

Grim


Post a reply to this message

From: Warp
Subject: Re: "Physics" test and photons question
Date: 9 Aug 2000 06:26:31
Message: <399131d6@news.povray.org>
GrimDude <vos### [at] yahoocom> wrote:
: Well, too much time went by before your reply. I have to ask why you used
: rgbf rather then rgbt, but otherwise I have forgotten the question? :D

  Water filters light. Just think about colored water.

  Why the stick is shadowed using photons? It doesn't look right.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Fabian BRAU
Subject: Re: "Physics" test and photons question
Date: 9 Aug 2000 07:48:51
Message: <39914513.310949F3@umh.ac.be>
You should make 4 test to see
1) try rgbt instead of rgbf
2) try reflection on for water
3 et 4 combination of the two above.

But I don't hope this could work.

Please keep us inform about your result!

Thanks.


> 
> GrimDude <vos### [at] yahoocom> wrote:
> : Well, too much time went by before your reply. I have to ask why you used
> : rgbf rather then rgbt, but otherwise I have forgotten the question? :D
> 
>   Water filters light. Just think about colored water.
> 
>   Why the stick is shadowed using photons? It doesn't look right.
> 
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: GrimDude
Subject: Re: "Physics" test and photons question
Date: 9 Aug 2000 14:04:22
Message: <39919d26@news.povray.org>
Ah, yes, I smelled the filter when I first saw the images, but wanted to be
sure. I very seldom use filter anymore. It has it's uses, but usually messes
up my work, so I avoid it.

True, colored liquid should modify the outcome a tad, but water is clear
(usually). It appears blue because it is reflecting sky, I think? That's the
only way I can get water to look like water in my scenes, anyway. By adding
sky, and often times a height_field too, I get good results (seldom great,
but I am a dweeb).

I would like to see the end results of your efforts here, though.

KOT,
Grim


Post a reply to this message

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