pau22 Posted December 14, 2016 Share Posted December 14, 2016 Hi! I'm trying to replace some non packed pieces from a bgeo sequence to a hi-res version. I cannot simulate again so I need to find a workaround to "transform input geometry" in the dop import. I've tried the 'transform pieces' sop without success. Any suggestion? Thanks! transform_pieces.hip Quote Link to comment Share on other sites More sharing options...
catchyid Posted December 15, 2016 Share Posted December 15, 2016 Hi, this is not an answer, just a suggestion I remember there is a tutorial online on sidefx web page that shows how to transfer low-res to high-res mesh, have you seen it? It might help you do what you want... also, do your low-res high-res models share any common attributes? you would definitely need to move (transform/rotate) the center of mass of each piece, so do they share the same center of mass? can you identify each center of mass? sorry, not an answer, just some quick thoughts 1 Quote Link to comment Share on other sites More sharing options...
pau22 Posted December 15, 2016 Author Share Posted December 15, 2016 Well after trying different things i could match the position from each piece using packed primitives and the transform pieces sop. Also, transfering the normals I get some rotation but it does not match the original bgeo sequence. Maybe it is not the right approach... Quote Link to comment Share on other sites More sharing options...
tamagochy Posted December 16, 2016 Share Posted December 16, 2016 You need transfer names attribute from low res to hi and then use transform pieces. Quote Link to comment Share on other sites More sharing options...
pau22 Posted December 16, 2016 Author Share Posted December 16, 2016 28 minutes ago, tamagochy said: You need transfer names attribute from low res to hi and then use transform pieces. Well the names are already the same because I've packed the geo before making any transformation. I need a way to calculate the orient value from normals and position, not sure if it's possible. Quote Link to comment Share on other sites More sharing options...
pau22 Posted December 16, 2016 Author Share Posted December 16, 2016 Finally, I've managed to solve the rotation problem using the attribute reorient as it is explained here: https://www.sidefx.com/forum/topic/27105/?page=1#post-125034 The transform pieces sop now works OK with the orient values. Even though the center of each piece replaced, differs a little compared to the low res geometry: Cheers! 1 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.