noizfactory
Hey Peter,

In Max Distance mode the component to component constraint gives a nice web like look for which if we would be able to extract the connections/components as point data then we can later convert them to curves for rendering.

Is there a way one can extract this data from a nConstraint node using soup? I tried but the constraint shape node doesn't seem to output anything useable w.r.t connection links that it builds.

-Sachin



Reply 0 0
Jostein
Hehe, I was thinking exactly the same thing a while back. Would be sweet to be able to render the constraints.
Reply 0 0
pshipkov
There is no easy way to mimic the internally calculated nSprings between different objects. I looked at the 3 built-in methods and it will take considerable amount of time to fully reverse engineer them.
For now this takes super low priority.

If you want to just get the component IDs for each nComponent node take a look at their .elements attributes - they contain the IDs in numerical form. Otherwise you have to go through the C API to get the objectId data.

Reply 0 0
pshipkov
But there is a way to make "web" connections like the nConstraints, they will just appear different.
Reply 0 0
noizfactory
Thanks for the reply Peter. Yeah, I understand this would be a pretty low priority to-do for you. Thanks for the .elements tips though. I'll check that out and see if I can work something out with that.

Regarding web connections, converting scatter points to a curve also yields something similar. Is that what you were referring to in your post?
Reply 0 0
pshipkov
Yes, that's what i meant - curves to particles.
I also have this blurry idea of influencing paintFX renderLines on the fly, but there are some API problems, so for now we focus on the first approach.
The problem is that there is no easy way to create multiple "strings".
I am thinking of specialized node that will be controlled by particle PP attributes and will allows us to handle multiple curves tracing the path of specific particles or attached to subgroups of particles only, etc. This is going to be nasty :D

Reply 0 0
noizfactory

Quote:
I am thinking of specialized node that will be controlled by particle PP attributes and will allows us to handle multiple curves tracing the path of specific particles or attached to subgroups of particles only, etc.

That would be awesome indeed :crazy:

Reply 0 0
pshipkov
Yep, i am thinking about something like that too.
Reply 0 0
Reply