It all sounds Geek to me! [Gautam Arora]

Sunday, May 01, 2005

Mobile Graphics 3D API (JSR-184)

Mobile Gaming has become big money internationally for both the developers and the gamers. With better processor speeds and graphic display support for mobiles, the gap between computer and mobile apps seem to be thinning. Mobile gaming is one of the fastest growing sector in the IT industry.

With Big fun and Big money, mobile gamers seem to be enjoying the ride too. Take the case of 'Sachin Sapra- India's First Millionaire Gaming Champ'!

So what could be next for Mobile Gaming that would inch them closer to PC gaming, 3D support, of course!
Nokia 6630, Nokia 6230i etc. support the 'Mobile 3D Graphics API (JSR-184)'. This provides endless possiblities of new applications for mobiles.

JSR-184 is the first Java-specific standard for three-dimensional graphics on mobile devices.
The API defines low- and high-level programming interfaces that bring efficient, interactive 3D graphics to devices with little memory and processing power, and with no hardware support for 3D graphics or floating-point operations.

Posted by Hello


The Mobile 3D Graphics API for J2ME is defined in the package javax.microedition.m3g, which provides an easy-to-use API for rendering 3D graphics in retained mode and immediate mode.In addition to the APIs, the package defines a scene graph structure and a corresponding file format for managing and deploying 3D content efficiently, along with all other necessary data: meshes, scene hierarchies, material properties, textures, animation keyframes, and so on. This data is written to a file using content-creation tools and loaded into the API through the Loader class. The most important class is Graphics3D, because all rendering is done there. The World class serves as the root of the scene graph structure. Object3D is the base class of all objects that can be rendered or loaded from a file, as well as the place where animations are applied.

Posted by Hello


Application areas that will benefit from a 3D graphics API include games, map visualization, user interfaces, animated messages, and screen savers. Each of these areas requires simple content creation, some require high polygon throughput, and others require high-quality still images with special effects. To meet this wide spectrum of needs, the API supports both high-level and low-level graphics features, with a footprint of only 150 KB. In the high-level implementation (called retained mode), the developer works with scene graphs, and the world renders itself based on the positions of virtual cameras and lights. The low-level access (immediate mode) allows applications to draw objects directly. You can use either mode, or both at the same time, depending on the task at hand.

The features of immediate mode are aligned with OpenGL ES ("OpenGL for Embedded Systems") standardization by Khronos.

Links to follow:
Getting Started With the Mobile 3D Graphics API for J2ME
Utilizing 3D Graphics in MIDP - Mobile 3D Graphics API (JSR-184)
Benhui.net - The harmony of mobile development
Nokia 6630 Technical Specs (Series 60 v2.0)
Nokia 6230i Technical Specs (Series 40 v2.0)

Note:
Series 40 Developer Platform:The Developer Platform for Series 40 offers a mass-market opportunity for Java™ developers and content creators. Developer Platform 2.0 builds on the capabilities of Developer Platform 1.0 by providing CLDC 1.1, MIDP 2.0 with Bluetooth (JSR-82), Messaging (JSR-120), and Multimedia (JSR-135) APIs; XHTML MP and WML browsing over wTCP/IP; MMS with SMIL; OMA DRM, and OMA Client Provisioning.

Series 60 Developer Platform: Based on the state-of-the-art Symbian OS v9, this next generation version of the world's most popular smartphone platform is packed with features and capabilities that let developers reach new markets, bring better performance to their applications, and improve application integrity.

1 comment:

Vikram said...

Can we expect to see some of your creations soon.....

You know you dont have to have a MIDP 2 compatible phone to develop in the platform.

Sun releases WTK's (Wireless Toolkits) that emulate the platform and let you test the deployment.