Open cttpla opened 8 years ago
Just an update: yesterday i managed to get some progression. The accuracy issue was due to my GPS issue which is now fixed. So now accuracy is >10 and i can see the solar system model. BUT, it simply seems not well managed by the engine, it appears very close to the camera and doesn't follow the movements of the camera in the space. Plus, since its rotating on a pivot, it disappears after few seconds. I can't suppose if that is due to my phone or something wrong with the code:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Button b = new Button(this);
b.setText("Click me to Start the AR Action");
b.setOnClickListener(new OnClickListener()
{
@Override
public void onClick(View v)
{
ArActivity.startWithSetup(DemoDroidAR.this, new DefaultARSetup()
{
@Override
public void addObjectsTo(GL1Renderer renderer, World world, GLFactory objectFactory)
{
// TODO Auto-generated method stub
world.add(objectFactory.newSolarSystem(new Vec(1, 1, 0)));
}
});
}
});
setContentView(b);
}
Please keep in mind that my phone has only accelerometer and GPS, no Compass and no Gyroscope.
Thank you so much!
PS - i downloaded JumpAndRun and im having same issues. Models are rendered very close to camera and doesnt follow the movements, they stay fixed on screen.
Hi Simon, first of all this is a great job. My phone is not so much cool, it just has GPS and accelerometer: http://www.mediacomeurope.it/ZeusInc/PressRoom/Documents/M-PPG700.pdf
Can i use geolocation and 3d positioning objects somehow? I downloaded the latest version and built your sample code with solar system, it ran without errors but all i can see is the camera and a cross, no 3d model at all and it says position accuracy 2% .
Thank you so much!