-
- problem viewing .x file format done in Blender
by getfree
- 2 Replies
- Last post
by getfree
- Im having a problem when executing the first tutorial of xna tutorial documents in the msdn express, the model works just fine when i use the tutorial example " p1_wedge.fbx " but when I use my model, a .x model I made in blender and used the directx .x exporter , the model appears with transparency and I can see the colors at the other side of the model, really strange, are there any ideas why th
-
- Exception on calling UnlockRect
by Sarath.
- 1 Replies
- Last post
by ProfEclipse
- Dear All, Please have a look into the following code. An exception occurs when I call UnLockRect. Are you able to see some problems with the code The level is defined as 0 in this case. Other type of texture creations are working properly. Problem happening with D3DFMT_A32B32G32R32F type. hr = D3DXCreateTexture(
m_pd3dDevice, SCIF_TEXWIDTH,
SCIF_TEXHEIGHT, D3DX_DEFAULT
-
- HLSL design and compiler cleverness
by Thomas Lindquist
- 1 Replies
- Last post
by Stuart Yarham
- I have a good amount of shaders/fx files where all have several techniques for various shader level and detail implementations. In a worst case scenario this leads to a lot of similar code being represented in the various vertex and pixel shaders I use, which is really a maintenance hell if left like that. Change code in one place and 5+ other places need the same change. So this leads me to the f
-
- 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
-
- Using XNA On Windows Boot Of MacBook?
by Nick Gravelyn
- 4 Replies
- Last post
by Jack H. Palevich
- This is an odd question. I'm more of a Mac person for my daily routine, but I love XNA and want to use it for my game programming. I currently have a PC tower which is my primary programming station, but I'm about to buy a new Mac laptop and wondered if anyone here has had any experience using XNA while booting Windows on a MacBook with BootCamp. My main concern is the graphics. It uses the Intel
-
- Processor Parameters
by Brandon Bloom
- 2 Replies
- Last post
by Brandon Bloom
- I am using a model processor to produce a path finding network. It is working quite well!
http://sharpx.blogspot.com/2007/01/first-steps-along-path.html
The green nodes are some offset away from the corners that were detected as significant to the path network. I would like that offset to be configurable; preferably as a property of the file in Visual Studio.
How do I provide custom param
-
- issue about DrawIndexedPrimitives
by NeTBaPb
- 3 Replies
- Last post
by Kyle_W
- hi.
one of the DrawIndexedPrimitives method parameters is NumVertices that specify number of vertices during the call as all you know. but i faced a problem that this parameter reads vertices that are one after anothe in the vertexbuffer. let me explain my problem on a picture:
for example i have such vb:
1 5 9 13
2 6 10 14
3 7 11 15
4 8 12 16
and i need to draw triangles that
-
- 2d resets with nuclex fonts?
by sugrhigh
- 9 Replies
- Last post
by sugrhigh
- I've done the resets from Shawn Hargreaves blog and it's worked in the past, but since i moved over to the nucles font engine these dont work(even in a minimalistic demo setup). The model(s) are still skewed.... anyone have a workaround
-
- Material vs Shader
by Fluxtah
- 14 Replies
- Last post
by Arek Bal
- Welcome to another one of my newb questions! Can somebody explain the difference between a material and a shader
My own ideas would probably be:
- A Material defines the texture and lighting properties of a surface, and maybe even the sound properties of a surface. Visual qualities of a material can be described with shader(s) ! Anyway, if someone could give me some ideas here as
-
- XNA GSE for 360 ? - This Holiday Season ?
by ECHS BACHS
- 5 Replies
- Last post
by David Weller - MSFT
- ... Just Checking ...
The XNA GSE for the 360 is supposed to be released ... "This Holiday Season" ...
Any actual Date Ranges at this Point
-
- unloading model resources
by GeoffNin
- 2 Replies
- Last post
by Inaki Ayucar
- Im trying to figure out how to manually unload models/textures/shaders ect.
Halp me Intertron!
-
- Custom Content Processor - Usage
by andyfraser
- 2 Replies
- Last post
by andyfraser
- Hi,
I am looking from some advice on writing a custom content processor for XNA.
I have been working on a tile engine and have my Windows based tile map editor up and running. This editor produces an XML file holding all the tile set bitmaps, a list of all the levels in the map and a list of layers on each level. I am thinking of using a custom content processor to load this XML file, parse
-
- Custom soundtracks
by Shaolyen
- 3 Replies
- Last post
by Shaolyen
- I've only had XNA Game Studio Express since yesterday, but I've been having a lot of fun with it. I've started working on a game which is coming along nicely, but one thing irks me - I can't figure out how to have music playing that stops when a user chooses a custom soundtrack instead. At the moment, when a user chooses their own track is starts playing fine, but the game soundtrack continues to
-
- Whats the deal with DirectX being owned by XNA?
by c1t1z3n0
- 12 Replies
- Last post
by c1t1z3n0
- How come when I go here:
http://msdn.microsoft.com/directx/
I get redirected here:
http://msdn2.microsoft.com/en-us/xna/aa937781.aspx
Is XNA making a move on owning DirectX It seems after reading some basic information on microsoft.com regarding recent statements about XNA and its current goals I'm led to believe that perhaps the whole of DirectX is being cut up and fed to XNA. First D
-
- Bug in BoundingFrustum.Contains()?
by --Alan---
- 13 Replies
- Last post
by --Alan---
- If i write the following code: BoundingFrustum f = new BoundingFrustum(new Matrix(1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2)); Vector3 vector = new Vector3(1,1,1); BoundingBox box = new BoundingBox(vector, vector); ContainmenType t; t = f.Contains(vector); Console.WriteLine(t); t = f.Contains(box); Console.WriteLine(t); I'd expect both to give the same answer. Either both are contained or bot
-
- The Unofficial "Hooray I'm Done With my DBP Game" Thread
by Bill Reiss
- 14 Replies
- Last post
by Handkor
- When you get done with you game and sumbit it, crow about it here.
A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college
Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits.
Bill
-
- Where do I start
by Stricken618
- 4 Replies
- Last post
by Darkside
- Hello fellow gamers,
I am the newb next door and I need someone to tell me where to start. Where is the best starting point in the road to a professional game designer Do I start with 2D games Or 3D
-
- DXT compressed Textures
by WolfgangEngel
- 6 Replies
- Last post
by WolfgangEngel
- Hi,
in general it looks like there are the same DXT texture compression formats as for DX9. I assume those compression formats do not work with the new
DXGI_FORMAT_R9G9B9E5_SHAREDEXP & DXGI_FORMAT_R11G11B10_FLOAT
formats In real-life (TM) I always have to store texture data in DXT compressed formats ... if I want to opt for a better color quality in compressed formats, nothing seems
-
- ODD Bumpmap issue
by Nemo Krad
- 10 Replies
- Last post
by Nemo Krad
- I have bought a book on shaders and have been going through the tutorials with some success.
However I now have a rather odd issue with my bumpmap shaders... I have three shaders, a bumpmap shader, a parallax bumpmap shader and a self shadowing bumpmap shader. My issue is that when I run my engine with the bumpmap shaders I get a rather odd effect happening, but (after many days of trying to so
-
- Let's go 3d engine
by Michael Hansen
- 14 Replies
- Last post
by Jim Perry
- sorry about my typos i am word blind , but the math thing is in place
Hello i like to share some info width you
mabye you have seen crytek 2 engine
and my is how do we make a aaa 3d engine
here is a link to a paper about the crytek 2 engine
http://ati.amd.com/developer/siggraph06/Wenzel-Real-time_Atmospheric_Effects_in_Games.pdf
well the 3d evolution game engine(my engine)
-
- DirectX - How to pick a point on 3D object
by igorbaITALY
- 2 Replies
- Last post
by igorbaITALY
- Hello everybody,
I'm working with DirectX to develop a simple 3D application in my VB.NET project.
Actually, I'm able to rotate, move and zoom my 3D objet and now I would like to implement the possibility to pick a point on the 3D object with the mouse.
In particular, the user must have the possibility to click everywhere on the object and put a "chek" on the selected point
-
- Rendering hundreds of models
by leclerc9
- 4 Replies
- Last post
by Leaf.
- How do games like Medieval: Total War 2 render hundreds of skinned models running different animations on the screen and still run at a good frame rate Is it possible that the models are not skinned I can't get more than 100 skinned models (matrix palette size = 50, verts = 5000) to run without getting a noticeable frame rate hit. This has to do with the fact that I am using shader instancing and
-
- Get Screen Coordinates of Vertices?
by BigWinston
- 2 Replies
- Last post
by Jon Watte
- Hey,
I'm looking to obtain the screen (X and Y) co-ordinates of vertices.
Whenever I move my mouse over a vertex I want to change it's color, but don't know how to compare the mouse position with my vertices.
Any suggestions Thanks
-
- Question on deferred shading with normal mapping
by Keith Newton
- 5 Replies
- Last post
by Keith Newton
- Hello, I am currently working on my deferred shading engine and have run into an interesting problem concerning the usage of normal maps. At the moment I am storing the normal for each pixel in world space during the geometry pass. All of my lighting calculations are also being done in world space. The problem I am having is it seems more people seem to do normal mapping in tangent space. In fact
-
- Use XNA to make a map maker?
by MetaKnight
- 6 Replies
- Last post
by aweiland
- How can I incorporate XNA into a Form so that I can make a map builder rather then make the whole interface inside XNA , I would like to be able to use windows controls. Thank you