Is there a way to draw lines in 3D space using WPF?
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?
There is no easy way to achieve that with 3D, you need a lot of graphing. You could refer to 3D Transformations Overview to learn to implement how to implement. Microsoft provide lots of samples in here which may give you help.
Sign in to comment