Monday, August 10, 2009

flood in the bathtub??



i'm getting terribly restless..reason??
one of the most frustrating thing for me is no longer there to eat my head off.
Since I had worked on Realflow (which I really liked), I could not really get my grasp on the particle fluids in Houdini.
I cant really blame Houdini for this....its all my misunderstanding. I was trying to work on Houdini the way I used to in Realflow. Having said that I must say, Houdini and Realflow are very much alike if some of the things are cleared when you switch. In a way Houdini gives far more control to the user as compared to Realflow.
I'm not taking anything away from Realflow because I simply cant. Its made for fluids and dynamics....I do also feel its faster than the fluids in Houdini.
I use Houdini fluids for the simple reason: MORE CONTROL.
Realflow did not have a official Houdini export until now (there's a beta version Realflow plug-in for the same..for more details on this please cheack Odforce.)
And since I have been working on Houdini primarily for everythin, I cant really use RF fluids.
Also there's a lot of control which if leveraged properly, can get you amazing results.

Anyways, I used to be really irritated because of lousy and stupid looking meshing of the Particle Fluids....which I again confess was my lack of understanding.
Finally while working on this personal project the solution dawns upon me.
Its got to do with the Particle Seperation.
If you have a high seperation (which I used to keep high to get better speed) the partcles will be farther away from each other and thus when meshed, the mesh turns out to be entirely stupid. (come on I could draw up a better mesh on paper than THAT).

This once, I kept the separation lower, keeping sure it not unnecessarily slowing my system (a value lower than 0.1 but higher than 0.01 usually gives good performance/quality ratio) I tried to get the desired look changing parameters like Bounce, Friction etc.
Once I got something similar to what I wanted, then I would try to up the resolution.
Well to be honest, I also cheated a bit as far as resolution of the sim is concerned.

Ok, its still in a Work In Progress image so I have got a screen capture and a quick test render done (which is nothing fancy: no motion blur..no texture etc).
almost done with the wetmaps implementation. (Houdini doesnot generate wetmaps straight out of the box..but to learn how it could be done is even more fascinating!)

Will update later :)


PS: please ignore the title....it's another side effect of my self imposed isolation haha :D

No comments: