PDA

View Full Version : Node that creates several curves


sackboy
09-27-2011, 02:36 PM
Hello everybody,
I want to create a node that will take some geometry as input and should output a number of curves depending on the node attributes.

The trivial thing would be to create the destination curve objects in the dag, and connect some outputs from the node to the inputs of these curves. The tricky thing is that the number of output curves is not constant, imagine a density attribute, so the number of curve objects that you will see in viewport has to change dynamically as you modify the attributes of the node.

Anyone has any idea about what would be the best way to approach something like this?

Thank you very much.

cdmcg
09-27-2011, 09:30 PM
I dont exactly understand what you are trying to accomplish here. So, you will have, for example, a sphere. This sphere has a attr named density. Based off of that attr there will be curves generated in the scene? Do I follow that correctly? If so, what is the purpose of these curves? Are they ment to be a nurb curve representation of your wire frame?

sackboy
10-03-2011, 07:34 AM
Thanks for the reply,
These curves are going to be part of the scene. It's like hair or spikes or whatever growing from that sphere. So my idea is to build a node that computes these curves. You connect the sphere shape to the node, set the attribute "density" in that node and the node will create curves growing perpendicular to the input geometry, that can be, for example, hair.

CGTalk Moderation
10-03-2011, 07:34 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.