I'm building a Cad like program that visualizes AutoCad models. Right now I’m using a VRML-ActiveX for render the 3D-scene (converting AutoCad DWG-format to VRML-fornat). My current 3d-engine is quite bad at visualizing models more than 20.000 objects.
I now wonder if XNA can be the solution for me? My program is written 100 in C# (except for the 3d-ActiveX control.) so I really like to use XNA instead.
Can I use XNA I Visual Studio and insert a XNA-3D-scene in my Form?
Any one seen any converter from the DWG-format to some format that XNA can handle.
Hope any have some tips on this…
XBL Radio.com has put out their roundtable on XNA with myself and a couple of developers. Check it o...
By jimperry
hi Guys another update with the games component for redering bounding box,Spheres , line, the code e...
By tridex
I was wondering, is there a proper way to setup an object in max for export as .fbx to xna?For examp...
By dchin
Get it here:http://www.microsoft.com/downloads/details.aspx?FamilyID=21e979e3-b8ae-4ea6-8e65-393ea76...
By davidweller_msft
I am working with Dark Basic Professional and want to check out XNA. I have visual studio.net I can'...
By drreaper, 6 Comments
A game I have been developing works perfectly fine on windows, however, causes my xbox to hard freez...
By adamhines, 10 Comments
Will the XNA framework allow unsigned xna framework code to run on xbox360? Or does it need to be si...
By benji720, 3 Comments
Hi,anyone know about using a system for physical simulation in games with xna?I found the XPA projec...
By plucked, 6 Comments
Was wondering if anyone knows if there are any free Starter Kits out there for XNA, besides the ones...
By carlosperez, 1 Comments
If you use the XNA Game class, it creates its own form and the DirectX surface will take up the entire form so you cannot easily add other Windows Forms controls. There is a sample on the following blog about hosting an XNA window inside of a Windows Forms PictureBox control, which would allow you to place it and size it as you like, and add other controls, but you sacrifice the features of the Game class, such as automatic GPU device management:
http://tonigreco.spaces.live.com/
Also, if you are drawing 20,000 unique objects, then your performance is not likely to be better with XNA. The CPU becomes a bottleneck when you have large numbers of Draw() calls. To improve your performance you would need to either merge some of the objects together so they can be drawn with a smaller number of Draw() calls, or if many of the objects are duplicates of each other, you could use a technique known as hardware instancing. There is a C++ example in the DirectX SDK that demonstrates hardware instancing. You may also find it helpful to read the following forum post which discusses this sort of problem:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1242843&SiteID=1
kyle_w | Thurs, 13 Sep 2007 14:10:00 GMT |