Skip to content

Export object and emitter's transform as parameter #43

@philcn

Description

@philcn

I'm playing with Mitsuba 2 to see if I can use it to optimize light and object position in a given scene. I realized that the world transform property is not currently exported during traverse(), and it's not straightforward to export.

For meshes, their transforms are baked in to their vertex positions during construction. For point emitters, their transform is an "AnimatedTransform" and doesn't support put_object() or put_parameter(), nor does its Transform4f member.

Is there any plan to support exporting transform parameters, or can you please provide any tips for me to implement them on my own?

Thanks,
Phil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions