Oldskewl 3D Engine Demo
Oldskewl Free 3D Engine Demo for Mobiles : 100% pure software 3d renderer created on 1st gen of java compatible phones
I made up a [[3D]] engine demo midlet, maybe you'll be insteressed in testing it,
It is supported in most [[Mobile]] devices ( [[Java]]/[[J2ME]] : midp-1.0, midp-2.0, nokia, exen, palmos, imode...) and web applet.
But it must be also tested while I am improving it (i can only test on emus).
Here are the links :
OTA,WAP,GPRS : (install app to the phone) http://37337.free.fr or http://rzr.free.fr/wap.wml
WWW : (get .jar + .jad for your phone) http://rzr.online.fr/java.htm
Contact me online if possible : http://rzr.online.fr/contact.htm
I expect that to publish a SDK in the future, for users that want to disign some simple 3D puzzles games (like rubic's cube etc)
Current API (prerelease version) http://rzr.online.fr/tmp/doc-api-midp1_0/
Wanna contribute, leave some notes on the wiki diet3d page : http://rzr.online.fr/q/Diet3D
Several pple did ask for access to use diet3d to display their 3D model currently this feature must requier some addition to my code which requiere a bit of time i may look at this before 1st of june 2004, unless some pple make a parser
As long there are no decent parser ready, I can help to give a demo version which will include your models all object must be sized (2*11585) ^ 3
here are 2 exemples of models (1st one is cube , 2d one is the pinguin),
… I will also made a converter :
http://who.is.free.fr/wiki/index.php?Mini3D for linux : http://rzr.online.fr/tmp/mini3dconvert
May it helps (stay in touch in the rzr-en list)
/// vertices (scaled between - 11585 and + 11585 public static final int mesh_vv[[]][[]]= { { 0, 11585, 0 }, ... }; /// faces (triangles of vertices index) public static final int mesh_vf[[]][[]]= { { 56, 48, 47 }, ... }; /// color per face (0xRRGGBB ) public static final int mesh_vc[[]]= { 0xed80ed, ... };
If needed, I made a tool for converting | seek for mini3d
class Rubiks {
int[[]] vertex; int[[]] faces; int[[]] colors;
// change the colors public void rotateFrontRow( int rownum , bool rightOrLeft) {}
}
I done for a 2x2x2 cube, now replace vertex and faces array by 1D arrays , will optimise speed.
Related : 3D
simple file parser (in java using j2me API) input file format maybe anything as soon as Mesh are described as list of vertex (int , int , int) and triangles (int, int, int) … vertex should be int because we are using Fixed Points maths
palmos4+ : pick the .prc file in the (midp-1.0 & 2.0 folders)
http://rzr.online.fr/docs/java/diet3d/
and use sun J2ME JVM for palm (I can convert .jar file for other jvm on
demand, just tell me how)
midp1.0 has been tested successfully on :
http://rzr.online.fr/docs/java/log.txt
Does not work :
portalmmm/2.0 M342i(c10;TB)
SIE-MC60/10 Profile/MIDP-1.0 Configuration/CLDC-1.0 UP.Browser/6.1.0.7.3 (GUI) MMP/1.0 UP.Link/1.1
Thanx to BetaTesters see Mobiles :
<alkama> it's a mitsubishi m342i <alkama> it has some imode j2me (doja1,5) <RzR_amilo> the doja version is at http://37337.free.fr <alkama> 404 on the jam <alkama> hum, java.lang.ArrayIndexOutOfBoundsException <alkama> on the 8th effect <alkama> oh, and you realy should think about locking the graphics <alkama> for each frame <alkama> looks like you're not locking the graphics, it makes the screen shiver;) <alkama> bad refresh;) <alkama> except that, it's fine
http://www.ratoune.net/#A1G0T3CH@aim: Mitsubishi M342i (i-mode)