| | |
Where to begin? -DirectX
![]() |
Alright, I'm a novice in programming DirectX but very adept at c++ in general, and I really want to learn how DirectX works!
I borrowed a book from the local library called "Windows Game Programming for Dummies". Seeing as I'm dumber than a Dummie, I really didn't understand the chapter about "plotting a pixel"; I gave it several tries, but no matter how I did it, it didn't write out a measly pixel! (The stupid library didn't include the CD with the example code, so I can't even study that!
)
Now this could be because the color used when plotting it was white, I don't really know.
Anyone have a good link for a really good and basic tutorial on how to plot a pixel with DirectX?
Anyone care to show how it is done?
I borrowed a book from the local library called "Windows Game Programming for Dummies". Seeing as I'm dumber than a Dummie, I really didn't understand the chapter about "plotting a pixel"; I gave it several tries, but no matter how I did it, it didn't write out a measly pixel! (The stupid library didn't include the CD with the example code, so I can't even study that!
)Now this could be because the color used when plotting it was white, I don't really know.
Anyone have a good link for a really good and basic tutorial on how to plot a pixel with DirectX?
Anyone care to show how it is done?
I've already looked through that post, alas, I've yet to find a tutorial with great quality. Most of the tutorials just skim through the important parts and just display the code (and some don't even do that!)
I mean, how am I supposed to learn something if I get insufficient information?
DirectX 3D tutorial.
I know how to create a window and start the DirectX in fullscreen mode. That's it. Where do I go from here? Seriously. I'm really frustrated.
I mean, how am I supposed to learn something if I get insufficient information?
DirectX 3D tutorial.
I know how to create a window and start the DirectX in fullscreen mode. That's it. Where do I go from here? Seriously. I'm really frustrated.
In DirectDraw (2D api) you could set pixels directly, I've not used either for a long time, and I'm pretty sure that DirectDraw was discontinued a while back.
This kind of thing is going to be the way to go in DirectX: http://www.drunkenhyena.com/cgi-bin/...r=2;article=20
Basically, DirectDraw (used to?) be a 2D API with fast functions for blitting and pixel plotting in absolute screen coordinates, DirectX is a 3D API, so you get most efficiency talking to it in terms of 3D primitives ( points, lines, triangles, etc ), textures, and transforms.
This kind of thing is going to be the way to go in DirectX: http://www.drunkenhyena.com/cgi-bin/...r=2;article=20
Basically, DirectDraw (used to?) be a 2D API with fast functions for blitting and pixel plotting in absolute screen coordinates, DirectX is a 3D API, so you get most efficiency talking to it in terms of 3D primitives ( points, lines, triangles, etc ), textures, and transforms.
Plato forgot the nullahedron..
![]() |
Similar Threads
- Where do I begin to submit website to search engines. (Search Engine Optimization)
- Issue with DirectX (Game Development)
- DirectX woes (Windows NT / 2000 / XP)
- DirectX (Windows NT / 2000 / XP)
- DirectX (Windows NT / 2000 / XP)
- how to use DirectX in VC++ (Game Development)
- Problems with DirectX and VC++ (Game Development)
- Need help with DirectX code (C)
Other Threads in the Game Development Forum
- Previous Thread: Survey: How successful have you been with the iPhone?
- Next Thread: Development of FPX-Game engine Episode 2
| Thread Tools | Search this Thread |
3d advertising ai algorithm ban c++ cambridge camera censorship china competition console development engine fov fpx game gamer games gaming gauntanamo government idaho in-gameadvertisement intellectualproperty laracroft live manhunt math mathematics matrix mercenaries microsoft mmorpg modded msn naked news nintendo obama palin physics pirate playstation politics projection ps3 rpg search software sony stephenhawking stocks studio technology terrorism tombraider uk videogame web wii world-of-warcraft xbox xbox-live xbox360






