开发者

How to draw XNA window inside a panel?

I'm d开发者_Python百科eveloping 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 http://img299.imageshack.us/img299/384/87117064.jpg

Here is the application.


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