Jump to content
  • Advertisement

Archived

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

Prozak

Doom 3

This topic is 6228 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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."

Share this post


Link to post
Share on other sites
Advertisement
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.

___________________________________

Share this post


Link to post
Share on other sites
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.

___________________________________

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!