bareya / HoudiniBifrost

Bifrost format to Houdini Translator
6 stars 0 forks source link

Scaling transformation issue between maya and houdini #6

Open diegotrazzi opened 7 years ago

diegotrazzi commented 7 years ago

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:

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 commented 7 years ago

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

diegotrazzi commented 7 years ago

No, Ive tried a x10 scale but didn't line up

On Tue, Jul 25, 2017 at 21:21 Piotr Barejko notifications@github.com wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bareya/HoudiniBifrost/issues/6#issuecomment-317943497, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMBhICZ5Hv-uNx2z5HE54Oy7e51PcsZks5sRr7ggaJpZM4OjZ1n .

-- Sent from my iPhone

bareya commented 7 years ago

Can you upload bif too ?

diegotrazzi commented 7 years ago

adding .bif voxel_liquid_particle.0001.zip

bareya commented 7 years ago

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

diegotrazzi commented 7 years ago

I will double check with my full sim scene because I have tried that yesterday but was unsuccessfull. I will update the ticked, if is only a linear 10x scale is super easy.

Sorry about the trouble. Will let you know.

On 26 July 2017 at 11:27, Piotr Barejko notifications@github.com wrote:

In that scene it looks like scaling up by 10 fixes the issue: [image: screenshot from 2017-07-26 11-25-42] https://user-images.githubusercontent.com/953003/28637156-6c4daf1e-71f5-11e7-880b-e3b60d4589f9.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bareya/HoudiniBifrost/issues/6#issuecomment-318141472, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMBhF7GAJpJ4gvS2N9kR0I7pWGlBLSbks5sR4UngaJpZM4OjZ1n .

-- :-D.iego

bareya commented 7 years ago

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.