Original Post
hi, i'm working on a simple 3D engine. I've spent a lot of time studying the mathematics and algorithms and now I'm ready to start coding. I'm starting from scratch, so my first problem is just figuring how to draw to the screen. I feel kinda dumb that i hit a snag here, because it makes me sound like i'm clueless (perhaps?).
I made a post about the SDL library and it looked pretty promising. I'm using it to access the framebuffer and update the screen. I was pleased with the speed of my putpixel function and now I'm testing a line function. It's a lot slower despite using a fast algorithm (Wu), but I may have screwed up somewhere.
My thoughts are that using SDL (I've used DriectDraw too) is probably not a great method for getting access to the frame buffer, at least not for my purposes. I'm still learning assembly but I've looked into usin 13h mode. That's pretty cool, but I was hoping to have a higher resolution blah blah. So how do the pros do it?
(Actually, I'm looking over my DirectDraw code again, and compared to the same task in SDL, it's much faster. I wish it could be cleaner though).
[edited by - chipmunk1886 on December 24, 2002 12:14:01 PM]
[edited by - chipmunk1886 on December 24, 2002 1:02:07 PM]