Mobile 3D Api File Format Support; Mobile 3D Graphics - M3G Api - Motorola E680 - Smartphone - GSM Developer's Manual

Micro edition (j2me) applications
Hide thumbs Also See for E680 - Smartphone - GSM:
Table of Contents

Advertisement

Mobile 3D API File Format Support

The Motorola E680 supports both M3G and PNG file formats for loading 3D content. The
E680 supports the standard .m3g and .png extensions for its file formats. Mime type and
not extension will be used for identifying file type. In the case that the Mime type is not
available, M3G files will be identified using the file identifier and PNG files using signature.
Mobile 3D Graphics – M3G API
The M3G API lets you access the realtime 3D engine embedded on the device, to create
console quality 3D applications, such as games and menu systems. The main benefits of
the M3G engine are the following:
Typical M3G Application
An application consists of logic that uses the M3G, MIDP 2.0 and CDLC 1.1 classes. The
application is compiled into a Java MIDlet that can be downloaded OTA or embedded on
the target device. The MIDlet can also contain additional assets, such as one or more
M3G files that define the 3D scene graph for the objects in the scene, images and
sounds.
30
the whole 3D scene can be stored in a very small file size (typically 50-150K),
allowing you to create games and applications in under 256K;
the application can change the properties (such as position, rotation, scale, color
and textures) of objects in the scene based on user interaction with the device;
the application can switch between cameras to get different views onto the
scene;
the rendered images have a very high photorealistic quality.

Advertisement

Table of Contents
loading

Table of Contents