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?

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,709 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
789 questions
{count} votes