-
- post processing shader
by Martin Schmidt
- 8 Replies
- Last post
by Michael Schuld
- hi,
i want to learn how to write post processing shader. so i have a few questions.
when i tried to figure out, how post processing shader are working i saw a script in an effect technique. are this scripts used to redirect the rendering process into a texture instead of rendering the pixels to the back buffer when i want to post process a final scene, do i need to draw the scene onto a rect
-
- Any other way to buy an XNA subscription?
by Johnny Watson
- 3 Replies
- Last post
by Johnny Watson
- For some reason or another my Xbox isn't accepting my credit card info (I think it may be due to the form not having an "Address line 2" field and I live in an apartment, I've checked and doublehecked all the info and the account has an ample amount of money in it), so is there any other way for me to get an XNA Creators Club subscription I tried looking to see if I could add my credit c
-
- 360 Boat game with source
by waheyluggage
- 14 Replies
- Last post
by Jim Perry
- Hello
I was playing about again the last 4 days and come up with a little boat game for the 360. The source code is very untidy but there might be something of use in there for some people. It was written for use on the 360, it might work ok for the PC. You can have 1 to 4 players and it uses some ai for the others. There's only 1 track at the moment - I may get around to fixing it all up in
-
- Animation sample
by malignate
- 9 Replies
- Last post
by MikeStramba
- MS had announce an animation sample some weeks before and you just told us, that i will be released soon, but the question is, what soon means...When will you release the example. All I need are some informations how to transform the bone matrices to absolute ones to transform the mesh.
-
- lens flares
by Martin Schmidt
- 10 Replies
- Last post
by Martin Schmidt
- i have read something about lens flares. the position of the lens flare are calculated by the vector which goes from the sun until (0, 0, 0). but in many games i see the following effect:
when i look into the sun and turn left or right the lens flares are turend left or right to. do they calculate the angle between the camera direction vector and the lens flare vector and turn the lens flare ve
-
- Quaternion Tutorial
by Wil Burton
- 14 Replies
- Last post
by Grotius
- Could someone school me in using Quaternions in XNA I'd love to have a tutorial specfically for XNA. I read a tutorial that helped me to understand them a bit better, but still not sure how to plug it into the game. If you can believe it, the documentation doesn't explain it to well.
-
- XNA/XACT/XGSE - Sound playback synchronization?
by Gargaj
- 1 Replies
- Last post
by Kurli
- I wonder if it's possible in XGSE to start playing a Cue and later see where the playback is at the moment I would need to have a rather strict synchronization of the visuals and sound, so I wonder if there's some equivalent of GetCurrentPosition() for Cue's.
-
- Free-moving camera?
by ricodued
- 12 Replies
- Last post
by ricodued
- How exactly would I go about implementing a free-moving camera I looked at the How To: Rotate and Move a Camera in the docs, but it doesn't seem to build for a 360 project. Any help or a point in the right direction
-
- XAP Importer
by Vasura
- 12 Replies
- Last post
by Vasura
- Hi,
I'm loading files from a windows form test application and I want to load XACT audio assets, but my idea was to ask the user only for the xap project filename, generate the files into a folder in run time and then simply load all the generated data according to the extensions. I've been doing MSBuilds for other standard importers, but I just can't fin
-
- Debugger hanging at program start (Loader lock related?)
by JeremyAtGosub
- 5 Replies
- Last post
by JeremyAtGosub
- I'm developing a C# MDX application. Sometimes
(maybe 1 out of 5 times) when I debug the application (by pressing F5) it hangs
before displaying the main window. I'm sure it's happening before DirectX gets
setup, but I'm not sure where - because the debugger hangs too. I notice that
if I press F10 (step in) followed by F5 (run) the problem never happens and I
also notice that it happens
-
- PC project -> 360 (including Game Library)
by LittleSettler
- 14 Replies
- Last post
by waruwaru
- Hello,
I just wrote a little puzzle game (Windos Game Project) and now I want
to build the 360 version of it, but I have a little problem (probably
PEBKAC *g*)
I wrote a content-processor for instanced rendering (overriding
ModelProcessor) and implemented a new ContentItem called 'Font'. It
reads the *.fnt files from AngelCode Bitmapfont Converter. Because I
want to reuse this, I put i
-
- 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
-
- Can you edit a Model's vertices at runtime?
by CodePfo
- 13 Replies
- Last post
by cronholio
- Is it possible to edit the vertices contained in ModelMesh Like could I get the vertices, alter their position and set the data back in the collection I ask this because for the terrain object in my game, I want it to be deformable. I've been playing with the content pipeline and my custom importer / processor / writer writes the height data as a byte array. When the object is read back, an inde
-
- Generating Grid With Loops
by Nick Gravelyn
- 4 Replies
- Last post
by Nick Gravelyn
- I'm trying to create a grid for my program, but I can't get it to work. Right now it just draws real long lines instead of a nice grid. I understand the buffers, but I feel like I'm calculating either the vertices or indices incorrectly. Any ideas int numVerts = (size * 2) * (size * 2); int numVertsRoot = (size * 2); verts = new VertexPositionColor[numVerts]; int n
-
- The future of 3D grahics programming with managed code (Microsoft technology)
by Modeller
- 6 Replies
- Last post
by ranjit kumar
- Hi!
I would like to ask some information about the future of 3D graphics programming with the managed code. Yesterday, I came across an article where I read that Microsoft(MS) will stop the developoment of DirectX with the managed code, with the managed code I mean C#, Whidbey C++ and VB.
The question I have in my mind is : "What's next ". I have been developing numerical simulators du
-
- How do i create models in XNA?
by Demonslayer
- 4 Replies
- Last post
by waruwaru
- How do i create a model in XNA
-
- Reasonable amount of polygons?
by NotTaken
- 3 Replies
- Last post
by The ZMan
- Lets say I make a game with only two characters visisble.
Lets say I run the game on a graphics card that cost 200% 2 years ago.
How many polygons are roughly reasnoable to get high FPS on this graphics card
Would 800 polygons per character be alot or not
-
- XNA sample code problem ?
by brian_tsim
- 2 Replies
- Last post
by Jim Perry
- Hi all,
i finded xna "XNA Onscreen Keyboard Component" sample in internet( http://www.xnaresources.com/pages.asp pageid=27 ). What does the iFontAsciiStart and iFontAsciiEnd mean in function WriteText () Please somebody help. Below is the function coding.
public void WriteText(SpriteBatch spriteBatch, string sTextOut, int x, int y, Color colorTint) { // Very simple te
-
- Drag Sprite
by Ro0ke
- 4 Replies
- Last post
by Ro0ke
- I have a list of sprites... I'd like to select one and drag it around with the mouse. Can anyone point me in the right direction
-
- Responding To Graphics Device Events
by Nick Gravelyn
- 4 Replies
- Last post
by Shawn Hargreaves - MSFT
- Trying to figure out where <a href="http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1212399&SiteID=1">my problem</a> lies with recreating/resetting the graphics device and the weird effects, I began to wonder if I had tied into the proper event handlers. So I was wondering if someone could tell me if this is the correct way to set up event handlers for a custom game component
-
- XNA for Kids
by ScarletDeath31
- 6 Replies
- Last post
by Quantum Vector
- Hello I'm 13 years old and I am a noobie to C# and XNA. I have done some studying and made a 2D tank "game". There is no point to the game but I got the 360 wireless controller to work with it.
I was just wondering if you guys could help me learn XNA a little better or give me some links to some good websites that can help me
THANKS!!!
-
- Creators club problems
by sarge mat
- 3 Replies
- Last post
by Sidener
- HI all.
I have got the creators club of Marketplace and XNA on my PC. But I cant get the 2 to connect. I am useing ethernet ports to connect both my PC and 360 to by BT home hub but they cant seam to connect. Do I need to change any fire wall settings to allow the Creators club axcess. I have all ready tried with no luck. It would be much easer if you didnt need to be on live at the same time.
-
- My second render isnt showing
by nick5454
- 3 Replies
- Last post
by nick5454
- Ok so my question now is.
I first draw the main game screen. it works great.
Then I execute the code below to draw a rectangle on top. But, it never shows up. When I take out the render code it draws fine to the screen. So I think I'm only missing one statement to add the the texture to the main screen.
Can anyone spot the problem ( I'm trying to draw rt to the screen )
Thanks,
-
- Microsoft.DirectX.Direct3D.Texture constructor PROBLEM!
by Milos Cvjeticanin
- 2 Replies
- Last post
by Milos Cvjeticanin
- This line is crashing the program: Texture texture = new Texture(device, bmp.Width, bmp.Height, 1, Usage.Dynamic, Format.R8G8B8, Pool.Managed); Please help!
-
- Where does Console.WriteLine() go to on 360?
by AndyL
- 10 Replies
- Last post
by Stephen Styrchak - MSFT
- Probably a setup problem, but I can't seem to get any text sent to Console.WriteLine() to appear in the output window in GSE, when running the app on my 360. Anyone else managed to get this working
Andy.