[C++] good comprehension of dirty propagation

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  04 April 2013
Question [C++] good comprehension of dirty propagation

Hi everybody,

I have some problem in using in the right way the dirty propagation of maya for an array plug.
Is all entries of the array are marked dirty at the same time or it is done element by element of the array ?

I try to search with this question a solution to a specific problem :

I have multiple node N with an input A and an output B
I have a node G that is connected to plug A of all nodes N.

In my algorithm i want in the compute of the node G to call a functions in all nodes N, then executing some algorithms in G and after call another functions in all nodes N.
But the first compute called is for the output B of the node N. Then the compute method of the node G due to the connection. I don't know how to execute after methods i want in the right order.

Do you have some ideas to fit this need with the design of maya nodes. I have some difficulties to sort the call of my functions using the dirty propagation of Maya.

Thanks in advance for reply, and sorry for my english, if the problem is not clear.
  04 April 2013
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 05:31 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.