Skip to main content
gamedev.net
🔒 Locked

Doom 3

Started by Prozak 2 replies 200+ views
Original Post
Prozak
Prozak
Hi all, I''ve been reading some stuff on JC''s Doom3, and it seems to me that he is using OpenGL again, right? Well, I''m starting in OpenGL also, where can I get books that will teach me to accelerate my 3D code? I got OpenGL SuperBible and Game Programming w/ OGL (Prima), amongst a rather large list of other books. Up to now, I have a fully textured, transparent and lighted teapot. This means I''m not an 100% beginner now... I''m an "old-days" programmer, and I''ve written code for protected mode, assembly, OS creation, etc... So, I''m not afraid of a book that teaches me the graphics pipeline,what not to do, speed-wise.... If anyone has some info, share it... Hugo Ferreira UniteK Future "Concentrate, and you can see it. If you see it, then it is possible. If it is possible, you can Achieve it."
bishop_pass
bishop_pass
Optimizing for 3d graphics falls into several categories.

1) Use the optimizing tools available in the API such as vertex arrays.

2) Optimize the geometry either in a preprocess or a dynamic process using LOD techniques. There are lots of papers out there regarding this by Garland, Hoppe, the ROAM people, and others.

3) Partition your object space using octrees, binary space partition trees, voxel grids, hierarchical bounding volumes, and portal systems.

4) Engage in good old fashioned code optimization, such as code hoisting, loop unrolling, function inlining, caching of data, precomputed tables, rewriting of mathematical equations using associative and distributive laws to reduce float operations, changing your mathematics to multiply by constants instead of dividing by constants, and looking for 1 and 0 values in your multiplications which can then be eliminated.

___________________________________

_______________________________
"To understand the horse you'll find that you're going to be working on yourself. The horse will give you the answers and he will question you to see if you are sure or not."
- Ray Hunt, in
bishop_pass
bishop_pass
With respect that you were asking for books, there is a book called Real Time Rendering that has a lot of good information in it. You can also fire up your Acrobat Reader and start reading the several hundred thousand or so technical articles (many on 3d graphics) on file over here.

___________________________________

_______________________________
"To understand the horse you'll find that you're going to be working on yourself. The horse will give you the answers and he will question you to see if you are sure or not."
- Ray Hunt, in

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.