How to create a world like Benchmark Magic Island?

Started by omicron, July 21, 2012, 02:10:31 PM

Previous topic - Next topic

omicron

Hi Friends, this is my first topic here, and I want to congratulate all the people involved in the development of jPCT, it's a really robust 3D engine.

I'm developing a 3D GPS Navigator for Android and I want to know if in the Benchmark Magic Island sample is used just one 3ds file to load all the world (or Island) or there are some serialized file (or files) that is loaded by demand, in execution time.

I'm asking this because I got the demo code linked in the jPCT-AE home page (http://www.jpct.net/jpct-ae/download/alpha/Demo.java) and in this demo there is a "grass.3ds" file that is fulled loaded and in my Navigator this will not be possible, since my 3ds files sizes.

In my idea, I would load the next 3ds files by demand in a separated Thread oriented by the GPS route, so, when the car came to the local of the next 3ds, this file would be loaded by that separated Thread, so, I'm looking for a better solution to my scenario.

If anyone have a code of Magic Island Benchmark, or just a portion of the code, it would be very welcome too.

Thanks for all your support.

Thomas.

Source code of both benchmarks are somewhere along here on the forum.

omicron

Thanks, Thomas, I've found the source code of An3DBenchXL Benchmark here:

http://www.jpct.net/forum2/index.php/topic,2784.msg20469.html#msg20469

Now, about the loading 3ds files by demand, do you or someone have any ideas to solve it?