Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenGL Game Development By Example

You're reading from   OpenGL Game Development By Example Design and code your own 2D and 3D games efficiently using OpenGL and C++

Arrow left icon
Product type Paperback
Published in Mar 2016
Publisher
ISBN-13 9781783288199
Length 340 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Robert Madsen Robert Madsen
Author Profile Icon Robert Madsen
Robert Madsen
Stephen Madsen Stephen Madsen
Author Profile Icon Stephen Madsen
Stephen Madsen
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

A computer in a computer


The thing about what it takes for your computer to process your game. The computer must receive input from the player, interpret that input, and then apply the results to the game. Once the input is completed, the computer must handle the physics of the game: objects must be moved, collisions must happen, and explosions must ensue. Once the computer has completed updating all of the objects in the game, it must then render these results to the screen. Finally, in order to be convincing, all of this must occur at least 30 times a second and often 60 times a second!

It is truly amazing that computers can process this much information that quickly. In fact, if it were truly up to the central processing unit of your computer to accomplish this, then it wouldn't be able to keep up.

The 3D graphics card solves this problem by taking care of the rendering process so that the main CPU of your computer doesn't have to. All your CPU has to do is deliver the data and the graphics...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime