Skip to content
Dorian Fevrier edited this page Dec 27, 2017 · 2 revisions

This page gather documentation and prototype discussion informations about the WIP alembic_camera.

Camera parameters

Here is the list of alembic_camera's parameters:

file_path (string)

Description

File path to the alembic file.

A warning is raised if the file doesn't exists or the camera fail to read the file content.

Example

<camera name="my_alembic_camera" model="alembic_camera">
    <parameter name="file_path" value="/path/to/my_cam_file.abc" />
    <parameter name="obj_path" value="/camera1/cameraShape1" />
</assembly>

obj_path (string)

Description

Camera object path in the alembic archive hierarchy.

A warning is raised if obj_path does not point to a valid camera.

Example

<camera name="my_alembic_camera" model="alembic_camera">
    <parameter name="file_path" value="/path/to/my_cam_file.abc" />
    <parameter name="obj_path" value="/camera1/cameraShape1" />
</assembly>

time_offset (float)

Description

Time offset (in second) applied to shutters when getting camera samples.

Example

This example add 0.04 seconds (1 frame at 25 fps) offset to camera animation.

<camera name="my_alembic_camera" model="alembic_camera">
    <parameter name="file_path" value="/path/to/my_cam_file.abc" />
    <parameter name="obj_path" value="/camera1/cameraShape1" />
    <parameter name="time_offset" value="0.04" />
</assembly>

interpret_as_maya (bool)

Description

Autodesk Maya™ store its camera with various parameters internal parameters. With this parameter, the alembic_camera will try to interpret those parameters to provide the same camera as exported from Maya.

A warning is raised if the camera doesn't seems to be a Maya camera.

Example

<camera name="my_alembic_camera" model="alembic_camera">
    <parameter name="file_path" value="/path/to/my_cam_file.abc" />
    <parameter name="obj_path" value="/camera1/cameraShape1" />
    <parameter name="interpret_as_maya" value="true" />
</assembly>

Discussion

  • What about shutters? They should be in camera but it this relevant?
Clone this wiki locally