-
- Octree - Handling static geometry, primitive splitting
by Fluxtah
- 8 Replies
- Last post
by Fluxtah
- Hi,
I am using XNA to develop my game. I finally have a working octree where I can insert renderable objects based on their AABB, in my book it mentions that static geometry is best inserted into the octree and polygons should be split if they straddle.
The thing I cant get my head around is, How do I best manage static geometry that makes it suitable for polygon splitting If I am using dire
-
- Using .X files for world model
by C Senthil Kumar
- 4 Replies
- Last post
by C Senthil Kumar
- In my game, using .X file format for objects in the world (players, health pack etc...) is okay. Right now, my game doesn't have a detailed world.
When it does have a detailed world, can I use the .X format for the entire world One .X file for a huge level or part of the level If I use it, Can I get the individual triangle vertices from the mesh
-
- problem after collision
by GMS0012
- 7 Replies
- Last post
by Arek Bal
- hello all..
i do a collision check..
this is working..
if a collision is detects the movement stops...
but how can i reactivate the movement (after changing the direction of my vehicle - because the bounding boxes still collide )
can you give me an advice please..
here comes the code
public void UpdateVorwar
-
- How to get distance from point to triangle or plane in XNA
by selinux
- 8 Replies
- Last post
by Michael Morton
- Hi all
Ok, I'm trying to do ray picking in XNA with mesh positions and some terrain geometry, but I only found these classes:
Ray
Plane
BoundingBox
BoundingSphere
BoundingFrustum
Intuitively, I tried to use Ray with Plane to test for intersection, but it¡¯s actually impossible.
I need realistic in
-
- XNACommunityArcade - Need game info / links...
by Jason Jaegers
- 9 Replies
- Last post
by Mordt2
- XNAResources.com is about to launch the next site in our site network... The site is called XNACommunityArcade! We hope that it will turn into THE CENTRAL listing place for all XNA created games! Since right now there is no "Arcade" for the games developed with XNA we want to start building one for the community!
Here is a screenshot of the site:
http://www.xnaresources.com/xnaco
-
- DirectShow and playback of DRM-protected WMV files?
by zam
- 1 Replies
- Last post
by Jim Perry
- Does XNA support DirectShow, or have a Windows Media Player component for playing WMV files What about DRM support
-
- Color Banding
by Bloom326984
- 11 Replies
- Last post
by Bloom
- I am getting color banding issues when viewing my project on my Xbox 360. The textures look perfect when the app is ran on windows, using the same XNA source just in a different project. But when I display the textures on an Xbox 360, I get serious color banding. These issues are most pronounced when my Xbox is set to output at 720p or higher resolutions, but the color banding is still there even
-
- Textures don't show up when using Basiceffect
by MoP73
- 13 Replies
- Last post
by Shawn Hargreaves - MSFT
- Hi, I'm just trying to create a couple of walls and apply a texture to them. Unfortunately, when running the program the walls just come out as a grey sort of colour (depending on the texture, the shade of grey seems to change). I'm assuming there's something obvious I'm missing, so I'm hoping someone can help me out. Here's snippets of code handling the basiceffect: //In loadgraphicscontent:
-
- Networking Code Information
by fletch27502
- 1 Replies
- Last post
by Jim Perry
- Is there a description on the network code(xBox Live) support
I need to give some estimates on how long a room based chat would take to implement, but I haven't been able to find information about networking support in the XNA dev kit. Is there an API to handle this, or do we have to develop this from scratch
TIA,
Scott
-
- Fastest way to create texture from existing RGB data in memory for Direct3D
by Celios
- 3 Replies
- Last post
by Wessam Bahnassi
- Hi, I have been wondering about the most efficient way to create texture in Direct3D from existing RGB data already loaded to RAM because I feel like I need to increase performance to my application. The way I do it now is this : d3tex is an LPDIRECT3DTEXTURE9 D3DLOCKED_RECT rect; d3tex->LockRect(0, &rect, NULL, D3DLOCK_DISCARD); CopyMemory(rect.pBits, rgbdata, width*height*sizeof(rgbdata))
-
- Collision Detection With Bezier Curves
by Fusion1224
- 14 Replies
- Last post
by Arek Bal
- Hi, I'm currently making a small 2D game in XNA Game Studio Express. It involves a player moving around a terrain and being able to collide with it. Nearly all the graphics and settings in my game are user generated so this allows for everything to be quite customisable. For collision detection the user specifies paths made of Bezier curves which are stored in a file. The game reads this file and
-
- Need help running this game.
by YellowShadow
- 7 Replies
- Last post
by YellowShadow
- I have just compiled DeadJustice. It is a game using the catmother engine (http://www.sf.net/projects/catmother). From the forums I downloaded the version that supports Visual Studio 2005, once I compile and run it, it gives me an error and says that lightmap.fx is not compatible or something. I am using the version of DirectX before February 2007. Can anyone help me The shader code is below. If y
-
- Can't use Microsoft Points to subscribe to XNA Creators Club?
by Spollie
- 8 Replies
- Last post
by waruwaru
- Hello,
I want to become a member of the XNA Creators Club, and because I don't own a credit card I went out and bought 2 x 2100 Microsoft Points (because it also showed "redeem code" as a payment method). After entering both the 25-character codes, it didn't accept this as a payment method.. So now I'm stuck with 4200 Microsoft Points and an empty wallet. Is there a way to become a me
-
- Vibrate the controller for 1 second?
by Sonix2001
- 7 Replies
- Last post
by SouLDragooN
- Hi,
I've just starting playing around with XNA for xbox 360 and have a noob question
I want to vibrate controller 1 for a single second. I know to set vibration on I can use the code:
GamePad .SetVibration( PlayerIndex .One, 1.0f, 1.0f);
and to turn it off:
GamePad .SetVibration( PlayerIndex .One, 0f, 0f);
But how do you set the length of time for it to vibrate
I h
-
- Managed DirectX
by josericardo_jr
- 12 Replies
- Last post
by josericardo_jr
- Hi people,
Hi run some application with comes with DirectX SDK and both Managed and Unmanaged application's FPS stay the same. But when I run Managed application in fullscreen, it decrease a lot. It doens't happen with unmanaged Directx. For example, my application in C++, running in fullscreen mode, stay in 270 FPS. When I run the same application in Managed DirectX fullscreen mode, it sta
-
- How can I get the Vertex-Format of a ModelMesh?
by plucked
- 2 Replies
- Last post
by plucked
- Hello, How can I get which Type of VertexFormat a ModelMesh have My Problem is, I have a Model with an Mesh which contains TextureCoordinates and one without. In the same modelfile. How can I get the right VertexFormat from the VertexBuffer from each Model thx you
-
- Bug debugging exceptions with Debug DirectX runtime
by Jon Watte
- 0 Replies
- Last post
by Jon Watte
- If I have the debug DirectX runtime installed, and try to step over an XNA function that will throw an exception, the debugged program locks up, havint to be force quit. With the release DirectX runtime, I get the proper exception. I believe this started happening with October or December SDKs, as I believe this might have worked on the August SDK, but I'm not 100% sure about the timeline. I know
-
- Learning....
by johnny_no1_boy
- 3 Replies
- Last post
by johnny_no1_boy
- Hello.I wan't to make a DirectX Application (not a game).I wan't to use a lot of animations, etc (things from DirectX).Where I can find a good tutorial to learn me:
1 - How to draw lines, rectangles, circle, sphere.How can I animate them.How can I fill them with color (not only a color....).How to use texture
2- How can I insert windows form controls (like buttons,textbox,etc) but desing t
-
- Help What do I need to download so I can connect to my 360 for XNA?
by Deuce BOI
- 14 Replies
- Last post
by Stephen Styrchak - MSFT
- What do I need to download so I can connect to my 360 for XNA Do I need to download windows media connect
-
- What file types (for models) can you import into XNA?
by reallySCarey
- 1 Replies
- Last post
by Jim Perry
- Can i use 3ds max 8/9 to create models for XNA And will i be able to use their properties (textures, shaders and bone structure etc.)
-
- Subscription not available on my Xbox!
by Peter Lillevold
- 14 Replies
- Last post
by Michael Klucher - MSFT
- Hi!
Is there any reason why the Creators Club Subscription is not showing up on my Xbox
I live in Norway, but I've not read anything about any region restrictions on this download. I want in on the fun too!
-
- Official List of Features and Limitations of the various Pixel Shader versions?
by Kyle_W
- 13 Replies
- Last post
by leclerc9
- Does anyone know of an official list of features and limitations for the different Vertex Shader and Pixel Shader versions (1.1, 2.0, 3.0, etc)
I couldn't find anything on the Microsoft or nVidia web sites or on the web. I don't even know for sure who governs these standards.
-
- Setting project up to be cross platform
by waheyluggage
- 11 Replies
- Last post
by waheyluggage
- Hello
Any advice on what's the best practice for setting up your game to run on both PC and Xbox Even better if there could be an included example of this.
I'd like to develop my game on the PC and only running the 360 version periodically. In the past I've set up seperate builds so I'd have a release\debug versions for PC, PS2 and Xbox1.
I've seen posts mentioning creating
-
- General Audio Disfunction
by dagfari
- 12 Replies
- Last post
by Pange
- After about 10-15 minutes of gameplay, the audio slowly begins to become more and more distorted and fractured sounding. Both the sound FX and BGM gradually become more choppy and grainy sounding while dragging down the overall performance of the game. Any ideas
-
- teaport
by C Senthil Kumar
- 11 Replies
- Last post
by mbongeni
- I have written a program in VC++ and DX9 to achieve specular lighting. I am using the models provided with the DX SDK for testing purpose. Specular lighting is working for some models (dolphin) and it is not working for other models (like teapot).
Is there something that we should specify in the .X file for specular lighting or is everything related to the code alone
Also, I don't have acces