Answer Questions
George Ionita DirectPlay
I'm working on a messenger program, and someone suggested using DirectPlay. I've looked into it, and from what I can find, it looks like it could be very useful. Where can I find good documentation on how to use DirectPlay on both the client and server side of my application A little while ago I was doing some playing and work with the networking classes. What I also did was to post a small selection of li ...Show All
SValentine Overlapped IO and vertex/index buffers...
Is there any rule or reason why I shouldn't call Unlock on an index or vertex buffer from inside an IoCompletion routine (last paramater to ReadFileEx) At this point I get access violations if I do, but I'm not sure if this is because there's a rule about this (which I can't find anywhere in any documentation) or if I'm doing something else wrong... I've already tried D3DCREATE_MULTITHREADED and that didn't help at all. Phill ...Show All
jgunning Where did event Device.DeviceResizing go in the Microsoft DirectX SDK (February 2006) (.NET 2.0)
Subject says it all! Is there a replacement for the DeviceResizing event Thanks! Wout See the beta newsgroups. http://msdn.microsoft.com/directx/beta/default.aspx ...Show All
aloulou_2007 Floating point issue
Is it me, or the Watch window in Visual Studio rounds the floating point values I'm asking this, because I'm having a very strange behavior regarding floats. I have this example. Values shown in the Watch Window while debuging: plane.c = -1.0000000 pp->z = -8.8235264 plane.c * pp->z = 8.8235263824462891 Are the values in the watch window rounded Can I disable that Why does this happen Thank you ...Show All
Kranti DirectX 10 Game in VB. NET
I want to create my first game in Visual Basic. NET by managed DirectX 10 SDK. Please, help me, friends. I thinck it is easy to do 3D Game in VB. NET. If you are an inexperienced programmer I would recommend trying XNA instead. DirectX is defantly that motherload and probably the best out there but if you are looking for somthing a bit easier and not that advance when it come to rendering objects and what not XNA may be better for you ...Show All
BrianRD HLSL pixel shader: problem with tex coord computation/texture lookup
I'm sitting on a strange problem for half a day now and can't figure out why things are happening as they happen. :) What I'm trying to do is to look up a texture with entries of size 3*3 texels each ( g_samCurvatureTex : this is a magnified part of it, the whole tex is repeated like this - I am only interested in the blue channel right now). At first I need to compute the centre index of the entry: #define CURV_TEX_ENTRIES 42 ...Show All
eyekron DirectX Tutorial fur Compact Framework 2.0 (C#)
Hi, ich bin auf der suche nach einer kleinen Einfuhrung bzw. einem Beispiel fur die DirectX Mobile Programmierung auf dem Pocket-PC. Hauptsachlich interessiert mich dabei 2D. Wer kann mir da weiterhelfen directx is supported on mobile devices now wow... Haha, that's cool! My cell phone is still running windows mobile 2003, don't support dx Mobile Direct3d ...Show All
mrgilbe1 how to detect a 3d sub mesh where the mouse is on
I'm trying to model a application where a 3d object is loaded from a .x file and I need to get the user input specifying which part of the object the user clicked on. something like image map in 2d..... I need it in a 3d object (where it can be rotated...etc) does anyone have ideas how to map between 3d sub meshes and get on which sub msh the user clicked on Thanks in advance hehe, thx for the info. The ...Show All
AiricD Printing display area to printer
We are designing a drafting type program and need to be able to print the DirectX display area. Not only the current clipped region (or current visible camera area). I was thinking about creating a hidden display area that is much larger and have my app draw to that device area and then printing it (since they may print on 11x17 paper), but was unsure about memory issues (since many of the laptop users have 32Mb graphics cards). Ess ...Show All
Kousay Alani Cant get transformations working.
Hi, I have been going through tutorials trying to simple draw a quad apply a texture and then rotate the quad. It was bad enough just finding tutorials to draw a quad, the sdk examples jump from drawing a triangle to drawing a cylinder ! Anyway! I set up my quad and am using index buffering to display my triangle strip. I managed to get a quad up an apply a texture, eventually. My problem now is I can't figure out ...Show All
Nikas1 DirectX 9 Palettes
Does anyone know how to use Palettes in DirectX 9 I can't find any information for it anywhere. If you want to post examples, I'm using VB, but I can convert C++ too. Can you be a little more specific about what context you mean when using the word "palette". What are you trying to do I really wouldn't bother with palette support. There are non-obvious speed hits if you use them wrong (and "wrong" ...Show All
philipsh render problem
I am a chinese,I'm sorry my english is bad.The question is:(I use DX version DX9.0c.) LPD3DXSPRITE spr; LPDIRECT3DTEXTURE9 tex; D3DXCreateTextureFromFile(Device,"One.dds",&tex); D3DCreateSprite(Device,&spr); Device->BeginScene(); ... spr->Begin(D3DXSPRITE_ALPHABLEND); spr->Draw(tex,NULL,NULL,NULL,0xFFFFFFFF); spr->End(); ... Device->EndScene(); It would have a transparent effect,yes,I did see transparenty.But the alpha ...Show All
Tian C# 2.0, GDI+ images & opacity
And don't know if this post belongs to this forum, but i'll ask anyway... I'm making a small game as a test with GDI+ (C# 2.0). I had this question: is there an easy way to draw an Image object to Graphics with different opacity I don't mean the transparency key thing, but the whole image should be half visible, and trasparency color of course not visible at all. I managed to alter the opacity of the image with getpixel and setpixel, but I'd li ...Show All
troyt February SDK: Where is my frame count? ;-)
I just installed the February DX SDK. Now I'm missing the fps display I used to have in the status display when I switched off vsync in the old sdk (August 05). With the new sdk it just says "vsync off". How can I diplay the fps with the new sdk Nico Thanks! This is funny, because it is not documented... Maybe they added that parameter and forgot updating the manual ;-) ...Show All
sldr Tiling Terrain System
I'd just downloaded Arena Wars and the author has done a terrific job -- it has a really nice map editor, too. I'm looking at the terrain system, and it's not a straight height map with a 2048x2048 texture drape on top of it. There's some tiling, layering going on there. There's definitely a height map associated with it, but the texturing is much richer than a simple texture. Does anyone know what this terrain system is called I'd like to study ...Show All
