Blitz3d for Android
Blitz3D Forums/Blitz3D Userlibs/Blitz3d for Android
| ||
| Please make it happen, $$$$$ |
| ||
| I think that may happen as soon as pigs fly and hell freezes over... In a more serious note: BRL also sells Monkey, which can compile for Android. different syntax than B3D though, and no built-in 3D support. |
| ||
| its possible ... i might do something in that area translation to monkey and from monkey to andriod |
| ||
| probably be easier to port minib3d to android. |
| ||
| Dream on. Merry christmas ;) |
| ||
| actually i have a blitz3d wrapper layer for android in the works using the jPCT-AE 3d lib. so far so good, i don't know if i will prt the b3d format but it supports all the other 3d formats b3d supports plus Collada for rigged meshes. here is a snippet of what building a b3d app in eclipse looks like so far.
package myvr.vgl.main;
import com.threed.jpct.Camera;
import com.threed.jpct.Object3D;
import vgl.b3d.jpct.JB3D;
public class MyVRChatActivity extends JB3D {
public Camera cam;
public Object3D cube;
public void b3dloop()
{
//do your loop functions here.
}
public void initB3d()
{
cam = CreateCamera();
cube = CreateCube(1.0f);
}
}
testing it on my android tablet. works well at the moment |
| ||
Made this here with the below code. Still needs work but so far i've been working on simplifying the complex methods into simple functions that resemble blitz3d.![]()
package myvr.vgl.main;
import java.io.FileNotFoundException;
import com.threed.jpct.Camera;
import com.threed.jpct.Light;
import com.threed.jpct.Object3D;
import com.threed.jpct.Texture;
import vgl.b3d.jpct.JB3D;
public class MyVRChatActivity extends JB3D {
public Camera cam;
public Object3D cube;
public Texture tex;
public Light lit;
public void b3dloop()
{
}
public void initB3d()
{
cam = CreateCamera();
cube = CreateCube(1.0f);
lit = CreateLight(0);
try {
tex = LoadTexture("B-Max.png", 0);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.println(tex.toString());
if(tex!=null)
{
EntityTexture(cube,tex);
}
PositionEntity(cube,0.0f,0.0f,0.5f);
}
}
Last edited 2011 Last edited 2011 |
| ||
| I'm teetering on the brink of getting an Android tablet - this might just tip me over the edge. I appreciate I could get it running on my Android phone, but seeing as my phone is a low end HTC wildfire - I don't hold much hope that it'd cut the mustard. Great work. |
