Vaiva Kazanaviciute

play_w_madness

About Me

EXPERTISE
VFX Artist
INDUSTRY
Film/TV

Connect

LOCATION
Canada

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Flipbook with CHOP shound Sept. 16, 2023, 2:39 a.m.

You can write chops to a .wav file using ROP Channel Output CHOP node, and then play that .wav as an audio file.
List of supported chop formats: https://www.sidefx.com/docs/houdini/io/formats/channel_formats.html [www.sidefx.com]

Also I would give a try using `op:/path/to/your/chop` syntax in the Audio Filename field.
Though I doubt that it will work, since mplay (the flipbook player) is a separate process from Houdini, so most likely it won't be aware of any nodes there.
Especially since the same mplay process can be used by multiple different Houdini processes simultaneously.

Is a way to Detect what Cd of surface that particles hit? Sept. 16, 2023, 2:29 a.m.

If your collisions are handled by a popsolver, there are options in the Collision Behavior tab of the popsolver, to add prim and UV attributes on hit.
With those attributes you can sample any attrib from the hit surface using primuv function in VEX: https://www.sidefx.com/docs/houdini/vex/functions/primuv.html [www.sidefx.com]

hython runs with a threads cap when triggered via Deadline ? Aug. 18, 2023, 11:54 p.m.

From `hython --help`:
"""
-j arg : sets HOUDINI_MAXTHREADS to the given value;
arg is the max number of threads
"""
Which implies that HOUDINI_MAXTHREADS env var works for hython as well.

You can check the number of threads from inside hython using `hou.maxThreads()`.
Also there's `hou.setMaxThreads(max_threads)`, but according to docs, there are some limitations.

https://www.sidefx.com/docs/houdini/hom/hou/maxThreads.html [www.sidefx.com]
https://www.sidefx.com/docs/houdini/hom/hou/setMaxThreads.html [www.sidefx.com]