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
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
iPhone Game Blueprints

You're reading from   iPhone Game Blueprints If you're looking for inspiration for your first or next iPhone game, look no further. This brilliant hands-on guide contains 7 practical projects that cover everything from animation to augmented reality. Game on!

Arrow left icon
Product type Paperback
Published in Dec 2013
Publisher Packt
ISBN-13 9781849690263
Length 358 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Igor Uduslivii Igor Uduslivii
Author Profile Icon Igor Uduslivii
Igor Uduslivii
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Starting the Game FREE CHAPTER 2. Ergonomics 3. Gesture Games 4. Card and Board Games 5. Puzzles 6. Platformer 7. Adventure 8. Action Games 9. Games with Reality Index

Understanding normal mapping

There is an interesting opportunity to add some extra details to your 3D model without adding any excess tris to its geometry. A regular object is wrapped by a special texture that stores some relief information. It is like putting on a dress made of cloth with bulging patterns. That is a very smart technical solution. A bitmap document keeps information about the heights of a specific region of an object. The data can be transferred and compressed as regular raster graphics. There is no need of special file formats. Such a method is known as bump mapping because various elements of 3D relief, called bumps for the sake of simplicity, are projected onto a flat image turning into a map.

Classical bump maps are grayscale maps where heights are coded by a pixel's brightness. A 3D engine wraps such a texture on an object but does not display it in a straight form. It only uses it for simulation of extra geometry (generating both concave and convex elements)....

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
Banner background image