Archived

This topic is now archived and is closed to further replies.

demons

How to make a 3d game?

Recommended Posts

hi,im a 3d game newbie,but i wanna make a test game for me ... so who can teach me more about 3d game or some sorce code... thx. DS The Modern Hell -Super Cool Painter while ($IaMdemons|| !$die){DevelopIt();}

Share this post


Link to post
Share on other sites
You could:

* Check out the 3D tutorials in GameDev.net
* examine the SDK D3D samples.
* Search for ''3D source code'' in a search engine
* Check out the links in GameDev.net - flipcode etc..


  Downloads:  ZeroOne Realm

Share this post


Link to post
Share on other sites
quote:
Original post by Unreal
Forget D3D8!!Learn OpenGL from nehe.gamedev.net


I don''t mean to start a flame war, but I''m inclined to agree with Unreal. The hardest part of opengl is the window setup and with glut it''s just as easy as dos text programming. With DX8 (and previous versions), you''re stuck in COM and c++. Not to mention that if you use DX then at some point you''re probably going to get sucked into .net "Software as a service" which, in my opinion, is likely going to be a nightmare for developers.

Oh, and Opengl is "portable" to Linux, Mac OS, and even flavors of unix. (Can''t say that for DX!)

Share this post


Link to post
Share on other sites
I''m really tired of the excuse most people use to support opengl : "it''s so portable". That''s true, but most people never write or run games or graphics in linux. And most dev''s never do that either. And I think that most people that sight that excuse never use linux either.

Remember I used the word most here- I''ve used opengl in linux myself and I know others who have, but I''m under the impression that most (over 75%) don''t. IMO.

Pactuul

"The thing I like about friends in my classes is that they can''t access my private members directly."



Share this post


Link to post
Share on other sites
"...
That''s true, but most people never write or run games or graphics in linux. And most dev''s never do that either.
..."

Hmmm... So just because most people dont write games for Linux means that nobody should? The Linux industry is starving for games and there is a growing market for them. It could be the difference between success and failure to include them in your grand scheme of things

Next you will be telling us that most people dont port their games to PS2 either... Sony supports one of these APIs on PS2 and not the other... take a guess which is which?

Seeya
Krippy

Share this post


Link to post
Share on other sites
To create a 3D game:
It''s all about the rotating cube. Get that down, and you can work wonders from there. NeHe for OpenGL, NeXe, Drunken Hyena, and Wazoo for D3D.

As for D3D vs OpenGL:
Anybody who refuses to install Windows to play games is missing just about every game on the market, so... in my opinion, it''s not worth catering to them.

And D3D is getting better every year, while OpenGL is already starting to fall behind.

-----------------
The Goblin (madgob@aol.com)
-----------------
"Before critisizing somebody, walk a mile in their shoes. That way, when you do critisize them, not only will you be a mile away, but you''ll also have their shoes!"

Share this post


Link to post
Share on other sites
Wow, I signed up to gamedev.net just for this debate.
I was going to post something about whether I should use OpenGL or DX8. Well I have to agree with many things here. First OpenGL is portable and Quake III does use it so amazing things can obviously be done with it, but I do tend to agree that OpenGL is falling behind. _Now_ it is actually easier to use DX8 than OpenGL because of the major changes. Anyone that bashes COM is just plain ignorant. COM is a very well designed structure for OOP. And why is being stuck using C++ so bad? Face it people, more apps will be C++ ( or OOP ) in the future.
Maybe microsoft needs to write DX for other platforms. I think that would be better than using OpenGl, hehe I know that statement will spark some fires...
If you plan on making a game that will be based on linux you are going to be out of business before you even start. I believe more than 80% of the worlds population probably uses windows. Stop limiting yourself by thinking about technical people that know how to use linux which is far less than the non-technical people that would freak if they had to use linux. Because non-technical people greatly outnumber technical people. I always love people that post things like, ''everyone should use linux, or windows sucks use linux, or linux is easier to use than windows''. HAH have an _average_ 13 yearold try and install or run a game on a linux machine, he''s gonna get lost. Or a mother that likes fancy card games.. These people are not going to be able to use linux or anything else besides maybe a Mac, but the Mac is a whole other story.
When you programs games stop thinking about what YOU can do on a system and think about your general customer.. You sit there and produce a game that will run on every operating system in the world. Woopdidoo.. You spend over 50% more time debugging and testing on all those platforms when the majority of the people will only run it on Windows..
Ok I think I''ve stired up the fire enough..

Andrew T. Finnell

Share this post


Link to post
Share on other sites
OpenGL is falling behind? I think not. As a programmer that uses both API''s, I can tell you that whatever you can do in Direct3D you can do in OpenGL. Only in OpenGL they''re called extensions, and are what make OpenGL more upgradable than DirectX. DirectX comes out with a new version every year or two. You don''t completely relearn the api, but you have to rewrite your code. with OpenGL you just keep adding on. that''s why I use OpenGL. Microsoft is trying to make Direct3D like OpenGL so people will use it. They are even holding back OpenGL 1.2 for Windows. That''s bullshit. Do whatever you want, but OpenGL is just as good as Direct3D.

