Skip to main content

Tutorial: Getting Started With the Mobile 3D Graphics API for J2ME - retained mode scenegraph and immediate mode OpenGL ES rendering

This tutorial introduces the Mobile 3D Graphics (M3G) API for the Java 2 Platform, Micro Edition (J2ME), defined in JSR 184. M3G defines low- and high-level programming interfaces that bring efficient, interactive 3D graphics to devices with little memory and processing power, and with no required hardware support for 3D graphics or floating-point operations, but can scale up to higher-end devices that have color displays, 3D graphics hardware, and support for floating-point operations. It offers both retained-mode access (scene graphs) and an immediate mode that is aligned with OpenGL ES. The Hybrid Mobile Framework v6 is an implementaiton of M3G that takes advantage of OpenGL ES hardware acceleration.