-
- 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.
-
- Displaying Videoframes with DirectX
by R4d1um
- 11 Replies
- Last post
by BLANC Guillaume
- I use a open source codec/video library (libavcodec). This lib exposes the video frames
as 24_bit RGB bitmaps in memory.
All I want to do now, is displaying those frames in a window as fast as possible.
I tried a very naive approach:
for ( unsigned int i = 0 ; i < Framenumber; i++ ) { Load->get_nth_frame( ID, i , RGBFrame ); DXDev->BeginScene(); Backbuffer->LockRect( &
-
- FPS terribly drops when Present
by InDirectX585121
- 5 Replies
- Last post
by InDirectX
- hi, there
i have a scene which consists of 400 boxes, the boxes are animated : at first they are gathered together then spread all over the screen, at last they gather together again forming one single box (cause all 400 boxes have same world matrix of identity), this animation loops for ever.
during the playing of the animation, FPS drops very obviously when they are forming one single
-
- Dream Build Play today?
by Dudley
- 14 Replies
- Last post
by waruwaru
- Well it's just gone 9am UK time and as it's the last day of January I assume that the Dream Build Play website will go live today
-
- 3D picking with the mouse combined with a moving camera...
by NickMcCrea
- 10 Replies
- Last post
by NickMcCrea
- Hi all,
I'll get right to the point. My camera is defined using the following code...
cameraworld = Matrix .CreateTranslation(xplane, yplane, 0) * Matrix .CreateScale(zoom) * Matrix .CreateRotationZ(angle);
view = cameraworld * Matrix .CreateLookAt( new Vector3 (0, 0, 100), Vector3 .Zero, Vector3 .Up);
projection = Matrix .CreatePerspectiveFieldOfView( MathHelper .ToRadians(45
-
- Plain ContentTypeReader
by AstAn
- 9 Replies
- Last post
by AstAn
- Hi I have been reading through the forum for hours now and there is something I do not quite understand: Any class that is required for readers comes from Microsoft.Xna.Framework.Content.Pipeline. This library is not available for the Xbox 360, thus leading me to the conclusion that it is currently not possible to write a custom ContentTypeReader for the Xbox 360. Is that correct My other problem
-
- 2D Pixel Perfect Collision
by Spyrrho
- 10 Replies
- Last post
by parlance
- Anyone know of any good resources for learning how to do pixel perfect collision on sprites which takes rotation and scaling into account
-
- Parameters for content processor
by AndyL
- 8 Replies
- Last post
by thedo
- Is there currently any way of providing parameters to the content pipeline For instance, if I had a huge terrain that I want to convert into blocks within the pipeline, it would be nice to set a parameter for the block size within the IDE's properties panel for the asset, alongside the ContentImporter/ContentProcessor settings.
If not I guess I'm going to have to create an XML file to describe
-
- Custom Content Manager - Generics Question
by Midnight Conjurer
- 13 Replies
- Last post
by ProfEclipse
- Greetings & Salutations: I am trying to put together my own kind of "Content Manager" as the current one appears to only work with content that has been added to the project, and not with say, a file on a network drive somewhere. I really like how the "XNA ContentManager" uses generics, and was trying to implement it myself, but encountered some errors. I looked on the net
-
- Debug Console?
by sugrhigh
- 5 Replies
- Last post
by Salric
- I'm new to C#, XNA, and DirectX but I've been doing C++ and OpenGL for a while now so I'm not COMPLETELY new. But my question is how do i create a "debug console" in XNA (will be used on XP, not 360) By debug console I mean a command window( cmd in windows ) that outputs the information i specify while the game is running.
-
- anyone have nuclex.fonts + models working?
by sugrhigh
- 3 Replies
- Last post
by sugrhigh
- ive tried the textmanager class as well as shawn hargreaves resets, and a combination of the 2... does anyone have this working
-
- Wireless Connection To 360
by exiquio
- 7 Replies
- Last post
by Bill Reiss
- I have a 360 connected to a Linksys wireless router along with all the other devices on the network. My development machine is running Windows Server 2003 on a wireless machine. I have the game launcher, C# Express, and XNA Game Studio all installed in there respective places. I have correctly entered the key for XNA Studio. I can not for the life of me connect to my 360 (and yes Live is up) via X
-
- 2D Map Editer?
by rako77
- 1 Replies
- Last post
by Joel Martinez
- I've been working on a small and simple xna 2d map editor. i'm planing to save the positon information (in vector2) and what to draw (Texture2D). I'm having a problem drawing or storing the information. i'm planing to save the positon information heres some code: Dictionary<string, Sprite.sprite>tiles = new Dictionary<string,global::MapMaker.Sprite.sprite>(); ... Update: if (Mouse.Get
-
- PC deployment problem (may be off topic)
by Johan Overbye
- 7 Replies
- Last post
by The ZMan
- I've just completed a small pc-only xna app for a research group. It's a very simple flight "simulator" in which you can use all directx-compatible gamepads/joysticks. I'm using managed directx for the input, since xna only supports the 360 pad.
The installer includes the latest directx runtime, xna framework and dotnet 2.0 framework. I've tested it on four local machines without enco
-
- Unable to share a windows game - Followed the instructions on the manual
by IamBMF
- 14 Replies
- Last post
by IamBMF
- Okay, so I finished my first game using XNA Game Studio Express, it has been only a few days since I installed it, and it has been quite easy, having experience at making games. Now, I want to show this game to my friends, so I send it to a couple of them (both of them have XNA Game Studio Express installed), and it works great.
Now I want to show it to some other friends, these who do not kno
-
- HLSL Error X4550 - Maximum boolean register index exceeded
by Snoitkever
- 1 Replies
- Last post
by BLANC Guillaume
- Hi everyone,
I'm writing my own shader for lighting and shadows, but my code is generating an error:
Lighting2.fx : error X4550: maximum boolean register index exceeded - Try reducing number of constant branches Lighting2.fx : (235): ID3DXEffectCompiler::CompileEffect: There was an error compiling expression Lighting2.fx : ID3DXEffectCompiler: Compilation failed
Here is the specific code
-
- Geometry instancing support on 360?
by Derek Nedelman
- 6 Replies
- Last post
by Shawn Hargreaves - MSFT
- I'm working on a geometry instancing demo and I noticed in the XML documentation for GraphicsDevice.SetFrequency() that the method (and related methods) are "Windows Only". Is this a mistake
-
- Not Using Vector2 in my 2D Game Engine
by bryanedds
- 9 Replies
- Last post
by bryanedds
- I just recently changed, oh, about a 1000 lines of code in my game engine. Instead of using Vector2 for things like position and size, I decided to use floats instead.
Does anyone else use Vector2's as their main position and size data types in their 2D game Right now, I have the code for both versions, and I'm trying to make entirely sure floats are the way to go before throwing one of them aw
-
- Absolute beginners questions about XNA Game Studio Express
by B. Chernick
- 13 Replies
- Last post
by B. Chernick
- Could someone point me to an FAQ about system hardware requirements, and maybe a simple tutorial about modern graphics cards I'm afraid I haven't done anything with hardware in years and all this XNA terminology is new to me.
------------
My actual problem is this: I've downloaded XNA Game Studio Express. I've downloaded the latest DirectX Drivers. I've created an instance the MySpaceWarWin
-
- Feedback Request: Rendering Video (avi) with XNA
by Joel Martinez
- 2 Replies
- Last post
by Arek Bal
- Hello all, I just posted up a preview of a library I'm working on that will let you render video to a texture. More details on my blog: http://codecube.net/item.asp cc_ItemID=358 The way it works is that you add an AVI to your GSE project, load it up using the ContentManager, and render it (using SpriteBatch for example). I've tested it pretty thoroughly, however, I'd like the teeming masses to t
-
- DXUTgui Creating new Controls
by Jamesford42
- 1 Replies
- Last post
by Jamesford42
- I'm in the process of learning my way around the DXUT framework and I'm trying to do something which 'should' be very easy... I'm using DX June 2005 and VS C++ express Edition. I started my project off the GUI sample from the sample browser. I want to have a FPS style HUD which shows current health and ammo. I want this to look like a health icon with a percentage next to it, and the same for the
-
- Parameters for content processor
by AndyL
- 8 Replies
- Last post
by thedo
- Is there currently any way of providing parameters to the content pipeline For instance, if I had a huge terrain that I want to convert into blocks within the pipeline, it would be nice to set a parameter for the block size within the IDE's properties panel for the asset, alongside the ContentImporter/ContentProcessor settings.
If not I guess I'm going to have to create an XML file to describe
-
- SpriteBatch.Draw methods not overridable?
by Luhar
- 12 Replies
- Last post
by Luhar
- I want to make a component with the same functionality as a SpriteBatch, but it automatically translates, scales, and clips everything drawn with it. I figured I could inherit from SpriteBatch and override the Draw methods, but they're not overridable. I'd be forced to shadow the Draw calls and it kind of blows my whole object-oriented, polymorphic system outta the water.
Right now I'm using co
-
- Input degrees and coordinate problems
by andriscs
- 3 Replies
- Last post
by andriscs
- Hi, I'm a newbie with XNA. I'm about to develop a simple game. I have a spaceship model and a sphere model. I tried to detect if the ships reaches the sphere but even when the ship is "inside" the sphere, the coordinates of the models are very different so the collision will never be detected. How can it be that in the Draw method after setting the World matrix, the models get total different coor
-
- How to get a lit sphere colored sphere/cube in XNA
by Ceres629
- 9 Replies
- Last post
by Derek Nedelman
- I've been trying to do this for the past few days asking many questions to get to this seemingly simple goal, but i just run into problems at every step. In MDX I just created a mesh object, then: myMesh = mesh.Box(...) or myMesh = mesh.Sphere(...) In XNA I've had to go through making custom vertex formats, manually drawing all the sides of the box, and now even worse it seems I have to manually i