View Full Version : component data update

01 January 2013, 08:20 AM

as we all know, Maya is node based.
We can edit nodes in the history of a dag node, the changes will flow through the network and finally change that dag node somehow.
But there`s the Maya concept of how to deal with component data which totally destroys automatic data update.
Two shapes with individual shaders are combined with the help of the polyUnite node. Maya automatically creates groupPart and groupId nodes which help the shaders in detecting the faces of the new object. Unfortunately, the face information is written in the groupParts nodes right when they are created and never automatically updated.
So, when the geometry of the initial shapes is changed, the groupParts keep the old information and thus the shading of the new shape is wrong.
Obviously, the only non API method ( I did not check whether the API functions could help here ) is to create with MEL a string holding the new face data and push it into the groupParts node.
Of course, this is very odd. No more automatic DG update possible.
Moreover, when the face count becomes too large ( well, not so large actually, but for MEL ), it takes endless to apply the string with the face data to the groupParts node ( as is the case with every too long string which you would want to enter into a node with MEL.

So, here`s the question:
Are there methods I do not know of which help in interactive updating of that component data?
Otherwise, I would write a request in the autodesk feedback ideas forum..

12 December 2013, 09:44 AM
Hi sciLoop,

Have you gotten any feedback from AD (or someone else) about this issue? I've been trying to get creative, hacking stuff with polyBool recently and ran into this groupParts-non-updating issue which has basically stopped me in my tracks.

I don't think utilising MEL, as you mentioned, will work in my case, because this is a 'live' effects rig. I originally conceptualised this rig in Houdini, which was pretty easy using SOPs, but I'm a bit stumped trying to do it in Maya. :banghead:

12 December 2013, 05:50 PM

no feedback. I have no idea whether those kind of problems will ever be worded on from the autodesk side. There is a reason for Houdinis reputation!

CGTalk Moderation
12 December 2013, 05:50 PM
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.