Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling transformation issue between maya and houdini #6

Open
diegotrazzi opened this issue Jul 26, 2017 · 7 comments
Open

Scaling transformation issue between maya and houdini #6

diegotrazzi opened this issue Jul 26, 2017 · 7 comments
Assignees
Labels

Comments

@diegotrazzi
Copy link
Collaborator

There is a scaling issue when importing a .bif cache back into houdini.
I have made a simple scene to be able to replicate this.
To replicate the issue from scratch do the following:

  • Create a sphere in houdini (i.e. 100 units, translated 100 y)
  • Export the Sphere as alembic to Maya and convert the sphere into an emisison object and emit one frame
  • Export the liquid cache and import back into houdini.

At this point you will see that the imported cache is smaller than the original sphere created in houdini.
I am attaching a screenshot and two scene files which illustrate the issue

scaling_issue

test.zip

@bareya
Copy link
Owner

bareya commented Jul 26, 2017

I assume that all properties that we read from bif we must be scaled 10 times, is that correct ?

@diegotrazzi
Copy link
Collaborator Author

diegotrazzi commented Jul 26, 2017 via email

@bareya
Copy link
Owner

bareya commented Jul 26, 2017

Can you upload bif too ?

@diegotrazzi
Copy link
Collaborator Author

adding .bif
voxel_liquid_particle.0001.zip

@bareya
Copy link
Owner

bareya commented Jul 26, 2017

In that scene it looks like scaling up by 10 fixes the issue:
screenshot from 2017-07-26 11-25-42

@diegotrazzi
Copy link
Collaborator Author

diegotrazzi commented Jul 26, 2017 via email

@bareya
Copy link
Owner

bareya commented Jul 26, 2017

No worries at all! :)

Can you upload full sim or is it too heavy ?
I wanted to check component's transformation matrix. In provided sphere bif component's matrix is an identity matrix.
I wonder how that matrix can be altered in Bifrost? By moving object in Bifrost ? Can you do that ?

In my code I don't do anything with component's matrix, for sure it's something what we should take into an account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants