pld

pld

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

fluid sim error 2009年1月30日12:22

thanks for your answer…but it doesn't seem to make any difference…

fluid sim error 2009年1月30日6:41

Hi All,

i'm running some fluid sim tests in Houdini 9.5.209. The setup if fairly simple.
Basically, I have a slowly deforming object (a sequence of .bgeo files) in a fluid container. The collision of the object against the fluid is causing the fluid to move. The fluid it self has no forces and it doesn't affect the object. The Fluid Object and Fluid Sover have default values.

I am quite happy with the look, however the problem I'm having is that when I run a high res simulation (100 voxels or more) I always endup with the same error. I have attached an image which should illustrate what happens. It doesn't seem to be a random error, it alwyas happens at the same frame (for a given set of parameters). I have tried to increase the substeps but no luck.

Anyone has seen this problem before?

many thanks!

i3d variable frequency 2006年11月14日7:14

Hi All,
I'm writing a new i3d shader to store more data than just density…

I'm trying to vary the frequency parameter in the VEX meta cloud shader based on the size of the metaballs. Basically, I want to have the frequency to be proportional to the radius of metalballs.

I created a RAD attribute which stores the size of the metaball (the radius). I then read this parameter using mattrib. The result that I get is close but not entirely correct. This is the relevant part of the code..


forpoints(P)
{
radius=mattrib(“RAD”,P);

//radius=1.0;
//printf(“radius %f\n”,radius);
scaled_freq=freq*radius;

}
then compute the noise using scaled_freq….

If create a single metaball with size of 1.0, the radius variable should be 1.0. However if I print radius in the loop I can see values of 1.0, 0.0 and other numbers. The RAD attribute has the correct value (1.0). As you can see from the image (right) the edge seems cropped.
If on the other hand, I hardcode radius=1.0, the result is what I expect (left of image)

Where I'm I going wrong??
Thanks!

I then use scaled_freq to compute noise.