Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (121)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Confussion  (Read 1558 times)
0 Members and 1 Guest are viewing this topic.
Offline pedpano

Junior Newbie





« Posted 2005-12-29 13:29:23 »

Hi.

I have started to learn more about 3D mobile developement, but I am a bit confused. I`ve read about M3G (JSR 184) but that API isn`t support many devices, the doubt is I`ve seen some 3D games in devices that aren`t supported by M3G, how is it possible? Does exist another engine, or something like this?

Offline Anon666

Junior Duke




aka Abuse/AbU5e/TehJumpingJawa


« Reply #1 - Posted 2005-12-29 20:35:20 »

Mascot 3

Also, using manufacturer extensions (such as Nokia's) there is nothing stopping you writing your own - though it'll be dog slow in comparison.
Offline Jeff

JGO Coder




Got any cats?


« Reply #2 - Posted 2005-12-30 00:32:21 »

Some games use clever cheats in software to do basic 3D (eg Tomb Raider on the Nokia NGage).

Some games use 3D hardware on the phone from native code through vendor specific native APIs or emerging native standards like oglES

Some games use 3D hardware on the phone from Java through vendor specific Java APIs.

Note that a JSE for a Java binding to oglES is in progress.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline pedpano

Junior Newbie





« Reply #3 - Posted 2005-12-30 13:19:48 »

I`ve seen a 3D game running in old phones like 7210 (nokia), 3100(nokia), C650 (motorola), ...
By chance do you know an engine that enable to develop application for old devices ?
I`ve found an engine called DIET3D, but I`m not able to use that. Have you ever head about that? Anyone can use that?

thanks
Offline Anon666

Junior Duke




aka Abuse/AbU5e/TehJumpingJawa


« Reply #4 - Posted 2005-12-31 00:30:51 »

Had a quick glance @ the MIDP1 Diet3D implementation.
It won't be very scalable for complex scenes (or for any rendering more complex than flat shaded triangles), as it uses Graphics.drawLine to perform the rasterization of triangles.

For MIDP1 devices a more scalable solution is to rasterize the scene to a byte[] (with the necessary png formatting wrapper).
This avoids the overhead of the many calls to Graphics.drawLine (replacing it with far cheaper array accesses), but adds a fixed cost of having to regenerate a png image every game frame. (and for phones that check the png's CRC, the added cost of having to recalculate the CRC value every frame also)

Once you have eliminated the overhead of calling Graphics.drawLine to perform a single pixel change, you can consider adding better effects to your rendering engine. (lighting, gouraud shading, zbuffering etc etc)

Infact, using this approach is a great advantage from a development perspective also, because you can simply adapt code from software 3D renders designed for the Java1.1 J2SE platform. (as these are all designed to operate on pixels in int[]'s).
For example, it would not be a huge task to write a J2ME interface for the Anfy 3D Software Renderer. (This is just an example, as the Anfy Engine is ofcourse licensed. There are other Open Source Java1.1 3D engines.)
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

theagentd (18 views)
2014-10-25 15:46:29

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (45 views)
2014-10-16 15:22:06

Norakomi (34 views)
2014-10-16 15:20:20

lcass (39 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (68 views)
2014-10-14 00:35:47

TehJavaDev (60 views)
2014-10-14 00:32:37

BurntPizza (74 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!