Show Posts

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.


Topics - thomasb

Pages: [1]
1
Support / Compiling .ser & Reloading full Scene
« on: September 21, 2013, 05:58:18 pm »
Hi there,

I am developing a little App where I load several .ser files into a 3d world. I have everything running, but still there are a few problems that I dont seem to be able to solve.

1. Compilation of .ser to "indexed fix point data" files takes very long and I dont seem to have an influence on that or on when this compilation actually happens. Correct? Loader.loadSerializedObject loads it, but doesnt compile it. I tried to get around it by adding a Progress Dialog, but I have no way of getting information on when exactly this compilation is done. I put it at the end of onSurfaceCreated but that is still way too early. Suggestions?

2. What is the best way to completely rebuild such a scene? I tried to set the renderer and the GLSurfaceView to null and reinitiate both (just like on the first initiation), but that doesnt seem to be the trick as I am getting into trouble with the Object3d files (that still seem to exist at that point?) as far as I can understand. Suggestions?

Greetings
Tom

Pages: [1]