Hi all
I am trying to create an soapy bubble Shader in Houdini, i need some advise how and were to start with.
any comments and advise will be helpfull
thanks!
Iridescence Bubble Shader
11791 6 2- fernansha
- Member
- 12 posts
- Joined: March 2012
- Offline
- stabby
- Member
- 9 posts
- Joined: Nov. 2006
- Offline
If you want to physically model it, the phenomenon is called thin-film interference. There's tonnes of info and pseudocode if you google it.
These pdf's are pretty decent. The shading stuff is in part 2:
http://graphics.ucsd.edu/~iman/SoapBubbles/soap_bubbles_1.pdf [graphics.ucsd.edu]
http://graphics.ucsd.edu/~iman/SoapBubbles/soap_bubbles_2.pdf [graphics.ucsd.edu]
Be aware you have to calculate the interference for each frequency of light seperately. In the above pdf he chose to use 80 frequencies, which is massive overkill. It works just as well with 6, but just using R, G and B is not sufficient.
These pdf's are pretty decent. The shading stuff is in part 2:
http://graphics.ucsd.edu/~iman/SoapBubbles/soap_bubbles_1.pdf [graphics.ucsd.edu]
http://graphics.ucsd.edu/~iman/SoapBubbles/soap_bubbles_2.pdf [graphics.ucsd.edu]
Be aware you have to calculate the interference for each frequency of light seperately. In the above pdf he chose to use 80 frequencies, which is massive overkill. It works just as well with 6, but just using R, G and B is not sufficient.
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
Please try posting an image that fits the average browser ………
A simple google search yields lots of information http://www.sidefx.com/index.php?option=com_content&task=view&id=1240&Itemid=305 [sidefx.com]
Rob
A simple google search yields lots of information http://www.sidefx.com/index.php?option=com_content&task=view&id=1240&Itemid=305 [sidefx.com]
Rob
Gone fishing
- fernansha
- Member
- 12 posts
- Joined: March 2012
- Offline
- stabby
- Member
- 9 posts
- Joined: Nov. 2006
- Offline
- tamte
- Member
- 8622 posts
- Joined: July 2007
- Offline
also take a look at this thread http://forums.odforce.net/index.php?/topic/4788-coatings-iridescence/ [forums.odforce.net]
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- fernansha
- Member
- 12 posts
- Joined: March 2012
- Offline
-
- Quick Links