So I’m trying to display an object whose Transform gets updated every 10ms or so. To do this, I’m using a custom Display Conduit and the DrawObject method:
var o = e.RhinoDoc.Objects.Find(rpo.Guid);
e.Display.DrawObject(o, newX);
So far, so good. However, once these objects transform themselves far enough away from their parent objects, they start to get clipped. I’ve tried to override the CalculateBoundingBox function, but they still get clipped:
base.CalculateBoundingBox(e);
e.BoundingBox.Transform(Transform.Scale(Point3d.Origin, 100.0));
Screenshot:
Also, how would I change the display material of the transformed object? It seems that I can only use DrawMesh(Mesh, Material) on the parent object (i.e. object before Display transformation)…