I have developed currently an application that draws several ellipses using System.Graphics.DrawEllipse which works fine in c#.
Now I want to integrate this in order to display certain ellipses to different eyes using stereo imagining (3D) by providing each eye with a different image.I installed DirectX SDK and SharpDX and I want to use the produced ellipse(2D) and display it in a stereo/3D way using NVIDIA 3D and shutter glasses..
This question gives an answer of how to display Stereoscopic images in c# using 3D but it utilises the Surface class. I search a lot on the internet but couldn't find a way of drawing a shape or use the already drawn shape instead of an image (bitmap).
Any help is appreciated. Thank you.
The way I made it work was to save each created Ellipse ( through Graphics) in a bitmap, add each bitmap in a Bitmap List and load those bitmaps in a Direct3D Surface List and afterwards access whichever surface I want by index.
I hope it helps others as well.