|09 September 2012||#1|
Compositor/Motion Designer/3d Generalist
San Francisco, USA
Bottle of Liquid with Vray
I've been battling this for a while now and seems i cant get it right..
How do you render a glass of colored liquid in Vray?! (actually a parfume bottle in this case)
the liquid material?: Refraction Fog color? or Volumetric Fog in the Shading Group's Volume tab?
What render settings do you use? secondary Brute Force or Light Cache?
I KEEEEP getting black edges / spots nomatter how high my refraction depth is.. and one time i got it to look "okay" but then when i rendered my sequence I got a ton of artifact pops on multiple frames..
Lighting - im using a Studio HDR map that doesnt actually have any solid blacks in it, so the black spots shouldnt be caused from Refraction catching black scene space?
Lastly - do you make the liquid part as a separate object or just add a separate shader to the inside of the container geometry?
would LOVE some advice on this subject ... maybe even a tutorial cos learly - im missing something lol.
Seems i only have this issue when im trying to Layer refractive objects..
|09 September 2012||#2|
Opinions are mine. You can't have them.
Join Date: Jul 2005
there are some good tips here:
If you're rendering a liquid inside a container, there's no easy way to fake it – you need to have a thin wall and then have the liquid overlap with the thin wall.
If you're getting black edges, it is probably a trace depth issue. Unless you need caustics, you don't need brute force but jacking up the brute force trace depth up to 8 or so should help you eliminate that as the source of the problem (it's very slow so that's just to test). Don't forget to change both the shader refraction depth and the global render parameter. You can get some speed back with the "affect shadows" parameter in the shader, which is a fake.
I have found that if I use light cache for scenes that contain caustics, it looks splotchy and bad, so that's why brute force is better for those.
The bag was tricky because I had to extrude the inner wall and then create a liquid from an extraction from that and then offset the faces with transform components so they are inside the bag's very thin "wall":
it's hard to see but the blood mesh just edges past the inner wall of the bag but not beyond the outer wall. V-Ray automatically creates the dielectric interface.
But, if you're seeing black, it could also be a reflection of something. The dark areas in my blood above are the IBL's black portions, not a trace depth issue.
blog | Twitter | www.can-con.ca | 101 Autodesk Maya Tips for Kindle, EPUB/PDF or iPad edition
Last edited by cgbeige : 09 September 2012 at 12:20 AM.
|Thread Closed share thread|