Skip to main content

Abstract

This chapter continues using the 3D world of Chapter 16, but as a setting to demonstrate four new coding techniques:

  • * The loading and positioning of 3D models created using the Wavefront OBJ file format.

  • • The selection (picking) of objects in the scene by clicking them with the mouse. OpenGL’s selection mode is utilized to implement this feature.

  • • 3D sound, in this case the chirping of a penguin, which varies as the user moves around the scene (nearer and farther from a penguin model). It’s implemented using JOAL and the JOALSoundMan class introduced in Chapters 13.

  • Fog shrouding the scene, making it harder to find the models.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover 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.

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Andrew Davison

About this chapter

Cite this chapter

(2007). Loading Models. In: Pro Java™ 6 3D Game Development. Apress. https://doi.org/10.1007/978-1-4302-0212-7_17

Download citation

Publish with us

Policies and ethics