Jump to content
pau22

replacing rbd fractured objects with transform pieces sop

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

You need transfer names attribute from low res to hi and then use transform pieces.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×