Starting with three-dimensional objects

I just started with C ++ and would like to program a bit with 3D objects too. Now I could use C ++ or Objective-C, it doesn't matter.

Which books are good with 3D objects?

I want to load a 3d object / file created by a 3D application and then manipulate the 3D object.

Move it to the screen, rotate it, etc.

Where is a good place to start learning this? Book, textbooks, etc.

+4
source share
3 answers

Lesson 31 on gamedev.net should get you started.

+2
source

Here is a good website with tutorials on 3D engines: http://www.spacesimulator.net/wiki/index.php/3d_Engine_Programming_Tutorials

+1
source

I just started with C ++

There, did you do any C programming? To get somewhere (besides, stuck!) In OpenGL, you really need to know C well, since OpenGL is written in C. At least you need to know everything about pointers, functions, and arrays.

I also suggest starting with 2D objects and then moving on to 3D. There really is no difference in OpenGL. To make a 2D object, you render the same exact way as the 3D object, but you give each object the same z value (depth).

Although most of them are outdated, I suggest starting with exploring Immediate Mode, moving to Display Lists, Vertex Arrays, and finally Vertex Buffer Objects and Index Buffer Objects. These are all different ways the GPU gets vertex / color / texture information, and they all differ in speed.

+1
source

All Articles