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

Re: Refracted ray

by "mc" <mc_roam@[EMAIL PROTECTED] > Dec 5, 2007 at 04:45 PM

Thanks for the feedback Miles.  This makes for many assumptions as one
would 
have to, if object are moving, say an ice cube in the water, have dynamic 
materials for the glass:
   glass air
   glass water
   glass ice
depending on where a ray is.
Today I use a list of medium being traversed but I can't seem to be able
to 
exit a material directly into another one..

- MC



"Miles Bader" <miles@[EMAIL PROTECTED]
> wrote in message 
news:87lk88wwil.fsf@[EMAIL PROTECTED]
> "mc" <mc_roam@[EMAIL PROTECTED]
> writes:
>> a) in an empty glass, when the ray enters the glass we've got "air to 
>> glass"
>> then when it exists "glass to air"
>>
>> b) in an half-full glass, the bottom half would be "air to glass" then
>> "glass to water" while the upper halg would be "air to glass" then
"glass 
>> to
>> air"
>>
>> Any way to work that problem out?
>
> I don't have any great elegant solution, but one way is simply to allow
> transparent surfaces to have two indices of refraction, one for the
> "frontside" and one for the "backside".  Often the "frontside" IOR would
> be 1 of course (or some special value indicating "default", in case you
> want to handle embedded objects more flexibly)..
>
> With such a representation, you'd need to use different materials for
> the part of the glass surface comprising the glass-liquid interface than
> for the part comprising the glass-air interface, but this doesn't seem
> too hard in many cases.
>
> -Miles
>
> -- 
> "Suppose we've chosen the wrong god. Every time we go to church we're
> just making him madder and madder." -- Homer Simpson
 




 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:18:28 CST 2008.