Jump to content

replacing rbd fractured objects with transform pieces sop


pau22

Recommended Posts

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 :)

  • Like 1
Link to comment
Share on other sites

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... 

2016-12-15 22_35_22-.png

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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:2016-12-16 11_30_27-C.png

Cheers!

  • Like 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...