alicevision / MeshroomMaya

Photomodeling plugin for Maya
http://alicevision.org
Mozilla Public License 2.0
140 stars 36 forks source link

Optimise intersections / List meshes #111

Closed eprana closed 9 years ago

eprana commented 9 years ago

Work on #86 and #55 List meshes in interface and add a option to active a mesh in plugin.

Troubles with Maya callbacks on mesh creation : node is not completly created when callback is called.

eprana commented 9 years ago

Camera space positions in cache are computed for each current camera when needed (if not already in cache). But currently, these data are not removed when the current camera changed. I don't know if it is necessary since these information are cleaned when cache is rebuild, so quite often.

eprana commented 9 years ago

I still have some issues :

eprana commented 9 years ago

When we click on "Mesh" button, the list is reloaded. It happens because when a mesh is added, the list is not correctly updated since the callback is called while the node is not completly created. So we need to refresh the list.

fabiencastan commented 9 years ago

LGTM

eprana commented 9 years ago

@fcastan I don't know why setting color make the plugin crash, but it seems to solve the problem ...