Object Merging

Started by 9kaywun, October 10, 2012, 10:20:46 AM

Previous topic - Next topic

9kaywun

Is there a specific reason jPCT only supports 100 Object3D instances being merged into a single object? Was experimenting with a "region system" and realized I couldn't merge more than 100 "tiles" together.

Also, just noticed if I try to use this:

      // region.createTriangleStrips(); // Good for OpenGL performance
It seems my region instance gets stuck before being created, as soon as the above code is called, and my client just stops at that.
Developing a 3D multiplayer engine using jPCT:
Deleted, will return soon..

EgonOlsen

Just omit that call. For complex objects, it runs really long for almost no gain on current hardware. If you are compiled object, it's pointless anyway.
What do you mean with "only supports 100 Object3D instances"? There's no limit...what happens if you use more than that?

9kaywun

#2
Quote from: EgonOlsen on October 10, 2012, 12:20:34 PM
Just omit that call. For complex objects, it runs really long for almost no gain on current hardware. If you are compiled object, it's pointless anyway.
What do you mean with "only supports 100 Object3D instances"? There's no limit...what happens if you use more than that?

About the GL thing, thanks. As for the 100 Object3D thing, I'm going to have to re-design my region system today and get back to, because the tile coordination array is > 65K values, so I can't test over 100 tiles until I optimize some of the core functions.

EDIT Yeah, it was my old tile system that was causing the problem..... No issues anymore.
Developing a 3D multiplayer engine using jPCT:
Deleted, will return soon..