Gaming World Forums
General Category => Technology and Programming => Topic started by: Carrion Crow on December 16, 2010, 06:03:06 pm
-
Hello,
For my final year project I am creating a motion capture system. In order to display the current positions of the infrared markers in the camera scope I am performing triangulation and this returns 3D coordinates of their locations.
I would like to be able to display them in a 3D viewport but I am unsure over which route to take so that I can get a nice embedded 3D window in my Windows Form App.
Have any of you put a 3D view in a forms app before? Was it easy?
I have looked at XNA and some OpenGL wrappers but I am none the wiser as to which is going to be the biggest pain in the bum.
-
I've only used XNA with 2d, but that hasn't been two hard. What were your reservations about it?
-
Never used it before! Just want a simple homer-simpson's-spice-rack style solution I can tack on to my project.
-
nobody else had any suggestions i guess?
you could also use slimdx or something.
-
I know how to do it!!
Basically it involves using pointers from the graphics buffer of XNA to a handler of a form object. (usually I use a graphics box).
I'm uploading the code right now.
http://www.youtube.com/watch?v=X07LKMZGWdo (http://www.youtube.com/watch?v=X07LKMZGWdo) <== here is how I used it. this was like one of the first things I made in XNA and C#.
http://www.megaupload.com/?d=29LTJJA3
-
I well thought this thread had disappeared! I am downloading now to have a look. Thanks much!
-
No prob. :D Let me know if it's what you were looking for.
if megaupload sucks, you can find the code here: http://rpgmaker.net/games/2217/. I made a separate file in the download section just for the template.