Book Image

Lua Game Development Cookbook

By : Mario Kasuba, Mário Kašuba
Book Image

Lua Game Development Cookbook

By: Mario Kasuba, Mário Kašuba

Overview of this book

Table of Contents (16 chapters)
Lua Game Development Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 4. Graphics – Legacy Method with OpenGL 1.x–2.1

This chapter will deal with the following recipes:

  • Drawing primitives in immediate mode

  • Setting up blending

  • Moving, rotating, and scaling objects

  • Setting up the orthogonal and perspective cameras

  • Setting up materials

  • Setting up lighting

  • Using display lists

  • Setting up the vertex buffer