by Hn <Hn@[EMAIL PROTECTED]
>
Dec 6, 2007 at 03:10 AM
mc wrote:
> 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..
Can you use a stack? Push the old IOR's as you enter a new medium (from
the 'front' ), then pop them back when you exit a medium (from the back)