tags:

views:

294

answers:

1

I'm developing a 3d Viewer in vb.net and xna. It's working very well. I have now a windows form and an xna render window, but I would like to render it inside a panel in the windows form. I have searched for info, but it's so hard to adapt it into my application. How can I do it?

alt text

Here is the application.

+1  A: 

IMO, you should keep it separate. It is so much easier because you don't have to worry about managing the graphics device. However if you must know, you can find the winforms series on the xna creator's club site. it shows you how to render to a winforms panel

  1. http://creators.xna.com/en-US/sample/winforms_series1
  2. http://creators.xna.com/en-US/sample/winforms_series2
Joel Martinez