-
- Managed DirectX vs Native DirectX performance
by Wiegje
- 8 Replies
- Last post
by Wiegje
- Greetings,
I'm sure many people asked this before but no one has ever been able to answer this for me :( I've searched high and low (on this forum too) but theres no answer to this question:
Whats the performance difference between MDX and DX
I'm currently writing a little 2D engine in MDX, and its quite fun to do! But it doesn't perform that well, I've managed to get a few performance ga
-
- Need Help With A load of stuff
by KIWIDOGGIE
- 2 Replies
- Last post
by KIWIDOGGIE
- I need code straight code for XNAGSE 1.0 becuase i am working on xwing flight and i need sone stuff like,
Anti-Alising x6 not x2
Motion Blur
A tutorial on Lens effect
if you can help please reply and NO I AM NOT A N00B
-
- xna with managed directinput
by daimaku
- 4 Replies
- Last post
by daimaku
- i'm making a game using the xna framework, the input class in the xna framework is good but i want to support old gamepad and joystick and i 'm using the directinput from the managed directx 9.0c, but when i use this line of code
game_control.SetCooperativeLevel(this, CooperativeLevelFlags.NonExclusive | CooperativeLevelFlags.Background);
the compiler gave me this two error codes:
a) The
-
- Puting texture on a 3D model with code
by Steffanp
- 2 Replies
- Last post
by Shawn Hargreaves - MSFT
- Hi. I have a 3D model that i have made in Blender. When i put a texture on the model in blender and export it to .x, the texture does not show in my XNA game :S. Is there a way to put texture on a plain (no texture) 3D model with code
-
- "Chaos" 3d FPS Game Engine (WiP)
by OasisGames
- 12 Replies
- Last post
by OasisGames
- Title: Chaos First Person Shooter Game Engine for XNA Objective: To design and write a first person shooter engine for the XNA that utilizes advanced shaders, shadows, and poly-based collision detection and to meet or exceed the capabilities of the engine used in "Halo" Website: [ here ] Time Frame: 4-5 Months (Expected completion in late April to early May, 2007) Description: The Chaos First Pers
-
- error loading model in xna framework
by daimaku
- 6 Replies
- Last post
by cronholio
- hello i have a problem loading a model that i have made it in 3d studio max 9, the model is a human all with texture, but when i put it in the content pipeline and try to run or compile the program the compiler send me this error
Error 2 BasicMaterial has a texture, but geometry does not contain texture coordinates. E:\my games\prueba01\prueba01\enzo.X prueba01
What i need to do to correct t
-
- JIT register allocation and bounds checking
by AndyL
- 14 Replies
- Last post
by AndyL
- A few questions for Shawn or one of his buddies:
1/ Does the register allocator used in the XBox JITter use all of the available scalar floating point registers If not, how many can it deal with
2/ Does the XBox VM ever skip array bounds checking, and if so under what conditions
3/ Presumably there are no bounds checks when using unsafe code and pointers
4/ Are the method inlining l
-
- Can I write 3D games in XNA?
by Mateusz Rajca
- 5 Replies
- Last post
by ProfEclipse
- Hi!
Can I write 3D games in XNA
~Matt
-
- Refreshing the graphics
by Althake
- 14 Replies
- Last post
by Thomas Aylesworth
-
- Help Please, kinda alot of questions in here
by moo10032
- 14 Replies
- Last post
by moo10032
- Hi, im a complete beginner with any kind of coding and i want to make a simple game to start learning how to code. I'm very fluent in 3ds max and want to put some use to the models i've made and put them in my own game... I want to make a simple space ship flight game. I've done the 3 tutorials for moving models but I dont really know how to apply them to my own game. heres mainly what i want; 1.
-
- My shadow maps work on Windows, not Xbox 360
by Brandon Bloom
- 12 Replies
- Last post
by Shawn Hargreaves - MSFT
- I'm having some problems getting my shadow maps to work on the Xbox 360, but they work great under Windows. There seems to be some weird SetRenderTarget and ResolveRenderTarget behaviors I don't really understand on the Xbox 360.
I¡¯ve got too much code to post here, so some pseudocode is at the bottom.
I realize it may be hard to help without seeing the actual code, so if more information is
-
- Selecting objects in 3D space
by CyberLord_Dan
- 6 Replies
- Last post
by CyberLord_Dan
- Hi! Can anyone tell me how to unproject the mouse coordinates to create a ray in 3D space And pls some sample code of how the PICKING operation is made (With intersectinformation..) Thnx. Note that I don't want to use the sample framework provided with the DirectX SDK . Thnx again. And I need it in C#, not VB, C++ ar J# !
This is for a program named Verter, but don't search for it because it is
-
- Question from XNA Tutorial 1
by Keith Henrickson
- 1 Replies
- Last post
by BlueG
- Ok, so, I see this going on in many people's 3D examples, so there must be something to it.
In XNA tutorial 1, in the Draw loop, they set every property of every effect every time through the loop. Why
It would seem to me that, since they always want default lighting, the best place to set that is in LoadGraphicsContent, right after the model is loaded. Same for the aspect ratio. They don't
-
- What does creators club include right now?
by Xefan
- 14 Replies
- Last post
by buster2000
- I'm a little puzzled about what the creators club actually includes, I've checked the FAQs and can't really find an answer. I have however managed to find the following: "The XNA Creators Club is available on Xbox LiveR
Marketplace for $49 (U.S.) for a four-month subscription, or $99 (U.S.)
for an annual subscription. Both subscriptions provide aspiring game
developers with access to thous
-
- mesh loading error
by o.miller
- 1 Replies
- Last post
by Bad Habit
- hi i just started coding a simple dx powered engine 'n when i tried to implement mesh loading into i got this error:
this is the constructor of my mesh class:
CBaseMesh::CBaseMesh( char * szFileName, IDirect3DDevice9* _pD3DDev) {
if (FAILED(D3DXLoadMeshFromX(szFileName, D3DXMESH_SYSTEMMEM,
_pD3DDev, NULL, &pD3DMaterials, NULL, &dwNumMaterials, &pD3DMesh)))
MB( "err
-
- DirectX and Visual Studio 8 Help
by novasheep
- 2 Replies
- Last post
by novasheep
- I am trying to learn DirectX for 2D programming and have been running into some brick walls while doing so. I am currently learning from Sams Teach Yourself Game Programming With DirectX. This book uses DirectX8 but I have had problems with DirectX8 working with VS8 so i started using the April Dev kit and all seemed to be just fine until i ran into this code.
Code Snippet
////////////
-
- 3D model is incorrect after adding a Sprite in 2D
by nick5454
- 3 Replies
- Last post
by Lostlogic
- I took the example of drawing a 3D model(tutorial 1 and 2(spaceship)) and then pasted the code from the tutorial of the "Drawing a Sprite"
When It renders the ship doesn't have volume. In that I can see right through it. Does anyone know what is wrong. Is there some thickness setting for the graphic devicer that I need to set
The complete code is pasted here:
#region Using
-
- XNA with VertexBuffers only? (No loading content)
by Tito Jermaine
- 5 Replies
- Last post
by Jon Watte
- I'm trying to create just a simple test app that draws some triangles on the screen. I don't want to load any models, just use a VertexBuffer and IndexBuffer right now. I load the buffers and set them on the GraphicsDevice. When I call DrawIndexedPrimitives, I get the following error:
"Both a valid vertex shader and pixel shader (or valid effect) must be set on the devic
-
- .Net C# Developer moving into Gaming
by ceedee
- 3 Replies
- Last post
by Pieter Germishuys
- I am a .Net Developer and wish to move into gaming. I have downloaded the latest DirectX SDK and have been trying to do some self study to get started. However I have been unable to do so. Any suggestions on how I could make a quick beginning and one with a good base. Are there any sites/books which will help me start from scratch.
-
- Save projects under new filenames?
by jeffmorris
- 3 Replies
- Last post
by Jim Perry
- XNA Game Studio doesn't have a command to save projects under new filenames or make copies of projects. For example, create a new project while going through a tutorial from a web site. Is it possible to save projects under new filenames or make copies of projects
-
- Humorous but somewhat serious question about XNA
by redshock
- 14 Replies
- Last post
by Jim Perry
- Microsoft has claimed the Nintendo Wii as a "kids toy;" however, if XNA can produce graphics and push performance up to what the Wii is capable of handling (games like Half-Life, Sims 2 from most XNA performance claims), does that mean that XNA is a kids toy too
-
- "Chaos" 3d FPS Game Engine (WiP)
by OasisGames
- 12 Replies
- Last post
by OasisGames
- Title: Chaos First Person Shooter Game Engine for XNA Objective: To design and write a first person shooter engine for the XNA that utilizes advanced shaders, shadows, and poly-based collision detection and to meet or exceed the capabilities of the engine used in "Halo" Website: [ here ] Time Frame: 4-5 Months (Expected completion in late April to early May, 2007) Description: The Chaos First Pers
-
- Transforming from view-coordinates to world
by Yorthen
- 1 Replies
- Last post
by Yorthen
- I'm currently rewriting the ModelViewerCamera slightly to control it in a different way than possible as it is. One of the things I'm trying to do is to change how the camera is moved with the mouse, I want to be able to move the centre of the arcball so that when the mouse is used to rotate the camera/model the rotation will be performed around the lookAt-point (this does not happen if you use th
-
- Grouping units like in a RTS game
by GMS0012
- 12 Replies
- Last post
by GMS0012
- hello all..
is it possible to group units (drawing a rectancle) while holding down the mouse button with XNA
i am planning to do a 2D game where i would need this..
if yes, please give me a hint how to do it...
thanks in advance
greg
-
- How to use DirectX 10 to get graphices memory ?
by srjing2
- 8 Replies
- Last post
by srjing2
- Dear All ,
I had read the Microsoft white paper for "Graphices Memory Reporting through WDDM"
It talk how to retrieveal of graphics memory values .
I had use VC++ 2005 wit DirectX 10 SDK to build program , but I wan't to use function
"CreateDXGIFactory( )" to get the struct data "DXGI_ADAPTER_DESC" , but compiler alway error , error message
"DX10Dl