Copy transforms
8844 9 4-
- eschwab
- Member
- 63 posts
- Joined: Sept. 2014
- Offline
-
- eikonoklastes
- Member
- 447 posts
- Joined: April 2018
- Online
-
- eschwab
- Member
- 63 posts
- Joined: Sept. 2014
- Offline
-
- Midphase
- Member
- 833 posts
- Joined: Jan. 2018
- Offline
That's what those icons at the right of the parameters are for:
>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
-
- eschwab
- Member
- 63 posts
- Joined: Sept. 2014
- Offline
-
- toadstorm
- Member
- 405 posts
- Joined: April 2017
- Offline
In VEX, you can use optransform() to do this. optransform() returns a matrix, which you could then multiply your SOP by in a Point Wrangle to transform the points:
The Object Merge SOP can also use any arbitrary transform when merging in geometry.
matrix m = optransform("/obj/my/xform"); @P = m * @P;
The Object Merge SOP can also use any arbitrary transform when merging in geometry.
MOPs (Motion Operators for Houdini): http://www.motionoperators.com [www.motionoperators.com]
-
- Midphase
- Member
- 833 posts
- Joined: Jan. 2018
- Offline
oaboraz
I was actually trying to see if there was a way to copy transforms from an object. To something at the sop geometry level. The transform SOP doesn't have those icons.
In that case, why not just merge all your different geometry and then apply a cumulative transform?
Maybe I'm misunderstanding what you're trying to accomplish, could you elaborate on specifically what you're trying to do?
>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
-
- eikonoklastes
- Member
- 447 posts
- Joined: April 2018
- Online
oaborazIf you're at Geometry/SOP level, you're not working with objects, you're working with basically points. As such, the concept of copying transforms from one object to the other doesn't apply.
I was actually trying to see if there was a way to copy transforms from an object. To something at the sop geometry level. The transform SOP doesn't have those icons.
As per Houdini's docs, when you're doing transforms within SOPs, you're actually deforming an object, and not transforming it.
https://www.sidefx.com/docs/houdini/basics/objects.html#transforming-objects-vs-surfaces [www.sidefx.com]
I think pretty much every new Houdini user gets confused between Object and Geometry level, given how much work takes place with SOPs.
To answer your query though, if you're applying a transformation using a Transform node, you can stash that change by enabling the Output Attribute on the node (called ‘xform’ by default), and then transferring that attribute to the geometry (not the object!) you want to apply it to. I've attached an example.
Edited by eikonoklastes - April 29, 2020 06:05:12
-
- eschwab
- Member
- 63 posts
- Joined: Sept. 2014
- Offline
-
- jsmack
- Member
- 8177 posts
- Joined: Sept. 2011
- Offline
-
- Quick Links



