-
- Render target save'n'restore
by hr0nix
- 14 Replies
- Last post
by hr0nix
- I've a func that do some work including rendering into rt. So, i need to save old rt at the beginning of my rendering, and then restore it at the end ( when smb call my func, he may have rendering to texture enabled, or just rendering to the backbuffer, and he don't wont to worry about restoring his rt after call of my func ). Is there any way to implement such a behaviour using XNA
-
- Strange DX9 vertex glitch
by rjShadow
- 11 Replies
- Last post
by Inaki Ayucar
- As seen in these two screenshots, Glitch 1 Glitch 2 In reality, I don't know what's even happening to my vertices. This doesn't happen from the beginning of the program execution, it happens randomly during the execution about a few minutes into running it. Once it happens, it will happen more frequently and sooner during the program execution when I re-compile and run.I just don't have a name
-
- Trouble Installing Refresh
by J Camp
- 6 Replies
- Last post
by hpjchobbes
- I just downloaded 1.0 Refresh and attempted to install it, only for it to tell me that I need C# Express 2005 sp1. So I downloaded SP1, but when I try to apply that it gives me an error along the lines of having a bad version. I have version 8.0.5 of visual c# express 2005, running along-side visual studio 2005.
-
- XBox 360 hard drive question for MS staff - semi off topic
by XNA Rockstar
- 14 Replies
- Last post
by buster2000
- With all the great new offerings out or coming soon for the 360: XBox Live Video Marketplace, XNA game creation, and the recently announced IPTV, the poor little 20GB hard drive's days look numbered.
Is MS planning to release a larger hard drive for the 360 I'm pretty sure that many people (including myself) would be very interested in one.
-
- XNA in Internet Explorer?
by John Lieurance
- 14 Replies
- Last post
by Jim Perry
- I was surprised to find out that XNA doesn't work in Internet Explorer as a WinForm Control. I know I must be smoking crack, but somewhere a long the line I got the impression that XNA would enable a 3D environment in Internet Explorer. If we can put Ink on the Web, http://www.code-magazine.com/Article.aspx quickid=0512062 , then I think we should be able to put a 3D environment on the web as well
-
- DXUTmisc.h - C2300 compiler error
by Robyx Sarth
- 1 Replies
- Last post
by Bad Habit
- get some error,it's like this
when I include all DXUT File,and run application the DXUTmisc.h
e:\TemplateTest\DxTest\DxCommon\DXUTmisc.h(829): error C2300: 'System::Enum' : class does not have a destructor called '~TYPE'
e:\TemplateTest\DxTest\DxCommon\DXUTmisc.h(99) : while compiling
class-template member function 'HRESULT
CGrowableArray<TYPE>::SetSize(int)' with [ TYPE=
-
- writing depth from shader
by supagu
- 4 Replies
- Last post
by FunkyRider
- m wanting to output the pixel depth, im writing a skybox shader, so i just want to force the pixels depth to be like infinite here is my pixel out structure: struct POut { float4 color : SV_Target; float depth : SV_Depth; }; problem is, the pixel will only pass the depth test is depth = 0.0 if it equals anything else it wont draw my pixel. this is using dx10 with the nvidia beta drivers, im not
-
- How to grant time?
by r2d2-proton
- 8 Replies
- Last post
by r2d2-proton
- Sleep();
Wait();
Slerp() -- lol
-
- Tutorial on Geometric Instancing in XNA
by Ceres629
- 3 Replies
- Last post
by Shawn Hargreaves - MSFT
- I've been so far unsuccessfully trying to learn how to do Hardware geometric instancing in XNA by using some old MDX code but haven't had much luck so far. I can't seem to find any information Instancing in XNA, where can i find such info
-
- general use of XNA vertex types?
by Mark Flamer
- 12 Replies
- Last post
by Mark Flamer
- I am trying to create some methods to manipulate various parts of the XNA vertex structs. I want to be able to pass all the different vertex types as arguments to these methods. Because they are structs they don't derive from a base class other than ValueType. If I use ValueType as the parameter I don't have access to the propertys of the vertex. Is this a case where refelection would be usefull C
-
- i need some serious help, someone please!!!!!!!!!!
by T2TD
- 3 Replies
- Last post
by Grotius
- i was just wondering what kinds of files are these and where do they come from, (.xgs),(.xsv),(.xwb),(.xap),(.vex),(.egm). please tell me what kinds they are, and how to create them/where do they come from and how do you create an .fx file
Help please
-
- C# Performance Problems
by malignate88
- 14 Replies
- Last post
by malignate88
- Hi, I recognized, that my framerate is very bad in comparison with some C++ examples. After removing all "catchs" in the render-methods i got 100 FPS instead of 20. Exceptions seems to be really, really slow. Are there some other performace problems in C# which i have to have in mind
-
- http://learnxna.com/files/folders/videotutorials/entry91.aspx
by Sicundercover
- 3 Replies
- Last post
by windozer_
- Im trying to do a video Tutorial for pong. Now in the video when he opens his new project, he starts off with a graphics Icon. I dont, I start off in code view. Im wondering how do i get from code view to the Icon view so i can change my BackBuffer settings.
-
- Timing gamePad button, trigger and thumbsticks
by Will &#40;A&#4
- 4 Replies
- Last post
by hpjchobbes
- I can't figure out how to report the ammount of time that gamepad buttons, trigger or thumbstuicks have been pressed/non-zero for.
Does anyone have any ideas
-
- C# directx making an object move
by Simon578123
- 4 Replies
- Last post
by Simon
- Hi all I have a question:
Using directx 9, C# and Visual Studio 2005, I am creating a 3D city and want to have a "hover car" moving through it.
The city is created no problem.(a 2D array)
I have in mind a HovCar class that would have TurnLeft(), TurnRight() etc. methods within it.
These would be called (probably within a while loop) in the Main() method. The idea I have is to
-
- Loading a Model from a List<> problem?
by iconjunky
- 6 Replies
- Last post
by Rick Mogstad
- Hi,
I`m storing info in a list which I`ve written:
List < float > mapList = new List < float >();
I`m storing mapList[x] = `ModelName`, mapList[x +1] = `ModelpositionX`, mapList[x +2] = `ModelpositionZ` amongst others.
..and would like to.
DrawModel( mapList[x], Matrix .CreateTranslation(mapList[x +1], 0, mapList[x +2]) ;
Which gives the error: Error 2 Cannot co
-
- Multiple joysticks with the same VID/PID
by Kitsok
- 1 Replies
- Last post
by Kitsok
- Hello! Sorry if it's and off-topic for this forum and please point me to the right one if it's so :) I'm developing multifunction USB device based on ARM processor which will be used as input-output controller for homebuild simulated aircraft cockpit called 'PTJoy' (Project Tupolev Joystick). It acts as joystick with a lot of buttons and axes (as far as I understand DirectX supports only 128 butt
-
- Starting work on my GUI system
by bryanedds
- 14 Replies
- Last post
by bryanedds
- Well, I've hit a wall with my game's development, and since there was no GUI with XNA 1.0, I've decided to go ahead and make my own GUI system. I implemented a lot of mechanics for my game, but I need greater interaction to proceed development in a sane manner.
So far I've just implemented the text drawing stuff from scratch. It uses only monospace fonts generated with BMFontGenerator without u
-
- XACT audio sounds cutting out
by PostMeridian
- 10 Replies
- Last post
by Shawn Hargreaves - MSFT
- Hi all,
I have a static class I'm using to play sounds loaded in the content pipeline through an xact audio project.
In my game, several of the same sound can be played within a few milliseconds of each other. They're basically explosion sounds.
Now when I hit more than three of these objects and they play their sound within a short space of time, the sounds cut each other out and someti
-
- World to screen conversion.
by DevboyX
- 9 Replies
- Last post
by Stee Martin
- Hi. Something weird when trying to covert world to screen coordinates. Vector3 res = Vector3.Transform(worldPoint, Camera.View * Projection); I get the result vector with values greater than 1. Aren't the values post projection supposed to be clamped Both the view and projection matrices are valid (and are used to display on screen). Cheers
-
- help regarding a game
by prasindo
- 11 Replies
- Last post
by David Weller - MSFT
- hi all,
i need a source code of putting a ball into a basket somewhat like basketball or some similar game in xna..
can you please let me know the source code or site where i can find it
-
- In-Game Collision Detection
by Quantumdude
- 14 Replies
- Last post
by Aranda
- I'm quite curious about how some games allow you to slide along any walls if you try to walk through them, based on how you approach them, and also how certain vertical slopes cause the player to slide downwards. Is there anyway to do this with minimal code, because without this it's hard to make any games .
One thing I do know is that for axis-aligned walls, it's easier to use BoundingBoxe
-
- Normal Map colour directions.
by Kylawl
- 4 Replies
- Last post
by needforhint
- Hey, I've been tyring to track down a couple problems I've been having with rendering normal maps. First of all, I have these shaders that I have programmed previously that take a tangent space normal map and function 100% correctly. If I move those shaders and normal maps onto an object in Game Studio I find a number of issues. The normals in the normals map seem to receive the light from the
-
- Debug a XB360 project on PC?
by Jutsin Leung
- 6 Replies
- Last post
by Stephen Styrchak - MSFT
- When a project is created as XB360 Game, it can be deployed to the XNA Launcher by press F5, but it is quite annoying even if just change a line of code and test it. Is it possible to debug (or even build release ) a game on both XB360 and PC without project migration
-
- DirectShow & XNA
by Gluber2006
- 11 Replies
- Last post
by Laurent
- Hi there,
I have the following problem: I am developing an application that basically renders some 2D Screens using Direct3D ( XNA ) and now i need to display the image from a TV capture card on this screen too.
The application has to be WindowsXP/VISTA compatible.
So for TV Input normally i would use DirectShow, but here is the problem for using the VMR i would need pointers to the unman