HHSDrum@yahoo.com
Polarisoft Home Page

Share this post


Link to post
Share on other sites
Why is it that 3d posts no matter what always end up in a DX/OpenGL flame war? You people have taken this completely off topic and are using it for your own public soap box when you should honestly be trying to help the origional poster. You should all be ashamed of yourselves.

Demons: Chances are that if your asking this question your not realy ready to make a 3d game yet. My suggestion is to start with some basic 3d apps. Things like drawing triangles, rotating them, and so on. Eventualy you''ll get to the point you feel confident and can continue on to making a game.

Unreal: Shut up! Every post you''ve made on this board in the last few days has been "Use OpenGL DX Stinks". I''m sorry that direct X is beyond your programming know how. Just because you can''t understand it doesn''t mean others can''t. You should realize that people learn diffrently and most code diffrently. Choosing an API is like choosing a peice of clothing to wear. What fits you might not fit me, and vice versa. In the end only fools choose an API. Your job as a programmer is to learn how to 3d programming, and an API just facilitates that. It doesn''t matter which one you use as long as you''ve got the 3d know how under your belt any API will suit your needs.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
>> maybe microsoft should write dx for other platforms!

hahahahahahahahahahahahahahahaahahahahahahaa
hahahahaha
hahahahahahahahahahaha


..sorry.. couldn''t help myself..

Share this post


Link to post
Share on other sites

Forum Users Against Flame Wars



I've never taken part in a flame war because they just seem pointless nothing actually ever gets resolved and any useful comments get lost in "___ is better than ___ because..." So I thought I make a suggestion....

Why not have "Flaming" as a topic for a new forum, so anything breaks out into a full scale war the moderators simply move it to the new forum leaving pointless flamers to argue and use up GameDev's disk spaces while people who ask useful questions, make interesting comments or seek knowledge don't click on a link to be presented by 10 pages of flames.

This will probably never get read because it will get lost in the fire but at least I tried


Edited by - xstreme2000 on July 27, 2001 11:05:55 AM

Share this post


Link to post
Share on other sites
quote:
Why not have "Flaming" as a topic for a new forum, so anything breaks out into a full scale war the moderators simply move it to the new forum

Theoretically a good idea, but Gamedev is already slow as software OpenGL
A place where flame wars can rage unmoderated, on the Gamedev server, will make it nearly impossible for the "good" users to read the serious posts. In my opinion, there has to be done something to the slowness of the Gamedev server first, and as long as this can''t be done, flame wars should be suppressed immediately.

Share this post


Link to post
Share on other sites
That was the problem with the Game Programming MegaSite. Every post turned into a flame war and those posts dominated the boards. actual posts were ignored because everyone was arguing. some of you new guys may not know about that site. man I loved that site.

edit- I loved the site, not the flame wars. just wanted to clear that up.

HHSDrum@yahoo.com
Polarisoft Home Page

Edited by - Julio on July 27, 2001 1:36:27 PM

Share this post


Link to post
Share on other sites
Well I dont know about you but I never said x was better than y or y was better than x. They all are great and have there own plus and minus''s. I personally was trying to state that people need to use whatever suits them best. Yes flame wars are very ridiculous and serve no point what so ever. If someone would of said something totally bad about opengl I would of defened it. But in this case it was dx that was being bashed. So anyways lets all get back to what we were put here to do. Make games to virtually kill people instead of really going into the world and blowing peoples heads off.. heh.



------
Andrew T. Finnell
Software Engineer
e-Security Inc.

Share this post


Link to post
Share on other sites
I reccomend you learn OpenGL... im not bashing D3D its just that OpenGL has more tutorials and stuff online to help you. Then when you have a good foundation with OpenGL maybe you can learn D3D and make an engine that uses both apis. Still, if you want to learn D3D first, then y not, that is if you are programming in just windows of course.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Ok I just came up with a stupid but never the less interesting idea:

why don''t we start a contest, where the contestants may use either OpenGL or Direct3D as their API. In order to keep things a bit fair, each entry gets a score based on speed, detail, and how good in general the entry looks. Then the scores for each team (OpenGL and D3D)are added and the winner of this on going battle will be found.

Of course I have to admit the result of such contest would prove absolutely nothing, but I reckon it would be interesting.

BTW i personally think that:

Direct3D gives you much more control over graphics card options and everything else in general.
OpenGL is much easier to implement and has a slightly faster rendering pipeline.

Share this post


Link to post
Share on other sites
Well it is not a matter of "flame war", in my opinion.
I think it is fair to share experiences.
I got started about one year ago using Direct x 7.0.
It was a nightmare.
Then I passed to opengl... I saw the light.
I do not mean that opengl is better than direct x,but no doubt it is much easier to learn

Share this post


Link to post
Share on other sites