strang2000 Posted October 14, 2020 Share Posted October 14, 2020 I have an HDA with a series of preset curves that the user can switch between. This curve is taken and a revolve node is applied (this is in the top left of "model inputs," "bulb"). If I want the option to let the user draw a curve that they want, what do I do? If I simply include a blank curve, what allows the user to draw in in the HDA? And ideally, they should start drawing it at the origin like I did when making the three preset curves. lightbulbs.hdanc Quote Link to comment Share on other sites More sharing options...
Noobini Posted October 15, 2020 Share Posted October 15, 2020 here...add your own curve and plug it in, otherwise there's 3 presets out of the box. dummyhda.hdanc Quote Link to comment Share on other sites More sharing options...
strang2000 Posted October 16, 2020 Author Share Posted October 16, 2020 Ok sorry this is probably really simple. Once I select custom, there's nothing to do, no curve inputs appear. Do I just draw a curve? when I do that, it's not within the subnet of the original HDA. Quote Link to comment Share on other sites More sharing options...
Noobini Posted October 16, 2020 Share Posted October 16, 2020 well put down a curve, doodle around for a few minutes...once tired of doodling, plug it into the HDA. Quote Link to comment Share on other sites More sharing options...
strang2000 Posted October 16, 2020 Author Share Posted October 16, 2020 Yes the sub-network input accepts the newly drawn curve but I can't change the display node past the switch the sub-network input node connects to. Quote Link to comment Share on other sites More sharing options...
Noobini Posted October 16, 2020 Share Posted October 16, 2020 15 minutes ago, strang2000 said: Yes the sub-network input accepts the newly drawn curve but I can't change the display node past the switch the sub-network input node connects to. well I don't have the complete definition of the tool, only you do. I can only show you where to add the custom curve in among the preset curves, you'll have to incorporate that into your COMPLETE HDA that only you have. Quote Link to comment Share on other sites More sharing options...
Noobini Posted October 16, 2020 Share Posted October 16, 2020 (edited) just go back a step, rclick on your HDA>actions>extract content then select everything again (that is supposed to be in your HDA), create subnet again, this time you'll see it has the default 4 input slots corresponding to the 4 inputs when you dive in. Sub-Network Input 1 would be your custom curve, connect that to the switch. after you created the new digital asset, in type properties>basic>set max inputs to 1, min inputs 0 meaning there's 1 input slot but you don't have to plug in anything into the slot, it would still work with your supplied 3 curves. You'll then have to add an ordered menu in the params to make use of the custom curve, to switch between the 4 curves. (I can't do any of this to show you coz it complains that I don't have the complete definition for the tool) Edited October 16, 2020 by Noobini Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.