Overcoming a double transform from dop network within a geometry node.

   1824   2   1
User Avatar
Member
39 posts
Joined: Sept. 2011
Offline
Hi guys,

I wanted to pick your brains about overcoming double transforms that happen when you place a dop network within a geometry node.
As a matter of workflow, I have found over the years that trying to contain my setups within a small set of or single geometry node has been beneficial for clarity. That something that Jeff covered also in this webinar. https://vimeo.com/272793390 [vimeo.com]

However, when you do something like that, if you need to place a transform on the geometry node or parent it to a null with a transform, inevitably, it will cause the dop network within to receive a double transform. Once from the geometry node itself and a second time when the data from the geometry node is fed into the dopnetwork via opinputpath().
I've attached a simple smoke scene to illustrate what I mean.

The pyro_doubletransformed node is being translated 8 units to on the x instead of 4 units.

Is there a simple/elegant way to avoid this from happening?
Edited by iamnelsonlim - Sept. 11, 2019 19:12:58

Attachments:
dopInSopTest.hip (784.4 KB)
Capture4.PNG (447.1 KB)

Blog: https://www.nelsonlim.com/blog [www.nelsonlim.com]
Instagram: https://www.instagram.com/iamnelsonlim [www.instagram.com]
Youtube: https://www.youtube.com/nelsonlim [www.youtube.com]
User Avatar
Member
8772 posts
Joined: July 2007
Offline
nelsonlim
Is there a simple/elegant way to avoid this from happening?
there is:
simply don't transform objects containing dopnets

there is usually a simple way to compensate for this as a lot of DOPs dealing with objects have Use Object Transform checkbox that you can uncheck, however in this case Volume Source DOP doesn't seem to have it and it's always using object transform, so maybe submit an RFE

however still, you'll avoid a lot of unforeseen headaches if you just don't transform objects containing dopnets
Edited by tamte - Sept. 11, 2019 23:33:26
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
39 posts
Joined: Sept. 2011
Offline
Thanks Tomas for confirming my suspicion. At the moment, sounds like it is probably still best for setups to have dopnets that are separate objects.
Blog: https://www.nelsonlim.com/blog [www.nelsonlim.com]
Instagram: https://www.instagram.com/iamnelsonlim [www.instagram.com]
Youtube: https://www.youtube.com/nelsonlim [www.youtube.com]
  • Quick Links