It seems a good idea...can you give me some tips about it? As i said i'm not so experienced so every help is very appreciate!
thank you!
N.
thank you!
N.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menuv 0.5969 0.9050 0.7055
vn nan nan nan
vt nan nan
v 0.5970 0.9050 0.7054
vn nan nan nan
vt nan nan
v 0.5970 0.9050 0.7055
vn nan nan nan
vt nan nan
v 0.6056 0.9209 0.6957
try {
uvs[var55][var61] = Float.valueOf(var62).floatValue();
} catch (Exception var48) {
uvs[var55][var61] = 0.0F;
Logger.log("Error in OBJ-file near: " + line, 0);
}
}
08-18 13:16:26.218 28622-28652/it.proteomed.www.proteoviewer E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1
Process: it.proteomed.www.proteoviewer, PID: 28622
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
[b]Caused by: java.lang.RuntimeException: [ 1439896586207 ] - ERROR: Error in OBJ-file near: vt nan nan[/b]
at com.threed.jpct.Logger.log(Logger.java:206)
[b]at com.threed.jpct.Loader.loadOBJ(Loader.java:419)
at com.threed.jpct.Loader.loadOBJ(Loader.java:229)[/b]
at it.proteomed.www.proteoviewer.MainActivity$2.doInBackground(MainActivity.java:220)
at it.proteomed.www.proteoviewer.MainActivity$2.doInBackground(MainActivity.java:194)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
@Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
switch (id) {
case R.id.Ruota:
iF = 0;
break;
case R.id.Disegna:
iF = 1;
break;
case R.id.Cancella:
iF = 2;
break;
case R.id.Load:
Tm = true;
try {
world.removeObject(mesh);
mesh = null;
} catch (Exception e) {
throw new RuntimeException(e.toString());
}
model = getResources().openRawResource(R.raw.model);
mtl = getResources().openRawResource(R.raw.material);
PrgD = ProgressDialog.show(MainActivity.this, "Please wait ...", "Task in progress ...", true);
PrgD.setCancelable(true);
Thread tt = new Thread(new Runnable() {
@Override
public void run() {
try {
mesh = Object3D.mergeAll(Loader.loadOBJ(model, mtl, 1));
renderer.ObjLoad();
Logger.log("MESH LOADED");
} catch (Exception e) {
}
PrgD.dismiss();
}
});
tt.run();
break;
}
return false;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
switch (id) {
case R.id.Ruota:
iF = 0;
break;
case R.id.Disegna:
iF = 1;
break;
case R.id.Cancella:
iF = 2;
break;
case R.id.Load:
ProgressDialog PrgD = new ProgressDialog(MainActivity.this);
PrgD.setTitle("mymessage1");
PrgD.setMessage("mymessage2");
PrgD.setCancelable(false);
PrgD.setIndeterminate(true);
PrgD.show();
Tm = true;
try {
world.removeObject(mesh);
mesh = null;
}catch (Exception e){
throw new RuntimeException(e.toString());
}
model = getResources().openRawResource(R.raw.model);
mtl = getResources().openRawResource(R.raw.material);
mesh = Object3D.mergeAll(Loader.loadOBJ(model, mtl, 1));
renderer.ObjLoad();
PrgD.dismiss();
break;
Page created in 0.094 seconds with 12 queries.