Hi everyone. Chili, I love the stuff you do, keep the videos coming.
I got an important question. This framework that you have set up, what API (I'm assuming it's an API) are you using exactly? Direct3D, Direct Draw or 2D or whatever they call it? I've actually begun making a simple 3D camera perspective kinda like 2.5D, and it's going OK. Can you do 3D stuff in it?
Also, whenever I'm debugging, I'd love to have certain variables displayed on the screen while the program is running, it makes a world of difference when you can actually see these variables when something goes wrong in runtime, like what rotation my player has, and coordinates, etc. Any ideas on that?
Thanks a lot.
Questions for Chili, or anyone else, please!
-
- Posts: 2
- Joined: March 26th, 2012, 5:55 am
-
- Posts: 2
- Joined: March 26th, 2012, 5:55 am
Re: Questions for Chili, or anyone else, please!
Also, one other thing, if you're going to write your own 3D engine from scratch, like with your own rasterizer and everything like you've started to teach us with the draw line function, can you do it through DirectX? Or do you have to use something else like OpenGL? Because all the DirectX stuff I've seen only teaches you how to place vertices, everything's already done for you, the rasterization, pixel colour interpolation, and lighting too I think.
Re: Questions for Chili, or anyone else, please!
Hey Bro, welcome aboard!
The framework uses Direct3D 9, but only to get access to the video memory. The engine, as it is right now, is essentially a software engine (no hardware acceleration).chiliDevotee wrote:I got an important question. This framework that you have set up, what API (I'm assuming it's an API) are you using exactly?
This will have to wait a bit. In order to render text to the screen we'll need to be able to load bitmaps into memory. Once we get to that point in the tutorials it will be easy to do what you are talking about.chiliDevotee wrote:Also, whenever I'm debugging, I'd love to have certain variables displayed on the screen while the program is running, it makes a world of difference when you can actually see these variables when something goes wrong in runtime, like what rotation my player has, and coordinates, etc. Any ideas on that?
Yes you can, and that is exactly how I will introduce 3D graphics when the time comes. First we will develop a software graphics engine and then we will do it using the 3D hardware.chiliDevotee wrote:Also, one other thing, if you're going to write your own 3D engine from scratch, like with your own rasterizer and everything like you've started to teach us with the draw line function, can you do it through DirectX?
Chili