jasonj3d Posted December 10, 2013 Share Posted December 10, 2013 Hi, I've created a vector attr 'up' on a copy stamped obj in sops and I'm bringing it into dops with a rbdpackedobject. The 'up' vector isn't being updated by the rotation that is happening in the dop. Has anyone had any luck with this? thanks for your help. Quote Link to comment Share on other sites More sharing options...
anim Posted December 10, 2013 Share Posted December 10, 2013 on Dop Import SOP add up to Vector Attributes To Transform parm list also make sure up has qualifier set to vector otherwise it will not get transformed, you can set qualifier in Attribute Create SOP or Add Attribute VOP, just creating it in wrangle sops through @ is not enough Quote Link to comment Share on other sites More sharing options...
jasonj3d Posted December 10, 2013 Author Share Posted December 10, 2013 That was it. Thank you so much. -Jason Quote Link to comment Share on other sites More sharing options...
jasonj3d Posted December 10, 2013 Author Share Posted December 10, 2013 Hmm, I see the up vector being updated on the dop import inside of sops, but is there a way to get that updated vector inside the dop so that I can control a force with it? thanks, Jason Quote Link to comment Share on other sites More sharing options...
jasonj3d Posted December 17, 2013 Author Share Posted December 17, 2013 Hi, Just hoping someone can help me out with this. Any thoughts? thanks Quote Link to comment Share on other sites More sharing options...
kare Posted December 18, 2013 Share Posted December 18, 2013 Can you provide a hip file? Quote Link to comment Share on other sites More sharing options...
jasonj3d Posted December 19, 2013 Author Share Posted December 19, 2013 Sure, here you go. Thanks for taking a look. underwater_falling_debris_odforce.hip Quote Link to comment Share on other sites More sharing options...
kare Posted December 19, 2013 Share Posted December 19, 2013 I can see up vector inside dop in your file. Go to details view -> dopnet->rbdpackedobject1->Geometry Here you can your up vector details.. Quote Link to comment Share on other sites More sharing options...
jasonj3d Posted December 19, 2013 Author Share Posted December 19, 2013 True, there is an Up vector in dops, but it is incorrect. Compare it to the up vector that comes out of the dop import into sops and you will see that they are different. Quote Link to comment Share on other sites More sharing options...
kare Posted December 19, 2013 Share Posted December 19, 2013 (edited) I checked it now, you values are matching for sop level "up", dopnet "up". dop import "up" values are updating every frame because "up" is added in "vector attribute to transform" as anim suggested. If you check values in all levels at first frame all are same. dop import "up" is updating after the simulation based on the geometry transformation ( correct me if I am wrong), its not related to dopnet. If you want to update these values in dops, you have to modify existing up value using modify data DOP. Edited December 19, 2013 by kare Quote Link to comment Share on other sites More sharing options...
jasonj3d Posted December 20, 2013 Author Share Posted December 20, 2013 Ok, I'll look into the modify data dop. I haven't used before, so I am a bit unsure on the syntax. Do you know what is expected in the "value 0 string" field to get the vector to update? thanks again for your help! Quote Link to comment Share on other sites More sharing options...
anim Posted December 20, 2013 Share Posted December 20, 2013 you can rotate up by yourself inside of dops using geometry wrangle or any node that can modify attributes,( modify data dop will not help you for packed primitives) have a look at the file there are some comments on geometry wrangle so it should be clear underwater_falling_debris_odforce_fix.hip Quote Link to comment Share on other sites More sharing options...
jasonj3d Posted December 20, 2013 Author Share Posted December 20, 2013 This is perfect and exactly what I was looking for. I haven't had too much time with the wrangle nodes yet, so this is a good chance for me to learn them. Thanks for your help anim & kare. -Jason Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.