-
OK, here's what I was doing. I was having a look at all the components and references on my computer. I got to DirectX and I thought I will save that til last because it looks too hard. So I went on and on. When I got back to DirectX I discovered that it was in fact really hard because you have to do all these "Set objDX = DirectX7.Something". I went to MSDN online and they did have some tutorials about DirectX, but I think they were only sample tutorials, they weren't very in depth and I found myself having to declare objects not in the tutorial, and even after that they didn't work.
Can someone please tell me how to start up DirectX, prepare the Viewport and maybe how to draw a cube. Anything to get me started.
Thanks.
-
I think you'll need the directX sdk, a very large download.
-
Nooooooooooooooooooooooo. That's where those dang sample tutorials came from. They didn't help out very much. What I need is an advanced expert at VB (kedaman that's your cue).
-
I'd recommend you to start with DDraw or if you're really new DInput.
(There are some samples on my page if you need...)
-
Yeah OK. I think I'll start with DirectDraw, but I really want to know how to draw cubes. I wish it were as simple as this:
Code:
objDX.DrawCuboid x, y, z, x1, y1, z1, x2, y2, z3, _
texture.bmp, "60 degrees", RGB(255, 0, 0)
-
Yeah *hehe* ;) But that would be too easy, wouldn't it ;)
-
Fox, NOTHING IS EVER TOO EASY, FYI,
:D
hehehehehehe
-
Coding is easy, actually but the programmers are probably too stupid to understand how to do it so, that's why they think it's hard.
Also DirectDraw is easy, if you use it for a while you may find out that. And Fox nice demo was a good thing to start with;););)
-
My definition of easy is my example above. You are a Guru. Meaning you know everything. I, on the other hand, just learned how to play around with databases. My definition of hard is having 3 or more different types with very similar names having to be set from one of the other 2 to another, just to draw a cube, or even a flat plane.
Another definition of hard is trying to make money off the programs you make when people don't trust them because you are 15.
-
Tutorials
DirectX7 is pretty, well very easy, I have written quite a few programs and samples using directx, If you wanna do the 3d stuff you'll gonna have to learn DirectDraw first. Sorry;>. If you find that the MS tutorials don't work properly, Try searching for some DX sites. Here's one to get you started.
-> http://members.home.net/theluckyleper/
Did you know that you can set the windows desktop as the primary surface?