Answer Questions
Eragon. Need help controlling forcefeedback functions with labview
Hello, I am working on my engineering senior design project and need to control a force feedback joystick using software called labview. It looks like the easiest way to accomplish this is through DirectX. Labview has the ability to import .dll functions as well as .net and activex functions. If someone tell me the best way for me to accomplish this or at least point me to a specific kb to read that would be great. I've found a lot of forums about the same subject but the explanations were very vague. I have Visual Studio 2005 as well the DirectX sdk installed if that helps. thanks a lot! There is no easier way of programming force feedback that I know of. I searched codeplex, codeproject and so ...Show All
bshive Determining if (part of) traingle passed depth buffer test/got rendered
My problem is simple, I want to draw an triangle (or anything for that matter) and then want to know, in the fastest possible way, if anything actually got rendered. I want to use this for a kind of portal engine. Basicly I want to draw part of a complex scene, with depth buffer enabled for read/write. Then I want to draw an transparent triangle (with depth buffer writing disabled), if part of this triangle is actually rendered (thus is within the viewing frustum and passes depth buffer test) I want to know this, so I know that which is behind it, is also visible. I need to do this several times per frame and want to keep my framerate up, so I want to do this as fast as possible. Does anybody has an idea how to do this ...Show All
spepperchin Texture artist looking for work (ill take pritty much anything given to me)
Texture artist looking for work if you need someone to do textures for your levels i would be more than happy to help you out there, i have been doing computer art for 5 years and working on game textures for 2 years. i can do photorealistic textures at high and low resolution for 3d and 2d game levels, i can do particle effects textures at low and high resolution. I’m not very skilled in starting skins for 3d objects but if given a low quality out line for the skin i can do it up to look much better. If you would like to see some of my work all you have to do is ask and ill send a email with it, and if you would like me to do the textures for you i would just like to know what type of game your thinking of making or making now. ...Show All
RobLearningVisualBasic Application doesn't render correctly, when run out of MS VISUAL 2005
Hello, I'm rendering some meshes(2) and Human model entity and everything is ok when I run it from MS VISUAL 2005(either DEBUG and RELEASE), but when I run it as .exe from RELEASE i get glitches. Firstly when I run it I get 1 mesh, then I go to its menu and start it again, then I get 2nd mesh and this goes all around. But, when I set compatibility to Windows NT I got 2 meshes rendered. The human model is not rendered though. I had a problem with dll PGORT80.dll, so I put the dll to .exe file dir, and it runs but with mentioned glitches. I repeat that it works fine when I run it from MS VISUAL Studion(debug,release). I would appreciate any ides. Peto ...Show All
bheybi Transparent Texture2D
I'm loading a texture into a Texture2D using the following code: Texture2D headerTexture = Texture2D.FromFile(Globals.Graphics.GraphicsDevice, "images\\logo.bmp"); Which works just fine, except the texture has a black background which I wish to become transparent. So I tried the following code: TextureCreationParameters tcp = new TextureCreationParameters(); tcp.ColorKey = Color.Black; tcp.Format = SurfaceFormat.Rgba32; headerTexture = Texture2D.FromFile(Globals.Graphics.GraphicsDevice, "images\\logo.bmp", tcp); And I get an InvalidCallException "External component has thrown an exception." error. It's probably something easy and stupid, but if anyone can give me a hand, that'd be great! Thanks. Ryan ...Show All
Jassim Rahma Error 1935 (Mechcommander2 source codes)
I downloaded mechcommander 2 source codes, but when i install it, i get an error message... Error 1935:an error occured during the installation assembly It's happends at the very end of the installation Could anyone help me This is usually caused by one of the following symptoms: Your download is corrupt, make sure that the file size is a little over 1Gb. If it seems smaller then that it's probably bad. You can use a download accelerator to help ensure a succesful download as well You must run the installation as an Administrator on your machine Have you installed XNABuild first (Not required but wanted to know if it worked ok) Do you have the .NET framework 2.0 installed on your machine Thanks! Than ...Show All
Hector Urizar Gamecomponent ?
i have look at your xna.game.dll how about add support string Version string creatername; string Date string Notes - kind of licens for this component so wen people share gamecomponent in compiled form you can see who made the component and so people dont get used by commercials game studios, that just download a couple of component and then thay have a finish game That type of information is better supported via the Assembly level attributes of .NET and strong naming your assemblies. ...Show All
Dino Nguyen problem getting font to work with XNAExtras
I'm not sure if this is the correct place for help with XNAExtras, but I couldn't find any other forum about it. Anyway, I downloaded the tool, included the correct classes and made a .xml file and an image for the font I want to use with the tool that comes with XNAExtras. I included XNAExtras with the project and have all the code from the example programs included, but when I run my program, it tells me that the font I'm trying to use when I create a new BitmapFont object can't be found. Copying the same two font files into the existing font example causes the same error. However, when I try to copy the font files that were initially in the example and work fine there back to my own project, I get the same error in my own project. ...Show All
bikerchick Render Target For Effects.
I am having a problem here. In PC development I love the availablity of StretchRect. You can render an entire scene at a high resolution then stretch it to a low res map to create all sort of fun effects. The problem is XNA does not support stretch rect ... so then is the only option to: A. Render the whole scene to a render target and use it to create lower render targets for use in effects. (Currently using) Pros: 1. Very Fast. 2. Only 1 scene render Cons: 1. Locked to texture resolutions 1024x1024 or 512x 512 2. Will never be a perfect monitor resolution match thus muddy areas will always be there. B. Render the whole scene once at full rez then render it a second time to a Render targe ...Show All
samame Effect file parameters
Hi, I am unable to understand shaders so I use FX Composer. I created (loaded) an effect to one of my meshes and saved its code. When I try to apply it, I can't see anything. I don't know what parameters should I set so I ask for help. How can I make this reflection effect work Here is the XNA code: foreach (ModelMesh spheremesh in sphere.Meshes) { foreach (ModelMeshPart modmeshpart in spheremesh.MeshParts) { &n ...Show All
furjaw Texture2D SetData to make a circle?
Anyone have any ideas on how I would modify the following function to color this solid texture as a circle public static Texture2D CreateCircle( GraphicsDevice device, int radius) { Texture2D texture = new Texture2D (device, ( int )radius * 2, ( int )radius * 2, 1, ResourceUsage .None, SurfaceFormat .Color); Color [] texData = new Color [( int )radius * 2 * ( int )radius * 2]; for ( int j = 0; j < texData.Length; j++) texData[j] = Color .White; texture.SetData< Color >(texData); return texture; } I'd like to set the pixels outside of what would be the circle to black. ill check it out... but really what I want to ...Show All
chubbysilk A Simple grid component
I created this self contained grid and figured someone may find it a useful starting point. [ code language="C++" ] using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Components; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; namespace XNAEngine { public class SOGrid : Microsoft.Xna.Framework.GameComponent { // This is how you would add camera control to the grid component /*private myCameraComponent camera; pub ...Show All
GSReddy Color Banding
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 if the Xbox is set to 480p. The following code is what I am using to setup my 'prefered' values for my graphics device. If you got any idea what could be causing this, I would appreciate the input. graphics.IsFullScreen = true ; graphics.PreferredBackBufferFormat = graphics.GraphicsDevice.DisplayMode.Format; graphics.PreferredBackBufferH ...Show All
OasisGames Link to MC2 not working again
Microsoft XNA Build March 2006 Community Technology Preview featured at http://www.microsoft.com/downloads/details.aspx FamilyID=868fe562-5ded-4bb1-8648-708d3481bda3&DisplayLang=en has a link to the MechCommander 2 Shared Source Release download. The link is http://www.microsoft.com/downloads/info.aspx na=40&p=2&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=868fe562-5ded-4bb1-8648-708d3481bda3&u=http%3a%2f%2fgo.microsoft.com%2ffwlink%2f%3flinkid%3d63428 but it is broken leaving one at http://www.microsoft.com/downloads/details.aspx FamilyId=6D790CDE-C3E5-46BE-B3A5-729581269A9C&displaylang=en Is it possible that someone knows the correct link or can have this fixed Thx, David ...Show All
BIG037 Game Programming is very Hard
I've been reading DirectX sdk tutorials and MDX tutorials and things like that, and it seems VERY VERY VERY hard. Will this new XNA studio and the documentation simplify this All these vectors and whatnot is very complicated and I'm having trouble understanding seemingly basic concepts in game programming in 3d. PdCNZ wrote: Will XNA simplify this process and make it easier to create 3D environments From what's been posted by the MS guys, they're trying to make getting a game up and running as easily as possible a goal. The Starter Kits that should be included will help accomplish this. I'm sure the community will help as well by providing samples, info, etc. Geek Squad wrote: 1) Am I missing out on a l ...Show All
