Warping it up!

Fini Alring's Glossy Tech Zine

3D Graphics for Java Mobile Devices

Claus Höfele has written a nice introduction to 3D graphics on Mobile Java Devices.

This article, the first in a two-part series, describes the Mobile 3D Graphics API (JSR 184). The author introduces you to 3D programming for Javaâ„¢ mobile devices and shows how you can work with lights, cameras, and materials.

Playing games on mobile devices is a fun pastime. Up until now, hardware performance has favored classic game concepts that use addictive game play, but simple graphics. Today, Tetris and Pac-Man are increasingly complemented by two-dimensional action games with extensive graphics. Consequently, the next step is to move toward 3D graphics. Sony’s PlayStation Portable shows the graphics power you can put into a mobile device. Although the average mobile phone is technologically behind this specialized game machine, you can see where the market is heading. The Mobile 3D Graphics API (M3G for short), defined in Java Specification Request (JSR) 184, is an industry effort to create a standard 3D API for mobile devices that support Java programming.

M3G’s API can be divided roughly into two parts: immediate and retained mode. In immediate mode, you render individual 3D objects. In retained mode, you define and display an entire world of 3D objects, including information on their appearance. You can imagine immediate mode as the low-level access to 3D functions, and retained mode as a more abstract, but also more comfortable, way of displaying 3D graphics. In this article, I’ll explain the immediate mode APIs. The second part of this series shows how to use retained mode.

Article: 3D graphics for Java mobile devices, Part 1: M3G’s immediate mode

Tags: , , , , , , , ,

Leave a Reply