haggi krey

haggi krey

About Me

EXPERTISE
Technical Director
INDUSTRY
Film/TV

Connect

LOCATION
Germany

Houdini Skills

Availability

Not Specified

Recent Forum Posts

How to log to stdout with hou.logging? Sept. 15, 2025, 6:43 a.m.

Hi,
I was able to log entries to the default logging system in houdini with something like this:

import hou
entry = hou.logging.LogEntry(message = "--- Logging Test ---")
hou.logging.log(entry)

However, while this entry appears in the log panels if I turn on python logging, it does not appear if I call it from husk rendering. In this case I want to see it in a cmdline output from the prerender script. I suppose something like logging to stdout could help, but how do I have to set it up?

Thanks for any hints.

Initial state with distributed flip sim Oct. 2, 2024, 7:32 a.m.

Hi,
I created a simple distributed flip sim with two slices. The basic setup works fine but as soon as I try to use initial states, the sim hangs at first sim frame. I created a separate initial state for every slice. Any idea if distributed sims should work at all with initial states?

Volume loss in flip sims with moving colliders. Oct. 26, 2023, 9:47 a.m.

Hi, this is a copy of my message on discord's "Think Procedural" server.

Okay, so I tried to create a boiling water effect. Basically I think there are two ways to create discrete bubbles,
  1. with incompressible fluid or
  2. with geometry collisions
While my approach with incompressible flip works fine, my approaches with moving colliders will not keep the volume, here are some movies.
Default sim with moving bubbles is this one loosing_volume_default.mp4. You can see how the volume is smaller at the end of the sim
Next I tried to compensate it with a gasequalize microsolver what seems to work even if it looks as if it would first loose volume and then go back to the original again: loosing_volume_equalizer.mp4
And finally I tried the divergence field approach: loosing_volume_divergence.mp4
Seems to work somehow but maybe it's still too much. I attached the hip file as well.

So my questions if anyone is interested:
  1. Why does the flip sim loose volume with moving colliders at all?
  2. Are these methods (maybe I could try to increase the particle radius scale as well) the only way to keep the volume? Feels like cheating. Or am I simply missing some details in my flip sims?
Thanks for any answer.