Jump to content

Get look vector from Alembic camera


rcwork

Recommended Posts

Hi.

How can i grab direction vector from Alembic camera?

 

In build-in camera i can do this using Camera "Rotation" values.

But alembic camera has no any transform values - fields are empty..

How can i grab alembic camera direction?

 

Thanks!

Edited by rcwork
Link to comment
Share on other sites

Hi.

How can i grab direction vector from Alembic camera?

 

In build-in camera i can do this using Camera "Rotation" values.

But alembic camera has no any transform values - fields are empty..

How can i grab alembic camera direction?

 

Thanks!

 

You can either import the camera in an Alembic archive and use the objlookat() expression function, or you might look at the  - Alembic Python extensions (getWorldXform).

Link to comment
Share on other sites

  • 2 weeks later...

Guys, thanks you all for replies. A lot of time i avoided to learn python. Always used MEL for Maya, hscript for Houdini.
I have started learn python api or houdini and maya, four days ago. Now i can use python scripts. Thanks Jason !

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