M3G Another Java ME 3D Graphics Standard

JSR 239 is merely a Java binding on a native OpenGL ES standard. As we mentioned briefly in the "OpenGL ES" subsection, Java provides another API to work with 3D graphics on mobile devices: M3G. This object-oriented standard is defined in JSR 184 and JSR 297, the latter being more recent. As per JSR 184, M3G serves as a lightweight, object-oriented, interactive 3D graphics API for mobile devices.

The object-oriented nature of M3G separates it from OpenGL ES. For details, visit the home page for JSR 184:


The APIs for M3G are available in the Java package javax.microedition.m3g.*;

M3G is a higher-level API compared to OpenGL ES, so it should be easier to learn. However, the jury is still out on how well it will perform on handhelds. As of now, Android does not support M3G.

So far, we have laid out the options available in the OpenGL space for handheld devices. We have talked about OpenGL ES and also briefly about the M3G standard. We will now focus on working with OpenGL ES on Android.

0 0

Post a comment