c# - Drawing 3D Lines with WPF -
We all know that to attract pure lines in 3D space on View Port 3D, within WPF 4.5 There is no native functionality.
And I am aware of the fact that there are some 3D toolkits for WPF but for my masterthesis I have built my own 3D engine. It is almost complete but I would like to be able to attract the wireframe of my object (for example, to show the punching of a circular sphere). My engine can present almost every basic geometric form (cube, spherical, cone, cylinder, pyramid, ..)
Do you have any idea how to draw the line? (My only idea is to use very thin cylinders or cubes ... but I do not think it is very efficient because I have to present at least 8 digits (12 triangles) for a line
So you need your data color, multisamming, width or whatever information you need, in your engine's pixel shader Pass the required data and attract that line with PS T.
Comments
Post a Comment