refraction of light in DS

BlazeMystEraBlazeMystEra Posts: 464
edited December 1969 in The Commons

Hi there,

a friend of mine - who very versed in english - tried to render a scene using a prism with wich she wanted to create a refraction of light. (you know... kind of like the cover of 'dark side of the moon'). It didn't work though and as I don't know if this is possible (and if it is, how to do it)... I'm asking you.

Is there a way to refract light in DS using a prism or some trick or some script... or... a totally standard setting?

Thanks in advance :)

Comments

  • SlimerJSpudSlimerJSpud Posts: 1,453
    edited December 1969

    You can do refraction, but splitting white light into a rainbow? I don't think so. If you take a solid shape and set the opacity near 0, and the refractive index >1, you do get refraction effects. I bet Luxrender will do rainbows.

    refraction-test009.jpg
    1024 x 768 - 306K
  • Coon RaCoon Ra Posts: 200
    edited December 1969

    So far I managed to render refractions in Modo, Octane and Thea Render. In Thea it was possible to get colored rays of light rendered (http://www.thearender.com/cms/index.php/resources/studio-scenes.html - first scene) and I recreated this effect for my scene but the render time was awfully huge due to used Thea unbiased cpu engine. I'm sure, 3delight itself can render refractions. But I have no idea how it is carried out in DS.

  • Richard HaseltineRichard Haseltine Posts: 102,865
    edited December 1969

    You can get caustics in DS, via Shader Mixer, but I don't think you can split the light into its component colours. I don't know if you could fake it by using a mix of multiple coloured lights instead of a true white light, but even if you could I suspect the render would be incredibly slow.

  • BlazeMystEraBlazeMystEra Posts: 464
    edited November 2013

    Thank you all for your answers (like your choice of background, slimer ^^)

    So no rainbows with DS, at least not without cheating or having a bit on the side. It's good then, that she's not married to DS ;)

    Post edited by BlazeMystEra on
  • cwichuracwichura Posts: 1,042
    edited December 1969

    I bet Luxrender will do rainbows.

    Lux will do it if you build the geometry correctly for Lux volumes, use the glass2 material with dispersion enabled (slows the render down a lot) and have a suitably complex Fresnel texture specified (e.g., Cauchy coefficients not just base IOR). Somewhere on the Lux forums is a thread with images rendered in Lux doing the prismatic light split.
  • BlazeMystEraBlazeMystEra Posts: 464
    edited December 1969

    Thank you cwichura, I'll pass that on to my friend.

Sign In or Register to comment.