What is the best solution for draw lines in Viewport3D in WPF

Alex Hyx 1 Reputation point
2020-10-01T13:15:12.163+00:00

Hi I'm trying to make a 3D Chart of a surface with the Viewport3D class and it must be able to be moved with mouse. My problem is how to make the lines for the grid of chart. I need that the lines have a behaviour like 2D moving in a 3D space. I dont know what is the best solution for that. 3DTools seems be very ineficient with lines once it refresh 60 times per second. Is it recommendable to use DirectX for that?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,783 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.