<s>
The	O
Mobile	B-Application
3D	I-Application
Graphics	I-Application
API	I-Application
,	O
commonly	O
referred	O
to	O
as	O
M3G	B-Application
,	O
is	O
a	O
specification	O
defining	O
an	O
API	B-Application
for	O
writing	O
Java	B-Device
programs	O
that	O
produce	O
3D	O
computer	O
graphics	O
.	O
</s>
<s>
It	O
extends	O
the	O
capabilities	O
of	O
the	O
Java	B-Language
ME	I-Language
,	O
a	O
version	O
of	O
the	O
Java	B-Device
platform	I-Device
tailored	O
for	O
embedded	B-Architecture
devices	I-Architecture
such	O
as	O
mobile	O
phones	O
and	O
PDAs	B-Application
.	O
</s>
<s>
The	O
object-oriented	B-Language
interface	O
consists	O
of	O
30	O
classes	O
that	O
can	O
be	O
used	O
to	O
draw	O
complex	O
animated	O
three-dimensional	O
scenes	O
.	O
</s>
<s>
M3G	B-Application
was	O
developed	O
under	O
the	O
Java	B-Language
Community	I-Language
Process	I-Language
as	O
JSR	B-Application
184	I-Application
.	O
,	O
the	O
current	O
version	O
of	O
M3G	B-Application
is	O
1.1	O
,	O
but	O
version	O
2.0	O
is	O
in	O
development	O
as	O
JSR	O
297	O
.	O
</s>
<s>
M3G	B-Application
was	O
designed	O
to	O
meet	O
the	O
specific	O
needs	O
of	O
mobile	O
devices	O
,	O
which	O
are	O
constricted	O
in	O
terms	O
of	O
memory	O
,	O
and	O
processing	O
power	O
,	O
and	O
which	O
often	O
lack	O
an	O
FPU	B-General_Concept
and	O
graphics	O
hardware	O
such	O
as	O
a	O
GPU	B-Architecture
.	O
</s>
<s>
The	O
API	B-Application
's	O
architecture	O
allows	O
it	O
to	O
be	O
implemented	O
completely	O
inside	O
software	B-Application
or	O
to	O
take	O
advantage	O
of	O
the	O
hardware	O
present	O
on	O
the	O
device	O
.	O
</s>
<s>
M3G	B-Application
provides	O
two	O
ways	O
for	O
developers	O
to	O
draw	O
3D	O
graphics	O
:	O
immediate	O
mode	O
and	O
retained	O
mode	O
.	O
</s>
<s>
Retained	O
mode	O
always	O
uses	O
a	O
scene	B-Data_Structure
graph	I-Data_Structure
that	O
links	O
all	O
geometric	O
objects	O
in	O
the	O
3D	O
world	O
in	O
a	O
tree	B-Data_Structure
structure	I-Data_Structure
,	O
and	O
also	O
specifies	O
the	O
camera	O
,	O
lights	O
,	O
and	O
background	O
.	O
</s>
<s>
The	O
M3G	B-Application
standard	O
also	O
specifies	O
a	O
file	O
format	O
for	O
3D	O
model	O
data	O
,	O
including	O
animation	O
data	O
format	O
.	O
</s>
<s>
This	O
allows	O
developers	O
to	O
create	O
content	O
on	O
PCs	O
that	O
can	O
be	O
loaded	O
by	O
M3G	B-Application
on	O
mobile	O
devices	O
.	O
</s>
