OpenGL + 3D Modelling

Hey everybody,

Been quite a while since I last visited the forums, mainly because I was diving into OpenGL, head first! I just finished my first game: Snake.
It's all still in 2D though.
And that made me wonderin: how do really (REALLY) graphic-intensive games work, e.g. Crysis 2.
Does every single object has it's own Draw() function? And are they always called with exact coordinates of the location? Or is the gmae world like 1 HUGE object? And how are these polygons read in, if they are made with a 3D editor?
Sorry if this is a stupid question, I was just wondering :P

Cheers,
Xander
++snake, I love that game.

I don't know about crysis 2, but this may help:

http://en.wikipedia.org/wiki/Finite-state_machine

I think lazy foo has an article on writing one.

As for 3d objects, this:

http://en.wikipedia.org/wiki/Wavefront_.obj_file

Most(all?) 3D editors support exporting to this format. It shouldn't be too hard to write a function that read it.

First post! Good luck.
Last edited on
You don't type in the exact coordinates, at least you're not supposed to. You would use relative coords and a translation function.
Topic archived. No new replies allowed.