O'Reilly logo

DarkBASIC Pro Game Programming, Second Edition by Joshua R. Smith, Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Lights, Camera, Action: 3D Lighting and Camera Control

This chapter continues the coverage of basic 3D programming in DarkBASIC that was started in the previous chapter. Now you will learn the key concepts of lighting and camera control, which are crucial to a game. First, lighting improves the visual appearance of a 3D model, and we have several different types of hardware lights (which are handled by the video card) to use in a scene. Camera control describes where the camera is positioned within a scene, and which direction the camera is pointing, which affects what you see on the screen. Here are the key topics covered in this chapter:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required