# refraction under .25?

**URL:** <https://blenderartists.org/t/refraction-under-25/559158>\
**Category:** Lighting and Rendering\
**Created:** [December 10, 2012, 5:36pm UTC](https://blenderartists.org/t/refraction-under-25/559158 "2012-12-10T17:36:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![BluePrintRandom](https://blenderartists.org/user_avatar/blenderartists.org/blueprintrandom/32/598195_2.png) [@BluePrintRandom](https://blenderartists.org/u/BluePrintRandom)\
**Post date:** [December 10, 2012, 5:36pm UTC](https://blenderartists.org/t/refraction-under-25/559158/1 "2012-12-10T17:36:18Z")

</div>

why no negitive or close to zero refraction?

help?

I have some ideas I need to model, that involve thermal distortion, as well as modeling a shockwave,

🙂

---

<div class="post-metadata">

**Author:** ![J\_the\_Ninja](https://blenderartists.org/user_avatar/blenderartists.org/j_the_ninja/32/486584_2.png) [@J\_the\_Ninja](https://blenderartists.org/u/J_the_Ninja)\
**Post date:** [December 11, 2012, 10:07am UTC](https://blenderartists.org/t/refraction-under-25/559158/2 "2012-12-11T10:07:51Z")

</div>

1.0 is no refraction, not 0. Negative refraction is whole different can of worms:

> **[Negative-index metamaterial](https://en.wikipedia.org/wiki/Negative_index_metamaterials)**
>
> Negative-index metamaterial or negative-index material (NIM) is a metamaterial whose refractive index for an electromagnetic wave has a negative value over some frequency range. NIMs are constructed of periodic basic parts called unit cells, which are usually significantly smaller than the wavelength of the externally applied electromagnetic radiation. The unit cells of the first experimentally investigated NIMs were constructed from circuit board material, or in other words, wires and dielectric...

  
[http://www.luxrender.net/forum/viewtopic.php?f=36&t=6887](http://www.luxrender.net/forum/viewtopic.php?f=36&t=6887)

---

<div class="post-metadata">

**Author:** ![BluePrintRandom](https://blenderartists.org/user_avatar/blenderartists.org/blueprintrandom/32/598195_2.png) [@BluePrintRandom](https://blenderartists.org/u/BluePrintRandom)\
**Post date:** [December 11, 2012, 2:37pm UTC](https://blenderartists.org/t/refraction-under-25/559158/3 "2012-12-11T14:37:11Z")

</div>

Well, I know that the atmosphere barley bends light with temp/pressure diffrence, so, to achieve this I need a refraction closer to like .05,

---

<div class="post-metadata">

**Author:** ![arexma](https://blenderartists.org/user_avatar/blenderartists.org/arexma/32/8278_2.png) [@arexma](https://blenderartists.org/u/arexma)\
**Post date:** [December 11, 2012, 3:19pm UTC](https://blenderartists.org/t/refraction-under-25/559158/4 "2012-12-11T15:19:58Z")

</div>

> [@BluePrintRandom](#):
>
> Well, I know that the atmosphere barley bends light with temp/pressure diffrence, so, to achieve this I need a refraction closer to like .05,

I doubt that you need .05, a perfect vacuum is considered to have an IOR of 1.0 and doesn’t bend light at all.  
What people commonly call “air” has an IOR of 1,000292

But J already said that.

---

<div class="post-metadata">

**Author:** ![BluePrintRandom](https://blenderartists.org/user_avatar/blenderartists.org/blueprintrandom/32/598195_2.png) [@BluePrintRandom](https://blenderartists.org/u/BluePrintRandom)\
**Post date:** [December 11, 2012, 4:45pm UTC](https://blenderartists.org/t/refraction-under-25/559158/5 "2012-12-11T16:45:07Z")

</div>

I see, I was thinking that the refraction was too high, when it was to low, I have some stuff to test, thank you 🙂  
I am still learning, and don’t fully understand ray-tracing yet I guess

---

<div class="post-metadata">

**Author:** ![arexma](https://blenderartists.org/user_avatar/blenderartists.org/arexma/32/8278_2.png) [@arexma](https://blenderartists.org/u/arexma)\
**Post date:** [December 12, 2012, 12:27am UTC](https://blenderartists.org/t/refraction-under-25/559158/6 "2012-12-12T00:27:04Z")

</div>

> [@BluePrintRandom](#):
>
> I am still learning, and don’t fully understand ray-tracing yet I guess

You should brush up on physics 🙂 That issue is simply optics and a ray-trace is a simulation of that.

---

<div class="post-metadata">

**Author:** ![BluePrintRandom](https://blenderartists.org/user_avatar/blenderartists.org/blueprintrandom/32/598195_2.png) [@BluePrintRandom](https://blenderartists.org/u/BluePrintRandom)\
**Post date:** [December 12, 2012, 1:05am UTC](https://blenderartists.org/t/refraction-under-25/559158/7 "2012-12-12T01:05:35Z")

</div>

I know greater the change in density, the greater the diffraction, and the greater the energy the more a wave is bent, but i have not studied refraction beyond that, o and angle of Incidence=angle or reflection…

---

<div class="post-metadata">

**Author:** ![ajm](https://blenderartists.org/user_avatar/blenderartists.org/ajm/32/606413_2.png) [@ajm](https://blenderartists.org/u/ajm)\
**Post date:** [December 13, 2012, 8:15pm UTC](https://blenderartists.org/t/refraction-under-25/559158/8 "2012-12-13T20:15:06Z")

</div>

Actually it is the greater the density the greater the refraction, or deviation from the surface normal dependent upon the incidence angle of the incoming ray, and the more energy a ray has the less it will bend, thus the reason why x-rays (as well as gamma rays) cannot be “lensed”, at least through a material. Diffraction is the separation of light into it’s constituent parts, like an acrylic prism separating white light into the familiar ROYGBIV spectrum.

---

<div class="post-metadata">

**Author:** ![J\_the\_Ninja](https://blenderartists.org/user_avatar/blenderartists.org/j_the_ninja/32/486584_2.png) [@J\_the\_Ninja](https://blenderartists.org/u/J_the_Ninja)\
**Post date:** [December 13, 2012, 8:43pm UTC](https://blenderartists.org/t/refraction-under-25/559158/9 "2012-12-13T20:43:05Z")

</div>

> [@ajm](#):
>
> Diffraction is the separation of light into it’s constituent parts, like an acrylic prism separating white light into the familiar ROYGBIV spectrum.

That’s dispersion. Diffraction is a wave effect that is generally not simulated directly in raytracing. See:

> **[Diffraction](https://en.wikipedia.org/wiki/Diffraction)**
>
> Diffraction is the interference or bending of waves around the corners of an obstacle or through an aperture into the region of geometrical shadow of the obstacle/aperture. The diffracting object or aperture effectively becomes a secondary source of the propagating wave. Italian scientist Francesco Maria Grimaldi coined the word diffraction and was the first to record accurate observations of the phenomenon in 1660.
> In classical physics, the diffraction phenomenon is described by the Huygens–F...

> **[Dispersion (optics)](https://en.wikipedia.org/wiki/Dispersion_(optics))**
>
> In optics and in wave propagation in general, dispersion is the phenomenon in which the phase velocity of a wave depends on its frequency; sometimes the term chromatic dispersion is used for specificity to optics in particular.
> A medium having this common property may be termed a dispersive medium (plural dispersive media).
> Although the term is used in the field of optics to describe light and other electromagnetic waves, dispersion in the same sense can apply to any sort of wave motion such as ...

---

<div class="post-metadata">

**Author:** ![arexma](https://blenderartists.org/user_avatar/blenderartists.org/arexma/32/8278_2.png) [@arexma](https://blenderartists.org/u/arexma)\
**Post date:** [December 14, 2012, 4:27am UTC](https://blenderartists.org/t/refraction-under-25/559158/10 "2012-12-14T04:27:14Z")

</div>

> [@ajm](#):
>
> Actually it is the greater the density the greater the refraction…

Nope.  
Like BPR said, it’s the greater the change in density.  
The IOR depends on the optical density of a material alright.  
The refraction on the other hand depends on the density of the materials between it migrates.

The IOR is defined only by the density, but by the optical density.

The IOR:  
It is the relation of the speed light travels in vacuum to the speed it travels in the medium.  
IOR = c\_vaccumm / c\_medium

The refraction:  
IOR\_m1 \* sin (incoming\_angle) = IOR\_m2 \* sin (outgoing\_angle)

If you have a refraction between Glass and Ruby you’ll have 1.45 against 1.76. There’ll be not much refraction.  
If you have air against ruby you got ~1.0 vs. 1.76. There’ll be a lot of refraction.

All dispersion and physical optics aside.  
Most render engines use geometrical optics anyways.
