Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 20672

XNA is a game framework by Microsoft that allows deployment for Windows, Windows Phone & Xbox 360.

0 votes
1 answer
556 views

Drawing order in XNA

When manually setting the drawing order of game components by setting int DrawableGameComponent.DrawOrder can one use any integer numbers as long an order is defined like component1 => drawing or …
marc wellman's user avatar
3 votes

How to draw textures on a model

Fortunately this question has been answered by another user at SO. If your interested in the end of the story please refer to here
marc wellman's user avatar
0 votes
2 answers
961 views

Load order in XNA?

I am wondering whether the is a mechanism to manually control the call-order of void Game.LoadContent() as it is the case with void Game.Draw(GameTime gt) by setting int DrawableGameComponent.D …
marc wellman's user avatar
1 vote
1 answer
156 views

Consistency of DirectX models

Whilst compiling .x files with XNA GameStudio 3.1 compilation is aborted with the following error message: Error 2 Could not read the X file. The file is corrupt or invalid. … Suppose I have such a model my XNA compiler won't compile because their is an inconsistency somewhere in the file - how could I identify this in order to correct it ? …
marc wellman's user avatar
1 vote
1 answer
495 views

How to draw textures on a model

The following code is a complete XNA 3.1 program almost unaltered to that code skeleton Visual Studio is creating when creating a new project. …
marc wellman's user avatar
1 vote
1 answer
198 views

How can I efficiently render a very large model?

I have a huge model I want to draw in my XNA application; due to its size I am experiencing a tremendous loss of performance. …
marc wellman's user avatar
1 vote

Depth is disabled - How to turn on?

Thank you for all the comments and efforts. After having cut my whole program into pieces I found the error which was in fact a silly one. For some reason I set the depth of my main viewport I am usi …
marc wellman's user avatar
8 votes
2 answers
2k views

Rotate a vector

I want my first-person camera to smoothly change its viewing direction from direction d1 to direction d2. The latter direction is indicated by a target position t2. So far I have implemented a rotati …
marc wellman's user avatar
5 votes
3 answers
844 views

Depth is disabled - How to turn on?

In XNA 3.1 is there any other way to disable depth in 3D Worlds using DirectX models other than GraphicsDevice.RenderState.DepthBufferEnable = false; ? …
marc wellman's user avatar