Vaiva Kazanaviciute
play_w_madness
About Me
専門知識
VFX Artist
業界:
Film/TV
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Flipbook with CHOP shound 2023年9月16日2:39
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.
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? 2023年9月16日2:29
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]
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 ? 2023年8月18日23:54
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]
"""
-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]