Jump to content

Houdini Alembic camera import sizing


Recommended Posts

Hi,

rookie question:

Why is it that when I import an Alembic camera from Maya into Houdini, it makes the whole scene insanely large.

The camera moves a massive distance and as such I am forced to create massive grids and simulations with attributes set to numbers in the thousands.

This is really hard to work with and creates clipping problems if you move close to the geometry, which i cant seem to fix even in display options.

I'll attach the scene file and the ABC camera file (not sure how to attach them in the same file). So import the ABC file yourselves :) Basically the camera is leading a car straight along a road and there is going to be a dust storm in the background and also dust trailing behind the car.

If you convert the tube in the scene to Billowy Smoke, it comes up with a warning saying 'Object level scales detected. A new object has been created to convert to world space'. Which I suppose is a way of saying 'Hey, your scene is super massive and could be fixed somehow'.

I'd like to know if there is some way to import the same camera, but have the scene scaled to a suitable size so i dont have to put huge numbers in while experimenting with smoke, particles etc.

 

Thanks

 

Scene01.hipnc

Camera Alembic.abc

Link to comment
Share on other sites

So I went into Preferences, Hip File Options and changed Unit Length (m) to 0.01 (or centimetres).

This hasn't seemed to have done anything. Even if I create a new scene and re-import the camera, I still have to make a grid (nearly 1000 units in X, Y and Z for scale) just to cover the length that the camera travels.

I must be missing something here?

EDIT: So iv had a look at the camera in Maya, it moves about 22,000 units (cm's) in total. So when I take this camera and put it in Houdini, its moving 22,000 METRES right??

So to make this reasonable to work with in Houdini I need to divide this by 100, so the distance is about 220m. This should be done in Hip File preferences right? 

Can I scale the camera movement so It still moves the same and rotates the same, but over a shorter distance? Or can this be done in Houdini? I dont know how to edit the camera keeping in mind it is an ABC file.

Edited by charliejh
update
Link to comment
Share on other sites

19 hours ago, tamagochy said:

Maya work units - cm, houdini - m. Just scale it down by 100.

just make sure if you scale the camera alembic node by 0.01 that you go and scale the camera node it self by 100.

otherwise you will have lot of render errors in final image, shaders and lights will not work properly

 

you have to end up having final camera scale of 1 (compare camera icon in viewport to native houdinis camera icon), they have to match.

Link to comment
Share on other sites

plug in a null into the alembic archive sop, scale the null to 0,01.

use a fetch sop to get your camera transforms, plug that into a blend sop. in the blend sop deactive sclx scly sclz and plug that into a fresh cam. reference all camera params you need. when you're real smart wrap everything into a digital asset and be smart with your references so you just need to pick your original camera. hope that helps

  • Like 2
Link to comment
Share on other sites

5 hours ago, sekow said:

plug in a null into the alembic archive sop, scale the null to 0,01.

use a fetch sop to get your camera transforms, plug that into a blend sop. in the blend sop deactive sclx scly sclz and plug that into a fresh cam. reference all camera params you need. when you're real smart wrap everything into a digital asset and be smart with your references so you just need to pick your original camera. hope that helps

If you can make scene with example would be good. Because what i made from your explanation is not working.

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

Hi sekow,

In your example file, I dont see where you have placed the initial alembic camera? If my alembic camera is on object level, do I placed the fetch and blend nodes on object level and connect them to the alembic file? Or do I go inside the alembic file and then create the nodes?

Thanks

 

Charlie

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