ezod / adolphus

Multi-camera system coverage modeling suite.
http://github.com/ezod/adolphus
Other
7 stars 5 forks source link

Pose composition using addition assignment is not mount-safe #3

Closed ezod closed 13 years ago

ezod commented 13 years ago

object.pose += Pose(T=(0, 0, 300))

is like saying

object.pose = object.pose + Pose(T=(0, 0, 300))

which is problematic if object is mounted on a non-identity pose.

Experiment.run() handles this for the camera modifier with complicated logic involving transforming the pose to the mount frame. Can this be handled internally in Posable pose setter code?