With Igor Zanic and Naiad in Belgrade! Naiad/Max workflow.
- October 23rd, 2011
- Posted in Finished . News
- Write comment
I spent last week in the afterglow of summer in Belgrade, with the awesome Igor Zanic! He taught me some Naiad, and we established the workflow of shading it in Max – with Krakatoa, Frost and VRay. Check out the goodness:
Now, the way this goes – it starts with the Naiad sim. It took only 42 min with, 7.5 mln particles through a reasonably dense cell size (the grid resolution in Naiad). On top of that, a secondary sim was done for splashes, this one taking 45 min for 20 mln particles. The machine was a recent i7 quadcore, nothing spectacular.
After that, the native Naiad EMP cache was converted to PRT, and sent to Max and Krakatoa. The first element was the mesh, with Frost and VRay. That went very smoothly, being able to quickly relax a high res sim to get a smooth but detailed result was of great help. The VRay setup was very straightforward – reflective transparent 1.4 IOR shader, with some of the VRayMaterial fog for depth and a good environment map, oldschool lighting. Render times at 1280×720 did not exceed 8min per frame, and you can see the detail is astounding.
On top of that, four Krakatoa passes were rendered. An interesting thing I noted is how much shading these liquids depends on the scenario. We did another test before this one, with much calmer water, and it ended up using different type of elements, and with different weights. Fortunately Krakatoa, with its KCMs, provides great flexibility in treating the material coming from Naiad, and you can devise different schemes of shading it.
Setting up these passes was fun and a breeze. On the main one I used a normalized velocity for a texture lookup, assigning a material with a blue to white gradient in the diffuse. This makes the faster particles whiter, which looks great. For the calmer areas, putting a threshold on the velocity, setting the selection channel and deleting the slow particles looks great, to clear them up in the clear areas. Of course, you could do a red-green pass and do all that in comp. Adding a velocity driven curve to the density makes the structures more visible, very good for bringing out the detail.
Then it was the Vorticity pass. We used a custom vorticity channel we exported from Naiad, and it’s a very simple expression, Naiad is very friendly towards exporting custom channels. Again, a texture lookup and delete thresholds were enough to make this one look interesting.
The splash sim was also rendered in Krakatoa. This one looks pretty great out of the box, but again the velocity-density curve looked great in bringing up the detail. Lighting is quite important too – getting these darker deeper parts is very cool and easy with a simple 4 point light setup.
Last one was a depth pass. Loading a fraction of the original particles, and shading with the Voxel mode in Krakatoa, you can get a very useful pass that you can dial the light extinction and coloring in depth with.
Now, it’s interesting to see how much freedom there is in compositing all that. A very broad range of looks can be derived, that my very limited comp skills obviously do not showcase 🙂 You can see a breakdown and another option for comping it here:
Finally, huge thanks to Igor and Tamara for the hospitality! Looking forward to meeting you again!
Cheers!
Thanks 🙂 I used the Zhu-Bridson one – the most versatile in my experience. It’s so fast, you can tweak stuff in the viewport. When things become heavier, you can easily make a box, cut all the particles outside of it with KCMs, and use that limited area for fast tweaks of the meshing.
We used a beta build, on both Linux and Windows. Release should be coming soon 🙂
Thank you Hristo, I appreciate 🙂 On windows Naiad will arrive like a plug in (http://www.exoticmatter.com/pixomondo-and-naiad/ ) ^^ or an indiviual software like realflow ? Do you think create tutorial in the future ? Thank you again.
Cool 🙂 It will be a standalone app, just like the Linux one. On tutorials – hm, why not? 🙂
Cool ! 🙂 I’ll be the first to reward you. Cause I find Naiad very interesting and you have a lots of experience.
I try some tests with realflow, vray and frost, in order to create a waterfall and river. Here my first test (I forget to use a K volume, so little balls are on the sides) http://uppix.3dvf.com/?v=waterfalls.jpg My particle size is : 3cm (do you think it’s too high ? )
About the meshing quality, I’ve 5 and my blend radius zhu/bridson is 7, Threshold 1,0 and Strength :5,0. How do you think about these parameters ?
I’ll share with you my wip if you want 🙂
Have a nice day.
(I’m french sorry for my english, I try to do my best)
I think the key is the mix of all elements, so adding some foam would help, yes. You need to go higher resolution on the sim – more particles, and yes, get a better resolution meshing. Avoid that closeups in the start, they are more difficult to create well.