Soothsayer

Soothsayer

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Fit field-of-view to a BoundingBox April 15, 2024, 6:34 a.m.

If you're interested, I had a similar problem and this solved it for me:

vector campos = chv('campos');
vector objectpos = chv('objectpos');

// Initial horizontal aperture
float H_initial = 20.955;

// Object size (A) and distance (R) from the camera
float A = chf("object_size"); // Example channel referencing object size
float R = distance(campos, objectpos);
// Field of View (FOV) needed to fit the object at distance R
float FOV_needed = 2 * atan(A / (2 * R));
// focal length to achieve the required FOV with the initial horizontal aperture
@focal_length = H_initial / (2 * tan(FOV_needed / 2));

Normalized wedge attribute April 2, 2024, 2:39 a.m.

What's the best way to create random normalized wedge attributes in TOPs?

What's the reason for OpenCL Neighbor Search failing? March 8, 2024, 4:51 a.m.

I have a grain sim where all grains completely vanish after a certain amount of frames. According to the docs disabling OpenCl Neighbor Search fixes that. It does but what's the reason for the failure in the first place? Memory doesn't seem to be the culprit. Can I keep the OpenCL goodness while avoiding the unpredictable vanishing problems?