Main > Software Forum

DirectX programming

(1/3) > >>

screaming:
Anybody out there with any DirectX programming experience willing to give me a hand getting started? I have a project ready to go, but I spent the better half of last weekend and (quite literally) the entire weekend trying to get my sprites, textured triangle lists, and text to display properly. I have a framework in place but it seems I'm still missing some vital information that's just not sinking in.

PM me, shoot me off an email, or IM me.

Thanks!

-Steve.

screaming:
Why can't I send attachments through a PM?

Howard_Casto:
I know directx very well, but you haven't really posted enough data for anyone to help you. 

What version of directx?  What coding language are you using to interface with it?  What video card are you using on your test rig (tremendously important if you are coding in dx8 or higher)?


I can help with small things, but in all honesty dx is a hard language to learn and doing just what you are doing (coding stuff for practice) is the best way to learn. 

Minwah:
Try searching for some tutorials...I used a good one before, but I cannot find it now :(

screaming:
Yeah I've been through about 3000 tutorials and I ended up with that screenshot above ;)

Because I like to torture myself, I'm using DirectX9 with the beta version of MDX for .Net 2.0. The API is pretty close to what you'd get with C++ but OO. If I can wrap my head around this then I can be confident that I "understand 3D programming", so that's why I started with this setup.

Actually, I'm pretty close to understanding it.  I just need practice and to fill in a few small gaps (obviously).

That screenshot above is the result of a TransformTextured quad with the h/w set to the dimensions of the bitmap (the blue area with yellow rectangle is actually a bitmap).  For some reason it's coming out deformed and not to 1:1 scale.  Since it's already transformed, no view, projection, or world transformations are applying to it so I don't understand why it's not coming out with the proper dimensions :(

There are a couple other small things that i don't quite understand yet, but if I can at least get something workkable I think it will just fall in line.

-Steve.

Navigation

[0] Message Index

[#] Next page

Go to full version