Adding LineVisual3D messes up unrelated transformations
#1
Hello everyone,

my goal is quite simple: for a given hierarchy, take selected objects and draw them as a wireframe with center visualized as a sphere or as lines. For the sphere it works correctly as one would expect. I add a SphereVisual3D into a hierarchy of ContentVisual3D objects with only leaves as geometry. I attached ab3d dump file - correct.txt.
   

However, when I try adding LineVisual3D, it messes everything up. How messed up the result is depends on order and if the lines attached are under single ModelVisual3D or each by itself. Each of these object are added as a children of the selected ContentVisual3D. One wrong hierarchy attached as well - wrong1.txt.
   
   

So the question is: Where is the catch? Why does it do this nonsense? It even messes up with a grid defined outside the model itself (it takes the major lines of the grid as shown on the second image) or with the wireframe geometry, but not its solid part...

Thanks for reply and future insights


Attached Files
.txt   correct.txt (Size: 6.09 KB / Downloads: 2)
.txt   wrong1.txt (Size: 7.03 KB / Downloads: 1)
  


Messages In This Thread
Adding LineVisual3D messes up unrelated transformations - by janovrom - 08-05-2019, 04:05 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)