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
Learn OpenGL

You're reading from   Learn OpenGL Beginner's guide to 3D rendering and game development with OpenGL and C++

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781789340365
Length 208 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Frahaan Hussain Frahaan Hussain
Author Profile Icon Frahaan Hussain
Frahaan Hussain
Arrow right icon
View More author details
Toc

Transformations, Projections, and Camera

In the previous chapter, we discussed about how to create shapes in OpenGL using our libraries. We learned to add colors to our shapes and we'll also discussed how to add texture to the shapes. This chapter will be the continuation of the previous chapter and we'll discuss how to apply transformations such as rotation or translate to our shapes. We'll also discuss the projection and the coordinate system and try to implement that in our game world. You'll also get to learn about the camera class and we'll use that to view and navigate through our multiple objects we'll create in this chapter.

The following topics will be covered in this chapter:

  • Applying transformations such as rotations and translate to our shapes
  • Implementation of projection and the coordinate system in the game world
  • Adding multiple objects...
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