Answer Questions
BobSpeaking C# - DirectX 9.0c - Creating a Basic Hexagon
I was wondering if someone could walk me through drawing a basic hexagon using DirectX 9.0c in C#. I've been using the Vector3 structure, and I am having problems understanding how to initialize the view transformation matrix for a hexagon, as well as what input vectors will represent the hexagon (understandably 6). Thank you in advance, Owen Thank you for your time Jack. I still am having pr ...Show All
PradeepSattikar DirectMusic for Managed DirectX
Hi, I have a question. Is there any plans to implement DirectMusic for Managed DirectX If so, I would like to know when. I'm a fan of DirectMusic and interactive music is important for games. Final Fantasy VIII (from Square Soft but formly SquareEnix, however, I like calling Square Soft since I don't know about Enix that much) makes use of DirectMusic for DirectX 6.1. You could start looking at the new beta assemblies and the X ...Show All
Mohan_info DirectX First Person Shooter Projectile?
Hello, I have a first person camera setup and am wondering how do I make a projectile fire at the direction/angle the camera is facing at the center like in most first person shooters In the October 2005 SDK there is a sample that do what you want to do It shoots orange ball in a room... (a first person shooter with oriented projectile with camera view) So I would look at that sample to see ...Show All
Michael Blome - MSFT DirectX7 SDK Lost Forever?
I am very distressed at the moment. I simply cannot find the last release of the DX7 SDK anywhere ! I may just be ignorant as to where to find it on MSDN Downloads but I just can't find it anywhere. Anyone who knows where I could find a download of that priceless treasure please let me know. It is a violation of the EULA to redistribute the runtime or SDK without express permission from Microsoft. Nuf sed. No problem David. I w ...Show All
Troy Neville hlsl pixel shader branching
Maybe this is a little off topic: I'm really interested in why the branching performance of my geforce 7800 gtx is so poor. I'm using hlsl shaders and I get huge performance boosts when I remove branching that should actually save a lot of work for the GPU. But the opposit is the case. Does anybody know if this is different with ati GPUs Nico GPUs process pixel in blocks called batches or threads ...Show All
Prashant Dhingra OpenGL Rendering Context + DisplayDevice (not window) Device Context?
Is it possible to use a Device Context for a Display Adapter (not a particular window's DC) with OpenGL The primary reason I am trying to do this is that I want to render OpenGL on multiple monitors, but the monitors are not necessarily members of the Windows desktop monitor group (and thus cannot have windows on them). Here's some of my test code. Everything seems to work until I call wglMakeCurrent(). dc = CreateDC( _T(" ...Show All
Xcalibur37 Some questions about Vista & Direct3D 10
Hello! Greetings from Ukraine! I am still programming under WinXP and DX9. But I'm going to port my code into Vista platform and cannot find some information I am interested in. According to numerous articles and documentations porting is to be painful:) So, I have some questions listed below: 1. When will (approximately) the nVidia or ATI accelerators support Shader Model 4 2. How shall I use SIMD advantages on the C ...Show All
jonnybravo Almost got it, just a little more...
OK so I just about got the dx device to run but got stuck, here's my code: vc++.net Device __gc * dxdev; // Create rendering device PresentParameters __gc * dxpp; dxdev = NULL; dxpp = new PresentParameters(); dxpp->SwapEffect = SwapEffect::Discard; dxpp->Windowed = true ; PresentParameters * dxapp __gc [] = {dxpp}; dxdev = new Device( 0 , DeviceType::Hardware, pb, createFlags::SoftwareVertexProcessing, dxapp); dxdev->Rend ...Show All
uanmi DirectX or Managed DirectX ?
Hello, it's my first post here ;) I've been developing in DirectX for several years (using c++). I am thinking if it's worth to move to the "managed world" I can do everything in c++ and directx but creating apps in c# and mdx is much faster and simpler. What is your opinion Is it huge performance penalty making 3D games in c# and mdx Use C# and Managed DirectX. You won't be dissapointed. Start here: http://gosub.com/OpenSource/D ...Show All
Koen Zomers 100% pure software 3D rendering with c#
I finally got something truly interestnig running in realtime. It's a 100% pure c# 3D rendering which offers some pretty advanced features such as reflectivity, transparency, environemtn maps etc. http://alansimes.blogdns.net/forums/12/ShowPost.aspx Feedback greatly appreciated. Alan Hi, Ok, I was assuming that he used directx. But I guess he really developed his own rendering engine. It's quite slow on my computer (I think its my gra ...Show All
Rohit Jain [GDI+] ColorMatrixEffect
I am not sure where a GDI+ question is supposed to be posted, so feel free to move it if it should be somewhere else. But I read up on ColorMatrixEffect, and it says it is suppsed to do "Affine Transformations". http://msdn.microsoft.com/library/default.asp url=/library/en-us/gdicpp/GDIPlus/GDIPlusreference/classes/colormatrixeffect.asp Does that mean translating 3D points, or are they talking about some translation of colors An other thing ...Show All
KamikazeMicrowave .X files
How do i make a .X file and a .FX file what program If you are looking to create .X files by hand, you can read the documentation in the DirectX docs. For x file I'm doing it now... :-) it took me a while to be able to... It's absolutely not that hard once you know the way... I'm giving you the way but not all the correct detail, my memory is too bad ;-) So all this code here is appro ...Show All
Israel213 D3D Cg problems
Dear All, I've experimented D3D Cg shaders for a cross-platform video software. It seems that there are a lot of problems in the current release. The most annoying is that some Cg shaders are working on nVidia but not on ATI. On both cards I compile the Cg shader with profile vs_2_0 and ps_2_0. Reducing a few instructions from the problematic shaders makes it work. I get no error message at compilation time, but when I try to loa ...Show All
jmp0658 LoaderLock was Detected?
I'm alittle stumped here... I'm trying to play an MP3 file with directx in vb 2005 express, it worked fine in vs 2003, but seems to not want to work in this version of VB :/ Heres what it says... DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since do ...Show All
Idrise Spectrum Analyzer for Real time Audio.
I have a directX application which reads real time audio from a sound card (mic) and calculates FFT for it. Frequency of sound per .5 second. I need to create a spectrum Analyzer kind of component. Any way I could do this using DirectX (Direct 3D maybe). I am not looking for 3rd party component. --Yatharth Just insert a Sample Grabber in your DirectShow graph, then the audio samples are yours to be FFT'ed. Will post a link to a ...Show All
