Hey there,
I've got an asset that generates vector attributes and it has a visualizer node built-in, but the workflow is really clunky when it gets to this point. For instance I can't promote the visualizer interface to my asset, I can't reference parameters in the visualizer interface and if I rename my attributes within my asset(even if renaming occurs after the visualizer node), they stop showing up in my viewport.
Has anybody come across similar limitations and maybe a workaround?
Cheers
Embedding visualizers into digital assets
3297 2 0- rafaels
- Member
- 700 posts
- Joined: 3月 2009
- Offline
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
- jsmack
- Member
- 8052 posts
- Joined: 9月 2011
- Offline
- asorgejr
- Member
- 9 posts
- Joined: 2月 2017
- Offline
You can implement it using python in the OnCreated script on your hda.
Add the attached script to the ‘scripts’ section of your hda. It will create a new visualizer, sets the Attribute parameter to ‘v’ and sets the style to ‘Vector Trail’.
From houdini documentation:
http://www.sidefx.com/docs/houdini/hom/hou/viewportVisualizers.html [www.sidefx.com]
https://www.sidefx.com/docs/houdini/hom/hou/ViewportVisualizer.html [www.sidefx.com]
Add the attached script to the ‘scripts’ section of your hda. It will create a new visualizer, sets the Attribute parameter to ‘v’ and sets the style to ‘Vector Trail’.
From houdini documentation:
http://www.sidefx.com/docs/houdini/hom/hou/viewportVisualizers.html [www.sidefx.com]
https://www.sidefx.com/docs/houdini/hom/hou/ViewportVisualizer.html [www.sidefx.com]
-
- Quick Links