Thanks, this really did it. I just created fake world to do only compilation.
However, compilation is still rather slow. It takes 4-5 seconds to compile a model with 4500 polygons. Would it be possible to somehow compile the object beforehand? The ideal solution would be to include the compiled object in serialized object file. Other solution could be to cache the compiled instance and serialize it on target device. Maybe use reflection to get ArrayList<CompiledInstance> compiled in Object3D and save it to disk when compiled for the first time?
However, compilation is still rather slow. It takes 4-5 seconds to compile a model with 4500 polygons. Would it be possible to somehow compile the object beforehand? The ideal solution would be to include the compiled object in serialized object file. Other solution could be to cache the compiled instance and serialize it on target device. Maybe use reflection to get ArrayList<CompiledInstance> compiled in Object3D and save it to disk when compiled for the first time?