A 3D Program - Straight 3d, no DirectX masterbooda (17 replies, 2932 views) (2004-Jun-3) I was again digging through some of my old stuff, and stumbled across this little program. Now keep in mind this was made before Direct3D really took off, and it is straight GDI and math. I would suggest this program for anybody interested in Programming 3D and matrix math. This program does everything in VB with no external routines or librarys(except GDI for the polygon fill), it is a must for the 3D enthusiast, it will show a lot of what Direct3D hides.
The source code can be downloaded from [url]http://dabooda.servegame.com/3DExample.zip[/url] Instructions for use is at the begining of the code.
Enjoy and I hope somebody can learn something from this.
Back to News
| | | This is a pretty neat program. I think it's a good starting point for someone that wants to create a StarFox type of game or anything with similar graphics.
| | | Very impressive... I have actually tried to do something similar, but I couldn't understand enough of the math to get far enough. Maybe now I'll understand. :) Thanks
| | | I had help on the math, trust me, never even made it to trig in highschool, of course I never made it to class much either.... I had a lot of help from this great little book, titled "Flights of Fantasy", It is a book, that takes you from begining to end of creating a flight simulator, all the code is assembly and C# but I converted it over to VB.... mainly the math.....
You can incorporate alot of this same math into 2D and really do some cool stuff with sprites...
DaBooda out...
| | | See.. this just proves highschool doesnt teach you jack that you cant teach yourself.. I mean, most of us here are self taught programmers... right?
lol.. if only they had a math class where they taught everything using examples of programming.. taught algebra using program variables, taught the entire course as a "how will we make this game work" type class... where you learn trig and physics, all using reference to game programming... Then i might pay attention and actually learn something..
| | | Isn't that called college?
| | | I think they have Ritalin to help you out with that...
| | | Nice code , I always wondered how that stuff was done , it is pretty qiuck 2.
| | | ummm.... who dirtied up the news with a dirty word.... lol
Don't make fun of Ritalin, I have to take it for my ADD, but I don't think it helps.....what where we talking about...?
DaB...who am i.... out...
P.S. I am glad someone is finding this code useful. When I first got into programming DirectX7 I was going to carry this over... but that would have been dumb...
| | | Very interesting indeed. Might be useful sometime...
| | | I noticed that the news post says it uses the GDI to fill the poly. I have my own poly fill code written in pure 100% vb.net code. If anyone is interested in getting the code to fill a 2d poly manually you can get it at my web site at www.createdbyx.com. Look under the "Development" link on the side bar, and look under the vb.net "how to" category called "Fill a 2D polygon manually"
| | | "See.. this just proves highschool doesnt teach you jack that you cant teach yourself.. I mean, most of us here are self taught programmers... right?"
Wrong. You need some serious programming skills and math skills if you're going to compete for a good job in today's programming field. Self taught can only take you so far. Luckily, today's young adults can choose variety of colleges that offer computer programming. I graduated from Devry a long time ago when they first offered computer courses. Back then it was common for the students to know more than the teachers, not anymore. Don't fool yourself, there is alot of BRAINIACS coming over from other countries into the USA taking our tech jobs away from us. (No offense to anyone, more power to them! If they have the skill, hire em!!) As far as game, multimedia coding goes, you can NEVER learn enough math.
| | | So you need to like maths if you want to be a good programmer, right?
Luckily I do... I mean, I do like maths.
| | | I agree you need to enjoy math to program... as for needing to be good at it is important if you are looking for a job in the programming field, fortunately I am just a hobbiest so I can learn at my own pace and behest... I am a computer science major but that is only to learn more about computers and programming, for I will never get a job in it, because to me designing a program on someone elses idea is not my idea of fun... of course I am not looking for money, but that makes me a screwball...lol
DaBooda out...
| | | I just wanted to add one thing, I used to fill in the polygon manually with this code (v1.0) and it is slooow, use window's whenever you can to help you out... that is what it is there for... but the manual is a good tool too, especially if your texturing and not paying homage to old flight simulators...lol
Dabooda out...
| | | "Wrong. You need some serious programming skills and math skills if you're going to compete for a good job in today's programming field. Self taught can only take you so far."
Yeah, but if you are going to learn everything yourself, you can still learn a lot. It's not like you have to be taught how to do everything, it is really a matter of being able to take what you currently know and using some commen sense to stretch it out into something new. If every game programmer goes to college and learns the same kind of stuff, you probably wouldn't really see much original stuff coming out.
| | | OT: "I agree you need to enjoy math to program... "
And I disagree that you need to enjoy maths, you simply need to understand the maths ;p
"See.. this just proves highschool doesnt teach you jack that you cant teach yourself.. I mean, most of us here are self taught programmers... right?"
If you have the self drive and motiviation then there is no reason why you couldn't pick things up as quickly as a student on a course. The benefit of doing a structured course though is that it gives you a good bassis to explore other avenues of programming.
"You need some serious programming skills and math skills if you're going to compete for a good job in today's programming field. Self taught can only take you so far."
I would disagree, Although I've had a structured programming education I've learnt more useful day to day stuff through self study.
I know plenty of self taught programmers in employment, some of them good others less so. It seems the crapper they are the higher up the chain of command they climb. Bottom line in my opinion is self motivation.
| | | "I would disagree, Although I've had a structured programming education I've learnt more useful day to day stuff through self study."
2 programmers age 25 are in the office for a job interview. One has a college education, the other is self taught. Both have the same abilities. Guess which one will get hired time and time again. The college grad. One of the reasons and you can research and verify this, is because most projects are team based, the guy at home doesn't have the social skills to lead or be part of a team, they want to do it all themselves OR they don't take orders well. 10-20 years ago I would agree that the job market was much more open, not anymore.
| | | | | | | | | | | | | | | | |
|