styrofoam / converting from Vray material
styrofoam / converting from Vray material
Hi all !
I've trying to render some styrofoam pieces, and I can't make up a decent styrofoam material.
#1 - from scratch
As I understand it, SF is merely a textured and somewhat translucent plastic, so I would go for a textured-bumped (or displaced) phong mat (IOR = 1.59 according to wikipedia) and I would add some translucency or SSS...
... but all my attempts don't come even close ! Does anyone see where I'm wrong ?
#2 - converting a Vray material
I've found a pretty good looking Vray material, and I wonder if there is a way to convert it into indigo material...
I've seen some converting scripts that run into 3dMax to convert 3dmax materials <--> Vray materials, but I can't find anything similar for indigo... It must be doable since Maxigo can load Vray materials !
Anyone has reached a solution to this issue ?
I've trying to render some styrofoam pieces, and I can't make up a decent styrofoam material.
#1 - from scratch
As I understand it, SF is merely a textured and somewhat translucent plastic, so I would go for a textured-bumped (or displaced) phong mat (IOR = 1.59 according to wikipedia) and I would add some translucency or SSS...
... but all my attempts don't come even close ! Does anyone see where I'm wrong ?
#2 - converting a Vray material
I've found a pretty good looking Vray material, and I wonder if there is a way to convert it into indigo material...
I've seen some converting scripts that run into 3dMax to convert 3dmax materials <--> Vray materials, but I can't find anything similar for indigo... It must be doable since Maxigo can load Vray materials !
Anyone has reached a solution to this issue ?
Re: styrofoam / converting from Vray material
Use a constant (RGB) albedo to start with, the shades on the material are not realistic. The right bump value would be an extremely subtle one.
obsolete asset
Re: styrofoam / converting from Vray material
The 1.59 IOR is for plain dense polystyren
But as a foam this makes things somewhat more complex.
I would try much lower effective IOR as a start, with low exponent, and a very subtle bump (around 1E-4 scale)
Etienne
But as a foam this makes things somewhat more complex.
I would try much lower effective IOR as a start, with low exponent, and a very subtle bump (around 1E-4 scale)
Etienne
Eclat-Digital Research
http://www.eclat-digital.com
http://www.eclat-digital.com
Re: styrofoam / converting from Vray material
I did a simple one here:
http://www.indigorenderer.com/materials/materials/1113
Not easy to do with SSS, as this the surface is very diffuse.
http://www.indigorenderer.com/materials/materials/1113
Not easy to do with SSS, as this the surface is very diffuse.
Eclat-Digital Research
http://www.eclat-digital.com
http://www.eclat-digital.com
-
- Posts: 1828
- Joined: Mon Sep 04, 2006 3:33 pm
Re: styrofoam / converting from Vray material
That pretty well nails it! I was going to suggest: it looks like it's all in the bump. No obvious SSS in the Vray shader, not to my eye, anyway. The color stays consistent unless you want to accent it with a few slight imperfections. The subtle bump mapping seems to be what makes the texture come alive.galinette wrote:I did a simple one here:
http://www.indigorenderer.com/materials/materials/1113
Not easy to do with SSS, as this the surface is very diffuse.
Re: styrofoam / converting from Vray material
That's pretty impressive ! It looks like Oren-Nayar and phong are working well provided a finely tuned bump... Again, sorry for my obsession with SSS (I did it on the ceramic material already), the magic can happen with precisely crafted "standard" materials !galinette wrote:I did a simple one here:
http://www.indigorenderer.com/materials/materials/1113
Not easy to do with SSS, as this the surface is very diffuse.
Merci beaucoup Etienne !
Re: styrofoam / converting from Vray material
I'm not 100% happy with this one though, but glad you like it!bioman666 wrote: That's pretty impressive ! It looks like Oren-Nayar and phong are working well provided a finely tuned bump... Again, sorry for my obsession with SSS (I did it on the ceramic material already), the magic can happen with precisely crafted "standard" materials !
I'm baking one with SSS right now just to try
de rien!bioman666 wrote:Merci beaucoup Etienne !
Eclat-Digital Research
http://www.eclat-digital.com
http://www.eclat-digital.com
Re: styrofoam / converting from Vray material
Eclat-Digital Research
http://www.eclat-digital.com
http://www.eclat-digital.com
Re: styrofoam / converting from Vray material
Nice one Etienne.
Your material renders have a very purple tint to them though. Can you please use the default material preview scene, with all its settings?
Your material renders have a very purple tint to them though. Can you please use the default material preview scene, with all its settings?
Re: styrofoam / converting from Vray material
Hi Ono,
Actually I used the default scene in Indigo, but I had to switch to linear TM and lower the gain, otherwise you could not see any texture details, the default scene being too bright for white materials.
This resulted in a greenish tint on my screen, I changed the WB to D55 which was more neutral. But my monitor being old and yellowish, it's clearly blue on a calibrated one.
The scene definitely needs some real corresponding emitter/WB definition.. This way you will have pure grays (ie R=G=B) and any tint complaint will be due to monitors only...
Actually I used the default scene in Indigo, but I had to switch to linear TM and lower the gain, otherwise you could not see any texture details, the default scene being too bright for white materials.
This resulted in a greenish tint on my screen, I changed the WB to D55 which was more neutral. But my monitor being old and yellowish, it's clearly blue on a calibrated one.
The scene definitely needs some real corresponding emitter/WB definition.. This way you will have pure grays (ie R=G=B) and any tint complaint will be due to monitors only...
Eclat-Digital Research
http://www.eclat-digital.com
http://www.eclat-digital.com
Who is online
Users browsing this forum: No registered users and 16 guests