Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Raytracing rendering software > Re: Refracted r...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 7 Topic 558 of 588
Post > Topic >>

Re: Refracted ray

by Miles Bader <miles.bader@[EMAIL PROTECTED] > Dec 6, 2007 at 01:42 PM

Miles Bader <miles.bader@[EMAIL PROTECTED]
> writes:
>                               R
>                              /
>       ---+       +----------4-+        +---
>          |       |    I    /  |        |
>          +-------+--------3---+--------+
>           \      |       /    |       /
>           |      +------2-----+       |
>           |            /              |
>           |          W/               |
>            \         /               /
>            +--------1----------------+
>                    /
>               G   .
>                  .
>          -------0-----------------------

Hmm now that I think about it, the problem with that this is that it
gives different depending on what direction you come from...

Maybe if each material had a priority associated with it, and it would
essentially ignore "enter" transitions for puproses of setting the
current IOR, when entering a material with a priority less than the
current priority.  So in this example you'd give the ice-cube higher
priority than the water.  If you think about a ray going the opposite
direction from the previous example, any transition from I->W without
exiting the I first would act like it was still in the I; then when I
was eventually exited, W would be the innermost active medium, and so
_then_ would become current.

-Miles

-- 
..Numeric stability is probably not all that im****tant when you're
guessing.
 




 7 Posts in Topic:
Refracted ray
"mc" <mc_roa  2007-12-05 18:15:24 
Re: Refracted ray
Miles Bader <miles@[EM  2007-12-06 08:29:38 
Re: Refracted ray
"mc" <mc_roa  2007-12-05 16:45:41 
Re: Refracted ray
Hn <Hn@[EMAIL PROTECTE  2007-12-06 03:10:35 
Re: Refracted ray
Miles Bader <miles.bad  2007-12-06 13:31:01 
Re: Refracted ray
Miles Bader <miles.bad  2007-12-06 13:42:06 
Re: Refracted ray
Hn <Hn@[EMAIL PROTECTE  2007-12-07 02:46:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 19:09:53 CST 2008.