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! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
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
Author (1):
Arrow left icon
 Madsen Madsen
Author Profile Icon Madsen
Madsen
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Chapter 9. Super Models

In the previous chapter, you created a framework to render OpenGL in 3D. At the very end of that chapter, we added a block of code that rendered a cube. In this chapter, you will learn how to create 3D objects in Open GL, first using code, and then using a 3D modeling program. In this chapter, we will cover the following:

  • Graphics cards: 3D graphics cards are basically small computers that are optimized to render objects in 3D. We will take a quick look at how a graphics card does what it does best.

  • Vertices: 3D objects are drawn by plotting points and telling OpenGL to use these points to create an object that can be rendered on the screen.

  • Triangles: Triangles are used to create all 3D objects. You will learn about the relationship between vertices and triangles and how they are used to create simple objects.

  • Modeling: Once you understand how to create simple 3D objects using code, you will also understand that you are going to need a more effective tool if you...

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 £13.99/month. Cancel anytime
Visually different images