Rainbow

   5832   4   0
User Avatar
Member
170 posts
Joined: July 2005
Offline
Hi everybody.
I'm trying to get a picture of rainbow by projecting a ray of light on
to surface of a sphere that has a Water shader applied to it.
I put both, light and a camera at a sertain angle, hit render…
in rendered picture I can only see specular highlights which are
the resault of reflection and no indication of refraction of light.
No rainbow. :?
Help!
The Things I Do For Love!
User Avatar
Member
170 posts
Joined: July 2005
Offline
BTW. This raises a question.
How is light treated in Houdini wavelengthwise?
Are R, G and B have different wavelengths? Is there a parameter like that?
The Things I Do For Love!
User Avatar
Member
1631 posts
Joined: July 2005
Offline
Stremik
Hi everybody.
I'm trying to get a picture of rainbow by projecting a ray of light on
to surface of a sphere that has a Water shader applied to it.
I put both, light and a camera at a sertain angle, hit render…
in rendered picture I can only see specular highlights which are
the resault of reflection and no indication of refraction of light.
No rainbow. :?
Help!
Hi Stremik,

I believe you're using either the VEX Super Material or VEX Layered Surface shader. Both shaders' refraction parameter is not working properly. I would suggest you use the VEX Glass shader for now.

Cheers!
steven
User Avatar
Member
1631 posts
Joined: July 2005
Offline
Stremik
BTW. This raises a question.
How is light treated in Houdini wavelengthwise?
Are R, G and B have different wavelengths? Is there a parameter like that?
Hi Stremik,

I believe the Transmission Color/Transmit parameter is what you're looking for. It is not exactly wavelength but setting the Transmit Color to 1,0,0 will only allow red to pass through.

I hope the above helps!

Cheers!
steven
User Avatar
Member
170 posts
Joined: July 2005
Offline
Say, what about speed? I belive Red Green and Blue travel at slightly different speeds which resaults in all three being reflected inside the drop of water at slightly different angles.Or am I confusing it with wavelength?
Hmmm. I will probably need three different cameras ah?
The Things I Do For Love!
  • Quick Links