Answer Questions
TheSniipe Rotating points in 3D
I am working with some vector graphics that consists only of an ordered set of 2D points in XY space. The order of points determines the path that a line is drawn through them. I would like to be able to rotate the points in 3D so that I can flip and rotate the vector picture. After performing a rotate of some degree I want to be able to write the new set of points to an array or file or whatever. I also want to be able to display my vector image in a Window. So I have two questions: 1) Is there anything in DirectX that will help me rotate some XY points in a 3D space and then give me the resulting XY coordinates 2) What do I use to draw these points to the Window using DirectX In the past I have used normal Windows drawing me ...Show All
MoniDD Maya objects with scale *=-1 import with front face culling
Hello, Total beginner question No. 2: I've built a robot in Maya, using the scale attribute in the Attributes Editor to flip the legs, arms etc to mirror the half of the robot I'm modeling. Seems to work fine in Maya, but any objects that are exported with FBX for use in Game Studio Express load in with what looks like reverse back face culling - front face culling if you will! Has anyone got any tips to get around this... feature Thanks in advance, pseudo Hey Nick, Yeah, I checked out your blog about 30 seconds ago... looks cute :) ... is that your artwork too In Maya I'm creating parent child relationships between different objects and rotating for animation - You're probably right, I ought to check out rigging the ch ...Show All
Shiva3Al!3n Recommendations for physics
Hi, I know XNA doesn't include physics. Does anyone know of a good C# physics engine If there isn't a C# one around, how about a C++ or Java open source one that can be ported... Thanks, T Thanks for the tip about TorqueX. I'm having a look at it at the moment. It seems ok, but is quite limited at the moment: no 3D. I still think a port of a good open source physics package would be of benefit to the XNA community. I'll look into it more in 2007. T Ty Newton wrote: I'll look into a port of ODE. It is the only open source physics SDK I've found. That's a nice SDK. Easy to learn and use, good documentation, stable and fast. I was toying with th ...Show All
Lukejs3 D3DERR_NOTAVAILABLE while build of first example in help how to do
I used to code in pascal, cobol, assembly, basic, etc, but not C. From: Your First Game: Microsoft XNA Game Studio Express in 2D following along and doing the first build, I get the error above. I did not think I was calling the 3d engine only the 2d. I cannot find any help on the error, where to look, etc, except what is in the error window when you cursor over it. I cannot figure out how to copy the error in that popup window to look at it further. I know some dislike nubies, but please help if you know the answer. Its disheartening to type in only 6 lines of code and not be able to debug it! To say the least. Thanks OH OH OH, I figured out how to copy the error: Error 1 Building content threw InvalidOperationExcept ...Show All
textman Fixed functionality post deleted?
I posted a question the other day about the loss of the fixed function rendering in Direct3D 10 and suggested that Microsoft provide some native support for "stock shaders" that would implement fixed function rendering without requiring EVERY SINGLE APPLICATION to write their own shaders for legacy style rendering. It looks like that post has been deleted. If that post is not related to Direct3D 10 development, then I'm not sure what is. The loss of fixed functionality rendering will only make the portation of existing OpenGL applications to D3D that much more difficult. It's bad enough that Direct3D 9 does not allow the application to take advantage of the underlying hardware (HW assisted wide lines, HW assisted two-sided lig ...Show All
rWarrior Basic pixel, pen, circle on screen?
I was reading some C# examples and some were using Pen and basic Draw functions which I can't find in XNA. Do these exists, is there another way of drawing simple shapes Quick example Also note that System.Drawing (the namespace those types are in) is not available on Xbox 360. Hi, here's a start, Im experiencing a problem when creating the texture2D but the general idea is here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=685294&SiteID=1 Paul Bleisch wrote: Also note that System.Drawing (the namespace those types are in) is not available on Xbox 360. What exists for the 360 to do this detzX wrote: ...Show All
Mortsdeh DreamBuildPlay - Any advantage to submitting early?
For the DreamBuildPlay contest, is it better for me to take every last minute until the submission deadline to tweak my game or is there some advantage to submitting earlier I'm actually only going to be able to really work on my entry this weekend so later is better for me. I can't wait to see all the submission's screenshots once the warm-up contest is finished. I'm also not going to release any info on my entries. Not for the warm-up, and definetly not for the main phase. Truth be told, most of you know one of my entries for the main phase, but the other one has it's design document locked up. :) Not everyone is being secretive with their entries :-D though ...Show All
bbg Is the XNA Game Studio Express supposed to look exactly like Visual C# 2005 Express Edition?
I just downloaded XNA Express 1.0 and I looks just like Visual C# Express Edition that I downloaded a week ago. It even says Visual C#.......... and I dont understand why. Also I could never start a new project because there were no templates to select. Does anyone know what my problems are and how I can fix them. The only visible difference is the addition of XNA game & XBOX 360 game templates. Also, when you start a new game project you will be setup with a basic "engine" with a game1 classs incorporating some graphics members & methods to initialise, load graphics content, update, and draw... Do you get this Regards Chris Johnson Did you have one of the betas install ...Show All
Nigel Harper Game.GameServices article
I put up an article about Game.GameServices and the IGraphicsDeviceService. http://blogs.msdn.com/mitchw/archive/2006/09/06/742955.aspx 1) It is up to the component (as they are usually the ones to publish services). Given that you need a Game, in the OnGameChanging event seems like a good place. You could do it in GameComponent.Start but then there is no guarantee that the service is available to other GameComponent.Start implementations (due to order of initialization). 2) Game.GameServices.AddService() will throw an exception if a service of the given type is already registered. 3) You normally won't see a DeviceCreated on a window resize but it is possible. Basically, on a window resize, the GraphicsComponent at ...Show All
EmekaAwagu Games built on XNA do need XNA framework to run
Hello all, Not sure if this Question has been asked before and might be a stupid one to some, I was just wondering that Games built using XNA; do they need XNA framework to run on the users machine apart from NET 2.0 framework. PS -> BTW... XNA is really cool and its very easy to make games now.. cheers for the developers .. Regards, Claton I'm sure Microsoft will release a runtime only install just like .Net 2.0 and DirectX as well as a way for you to build it into your games setup program. Based on DirectX I don't expect to see one before RTM. To be honest this makes sense becuase shipping a redist for beta just means people will end up with beta copies who don't know they are getting beta copies when they in ...Show All
Simon Heffer dxdiag under Direct3D 10?
Hi all, is there anything like DirectX Diagnostic Tool (dxdiag) for Windows Vista x64 I wanted to do some performace testing on my ATI 19000XTX. I want to check if the low FPS on some D3D 9 games is because of D3D 9 emulation or driver issue. My guess is that the driver works fine, but the software is not optimised to D3D 10 & Win Vista 64bit. Is there any workaround to speed up non "D3D 10 & Win Vista 64bit" software Regards, JoeBlk Anyone who want to start the DirectX-Diagnostic-Tool (dxdiag) in Win. Vista x64, do this steps in Win. Vista x64: 1. Click on Start and click on the "Start Search" box, type in: dxdiag. 2. It runs the DirectX-Diagnostic-Tool for you automatic. ...Show All
Rob1234 How to Launch a XNA game in a new thread ?
Hello, So, no, this thread is not a tutorial on how to do it. And I am a beginner at thread programming. I ll start by explaining why and what I would like to do. So I am planning on creating a game that can be played by multiple persons either on the same machine, or using network. I though that having a thread listening to input events was a good idea. On thread for each input devices (keyboard / mouse / game pad ... ). I also wanted to have a thread that managed rendering. And information sharing was done through a FIFO buffer. External thread are writers, while the receiving thread was the consummer. It would be something like the following: A "device listener thread", lets call it a playerManagement thread (PMT), receive som ...Show All
JulianRidley Preserve alphas in rendertargets?
Let's say I first clear the screen with the color black, then draw an interlaced PNG and store this in a RenderTarget. After that I apply a PixelShader to the RenderTarget and store that in another RenderTarget. Clear the screen with the color white or draw a background image. If I now try to draw the last RenderTarget with the effect applied, the background doesn't show because the RenderTarget hasn't the alpha channel the interlaced PNG has. Is my English understandable How do pass in the alpha channel from the PNG to the RenderTarget If this is possible how do you do it with multiple PNG's Alfons Bit of a newbie myself but this may be what your looking for All the defined colors ie black skyblue et ...Show All
Jonathan L. December 2006 DirectX SDK has broken Maya 7 exporter plugin.
when i tried to install the plugin into maya. i got the following error message. "error X3539:ps_1_x is not supported in this version of the compiler memory(125,23):ID3DXEffectCompiler::CompileEffect: There was an error compiling expression ID3DXEffectCompiler: Compilation failed" now i'm aware of the new ps 1 change. however it would have been nice if the exporter had been updated to reflect this. so it is currently broken. ps: i wasn't sure where to post this. Hi, I have managed to convert some models from maya 7 into .x format using the DX plugin. They are visible in the utility viewer provided by the sdk but they do not show up on any other example .x file viewers. Sometimes they show u ...Show All
Bill Catlan Compile in Release
I am in a huge rush right now. Between VS2003 and VS2005 they moved where you choose whether you compile in Debug or Release mode. Where is it now I have manually added the drop-down box to the tool bar, but it's grayed out. This is extremely frustrating and critical to testing DirectX stuff. Okay, that enabled the drop-down! Cheers! I know in Human Computer Interaction they tell everyone to hide extra settings... but the more I see such implementations, the more I think it's a load of BS. It seems to just get in the way and make things /harder/ to find. Canuck1 wrote: What I always do to compile the debug or release versions (I'm using Visual C# 200 ...Show All
