如何创建Xna Windows控件并在3Ds Max 64位作为插件打开它?

问题描述:

大家好。我正在为3D Studio Max创建一个地图编辑器的插件,但我需要一些快速的2D渲染解决方案和高级API,如XNA。我allreade创建了一个表单,然后将其作为3D Studio max的一部分加载。但是当我尝试在3d studio max中运行带有XNA控件的表单时,它会给我一个错误。 VS中的构建平台是任何CPU,在Windows下作为应用程序,它运行时没有任何错误。



请建议我该怎么做。或者为我的编辑推荐一个更好的解决方案。

SlimDX和SharpDX对我的任务来说太低了。我需要64位wirh DirectX支持,我使用像我的WinForm上的Control一样。



我认为我的3D工作室Max是64位,XNA是32但为什么它作为一个应用程序在Windows中运行,并且作为3D max插件运行。

Hello to everyone. I am creating a plugin a map editor for 3D Studio Max but i need some fast 2d rendering solution with High level API like XNA. I allreade created a form then loaded it as a part of the 3D Studio max. But it gives me an error when i am trying to run a form with my XNA control inside 3d studio max. Build Platform in VS is "Any CPU" and under Windows as an application it runs greate without any errors.

Please suggest me what should i do. Or recomend a better solution for my editor.
SlimDX and SharpDX are too low level for my tasks. I need something 64 bit wirh DirectX support wich i cloud use like the Control on my WinForm.

I think that my 3D studio Max is 64 bit and the XNA is 32 bit but why it runs in Windows as an application and dosen`t run as a 3D max plugin.

解决了!我正在使用OpenGL!可以使用构建目标x64的OpenTK构建项目。
Solved! I am using OpenGL! One could build projects with OpenTK with the build target x64.