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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-0212-7_17
Publisher Name: Apress
Print ISBN: 978-1-59059-817-7
Online ISBN: 978-1-4302-0212-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books