I'm working on a custom Qt widget for Maya that takes an object in the current 3d view and based on the mouse cursor's position to the object's bounding box, shows or hides that object. I'm not using box/ line intersections from the screen to the bounding box. I'm taking the center, min, and max points and converting them to screen coordinates, then sending those coordinates back into the scene to determine if they correspond with the cursor's position in the scene.However I can't figure out how to get the bounding box in world space or even object space coordinates to compare to the cursors'. Even when I try to reconstruct a bounding box from the shape beneath the object using all the points on that shape, the mouse still isn't hiding/revealing the object at where the bounding box should be. How am I supposed to get accurate bounding box data, if Maya's default wrapper for handling bounding boxes can't?
-- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
