Stroke SOP painting from within HDA

   5732   5   1
User Avatar
Member
538 posts
Joined: 12月 2006
Offline
Hi folks!
Is it possible to show Stroke (or any other brush style) SOP manipulator from within HDA? It is not so difficult for standard handle type nodes like Edit SOP for example. We can simply duplicate functionality with HDA handles.
Also I know that we can lock asset, but leave editable nodes (Stroke SOP for example). In this case simple script allow us to set node as current in HDA and paint in viewport as result.

But i need stroke node from blackbox HDA that doesn`t allow manilations with children nodes, and set as current of cource.
https://gumroad.com/alexeyvanzhula [gumroad.com]
User Avatar
Member
8786 posts
Joined: 7月 2007
Offline
http://forums.odforce.net/topic/19013-user-driven-input-for-generating-curves/?p=114786 [forums.odforce.net]
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
538 posts
Joined: 12月 2006
Offline
Thank you a lot!!!
https://gumroad.com/alexeyvanzhula [gumroad.com]
User Avatar
Member
538 posts
Joined: 12月 2006
Offline
I never used Default State field in Type Properties. It is so useful!!!
https://gumroad.com/alexeyvanzhula [gumroad.com]
User Avatar
Member
333 posts
Joined: 10月 2012
Offline
If i change geometry inside an asset (caching it to disk and reloading) the Default State stroke does not seem to update the Projection Geometry. The brush just uses a z-plane or the last state it was at.

Within the Asset it works.

Any ideas ?

Edit:
Solved it by reading back the geo into the first input of the asset. I think Default State stroke looks at the first opinput to determine which geo to paint on.

Could be better documented in help. I didnt find anything about it.
User Avatar
Member
17 posts
Joined: 9月 2012
Offline
Not sure if by this you mean outputting your projection geometry from the HDA, then feeding it up to a merge and back into the asset.

Or, do you have a totally self contained way to do this that doesn't require the end user to reproduce this setup?

Is it possible to “read the geo into the first input of the asset” procedurally?
  • Quick Links