Archived

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

eduardor2k

Need some information (new in opengl)

Recommended Posts

Hi everybody. i''m trying to know where i should start to build my own engine. for example: - Terrain - Objects - collision detection - lighting etc.. Please if you know the answer i would apreciate if you post an answer. Sorry about my poor english. Thanks, Eduardo

Share this post


Link to post
Share on other sites
i dont think that it realy matters that much, but i wouldnt realy know. i have never made a engine, but myself i would start with terrain, and then move to objects, lighting and then collision detection. but thats just my uneducated guess

Share this post


Link to post
Share on other sites
Well I would start with the Terrain, because allmost everything you want to do would probably interact with your terrain.
(Objects, Collision, Lighting,...)

Then I would do Collision Detection.
To Test it you can hardcode 1 object and replace it with a real Object you program next.
Last Thing thats left is lighting.. and thats only really useful if you have objects to test the shadows.

Just my 2 cents. greets, stryx

Share this post


Link to post
Share on other sites
Before you get too far with that make sure you got a decent grasp of opengl. I find it''s best to figure stuff out with several small projects than one large one.

Share this post


Link to post
Share on other sites
Heh, I would have said none of the above. Try writing core (not as fun) stuff first, such as a math library and texture manager. I mean, any worlds you''re gonna load in are gonna use vectors and vertices and will probably use textures.

Also make sure the window code is well tested and suitable to be built upon. Keyboard / Mouse Input is usually something to be done early on too.

Hyperdev

"To err is human, to really mess up requires a computer"

Share this post


Link to post
Share on other sites
I''m doing one atm and I''d suggest

-texture loader
-display lists for terrain etc
-collision detection
-animation
-lighting
-AI
-the fun stuff, spells, characters, etc

Share this post


Link to post
Share on other sites
Squalion you left out the most important part of an engine.. the physics! Id work on the physics (collision detection is only part of it, you need to figure out vectors on how to move it and apply gravity and all that fun stuff). Id say lighting is before animation because collision detection is sort of related to lighting if you are using shadowmaps/lightmaps

My fellow Americans I have just signed legislation that outlaws Russia forever. Bombing will commence in five minutes.

Share this post


Link to post
Share on other sites
quote:
Original post by uber_n00b
Id say lighting is before animation because collision detection is sort of related to lighting if you are using shadowmaps/lightmaps



In what way??


I agree with Squallion.

Share this post


Link to post
Share on other sites