hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Jun 28, 2010 12:48 am Post subject: software 3d engine and source |
|
|
http://www.mediafire.com/?bzzhcjzjch2
It's meant to be tiny.
edit:
smaller, newer version, laff. i like to push the filesize. it could prob get smaller, but 4kb was nice to see.
http://www.mediafire.com/?mynekmztttm
Another version of that 3d engine I wrote a while ago, definitely iffy in spots. It has none of my old bitmap code yet so no image drawing / scaling yet. When that happens I'll probably add bitmap font support as well. Some other stuff is incomplete, ugly, broken, or works weird. OpenGL and DirectX aren't used at all, though all their documentation was really, really helpful.
It can actually draw proper triangles now instead of me having to handcode all the lines individually like what was done previously. I assume if the indicies were correct quads should work fine too, but I dunno if I want to keep them.
I just copy / pasted the verticies / indicies from a 3dsmax export for the most part so it'll work with any geometry really. I don't really want to write a loader but ughhh. I want to try loading a Quake map or something eventually. The original plan was some 3d text that changed orientation slightly depending on where your mouse was on the window, so if your cursor was on the left side it would be facing slightly to the left. There's a bunch of simple and fun effects that would look nice in a trainer or something.
I guess this would be good for anyone wondering how a 3d engine works. It's pretty simple to get drawing with this. Most stuff is wrapped up nicely enough and it's usable enough.
Last edited by hcavolsdsadgadsg on Mon Jul 12, 2010 5:35 am; edited 1 time in total |
|