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 7 of 7 Topic 558 of 588
Post > Topic >>

Re: Refracted ray

by Hn <Hn@[EMAIL PROTECTED] > Dec 7, 2007 at 02:46 AM

Miles Bader wrote:
> 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.

The stack only works if the media don't intersect, and where there is a 
transition you have to model both outside faces, even if they occupy the 
same space. So at junction 2, you need ice polygons facing into the 
water, and water polygons facing the ice.
 




 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 Sat Nov 22 1:59:10 CST 2008.