Skip to main content
  • 1423 Accesses

Abstract

3D programming is an incredibly wide and complex field. This chapter explores some topics that are the absolute minimum requirement to write a simple 3D game:

  • We’ll revisit our friend the vector and attach one more coordinate.

  • Lighting is a vital part of any 3D game. We’ll look at how to perform simple lighting with OpenGL ES.

  • Defining objects programmatically is cumbersome. We’ll look at a simple 3D file format so that we can load and render 3D models created with 3D modeling software.

  • In Chapter 8, we discussed object representation and collision detection. We’ll look at how to do the same in 3D.

  • We’ll also briefly revisit some of the physics concepts that we explored in Chapter 10 — this time in a 3D context.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Mario Zechner and Robert Green

About this chapter

Cite this chapter

Zechner, M., Green, R. (2011). 3D Programming Tricks. In: Beginning Android 4 Games Development. Apress. https://doi.org/10.1007/978-1-4302-3988-8_11

Download citation

Publish with us

Policies and ethics