Refractive material question
Refractive material question
Hey,
While working on material implementation, I'm wondering is there a physical material which would only refract light without reflecting it (like specular does)? I mean scenarios with IOR > 1. Any idea?
Thanks,
Note: This thread is reposted from Max Forum: http://www.indigorenderer.com/forum/vie ... f=9&t=9964
While working on material implementation, I'm wondering is there a physical material which would only refract light without reflecting it (like specular does)? I mean scenarios with IOR > 1. Any idea?
Thanks,
Note: This thread is reposted from Max Forum: http://www.indigorenderer.com/forum/vie ... f=9&t=9964
Re: Refractive material question
Not possible I think, in real life or Indigo 
Re: Refractive material question
Gasses?lycium wrote:in real life
Re: Refractive material question
Hmm, I suppose you could define a medium with scattering (reflection) coefficient zero.
Re: Refractive material question
And is (how is) it doable with Indigo?
Excuse my ignorance.
Regards,
Excuse my ignorance.
Regards,
Re: Refractive material question
Hmm, I suppose you define a medium with scattering_coefficient_spectrum as a uniform 0, and with the absorption_coefficient_spectrum as uniform 0 too.
Adapted from the Technical Ref Manual:
Once again I'm amazed at how onto it you are Godzilla
Adapted from the Technical Ref Manual:
Code: Select all
<medium>
<name>scattering_medium</name>
<ior>1.5</ior>
<cauchy_b_coeff>0.0</cauchy_b_coeff>
<absorption_coefficient_spectrum>
<uniform><value>0</value></uniform>
</absorption_coefficient_spectrum>
<subsurface_scattering>
<scattering_coefficient_spectrum>
<uniform><value>10</value></uniform>
</scattering_coefficient_spectrum>
<phase_function><uniform/></phase_function>
</subsurface_scattering>
</medium>
Once again I'm amazed at how onto it you are Godzilla
Re: Refractive material question
Thanks a lot, I'll give it a try.
Thanks,
Thanks,
Re: Refractive material question
Still, reflection rays won't be killed and would contribute to the scene ?
Agreed, it's not realistic. But in most (ideal) cases lenses are of interest only as light benders. They are not thought to be visible by themselves through (total internal) reflection. Killing reflection rays might justify the material, performances wise, and might allow for much more fun in ceilings.
It might add to Indigo
Indeed, it could just be an option to the existing specular material.
Agreed, it's not realistic. But in most (ideal) cases lenses are of interest only as light benders. They are not thought to be visible by themselves through (total internal) reflection. Killing reflection rays might justify the material, performances wise, and might allow for much more fun in ceilings.
It might add to Indigo
obsolete asset
Re: Refractive material question
Scattering will not prevent the reflection. Not working here...
Actually, this is physically not possible on a simple air/material interface. Refraction & reflection are part of the same phenomenon.
However, you can do it the following ways:
- By using a refractive index gradient, smoothly transitionning from air to material. This is what happens in mirages
- By using an antireflection coating on the material. This will not cancel totally reflection, but will reduce it somewhat.
Also not possible in Indigo. However, it's technically possible to implement this in unbiased renderers.
You can probably do an approximation of the index gradient, by making many parallel surfaces and applying them materials with progressive refractive index transition. However, this may takes ages to render.
Etienne
Actually, this is physically not possible on a simple air/material interface. Refraction & reflection are part of the same phenomenon.
However, you can do it the following ways:
- By using a refractive index gradient, smoothly transitionning from air to material. This is what happens in mirages
- By using an antireflection coating on the material. This will not cancel totally reflection, but will reduce it somewhat.
Also not possible in Indigo. However, it's technically possible to implement this in unbiased renderers.
You can probably do an approximation of the index gradient, by making many parallel surfaces and applying them materials with progressive refractive index transition. However, this may takes ages to render.
Etienne
Last edited by galinette on Mon Jul 19, 2010 9:36 am, edited 1 time in total.
Eclat-Digital Research
http://www.eclat-digital.com
http://www.eclat-digital.com
Re: Refractive material question
To lycium: I tried your solution, however with no luck, specular was still there and refraction rays got fuzzy (if you know what I mean) Thanks though.
To galinette: I agree with you. I guessed it's not physically possible (in normal conditions), I just wanted to hear it from someone else
Thanks.
To galinette: I agree with you. I guessed it's not physically possible (in normal conditions), I just wanted to hear it from someone else
Who is online
Users browsing this forum: No registered users and 6 guests


