Is there a way to draw lines in 3D space using WPF?

Max Kraemer 1 Reputation point
2021-06-24T16:40:59.71+00:00

I'm trying develop a WPF application using a Viewport3D control. I need to be able to draw lines in 3D space to draw satellite orbits and rocket trajectories around a globe, so I really need the lines to be occluded by the globe when they are on the back side.

However, it appears that I can only specify triangles. Is that really the case? Coming from OpenGL development, it seems like that's a really fundamental feature that's missing if that's the case. Does anyone have ideas of how to do this in WPF?

Developer technologies | Windows Presentation Foundation
Developer technologies | XAML
{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.