0

LinesVisual3D performance question

Anonymous 10 years ago 0
This discussion was imported from CodePlex

peterthesaint wrote at 2014-08-22 15:57:

Hello !!!

Previously in my model I was using ScreenLinesVisual3d.
Now I noticed new Helix version allows LinesVisual3d and I was wondering whether you have implemented changes suggested in this link:
http://www.ericsink.com/wpf3d/1_ScreenSpaceLines3D_Performance.html

I am asking this because I still see a big impact on performance.

Regards,
Peter

objo wrote at 2014-08-22 21:54:

LinesVisual3D is only updating the geometry when the view/projection transforms are changed. This should handle the performace issue that Eric Sink is pointing at.

I did some profiling when I created the LinesVisual3D, but there are probably improvement possibilities! There is a demo application where you can compare the performance with the 3DTools and Petzold.Media3D implementations. I see AB4D also has an implementation of 3D lines, has anyone compared the performance with this?