Android Question 3d model size using jPCT -AE 3D engine Wrapper

Discussion in 'Android Questions' started by samperizal, Jan 30, 2015.

  1. samperizal

    samperizal Active Member Licensed User

    greetings .

    I am using jPCT -AE 3D engine Wrapper.

    l question is can load a model with 83367 and 42347 vertices and faces the size of jpg 4096 x 4096

    thanks in advance
  2. ricardossy1

    ricardossy1 Member Licensed User

    The problem is the size of your jpg = 4096 x 4096 x 32 bits= 67108864 Octets = 64 Mo is too Much.

    I tried jpct-ae with your size of 4096 x 4096 , see The result :

    GC_CONCURRENT freed <1K, 5% free 225207K/235128K, paused 1ms+1ms, total 7ms
    WAIT_FOR_CONCURRENT_GC blocked 6ms
    Texture loaded...67108864 bytes/4096*4096 pixels!
    Loading Texture...
    threadid=11: thread exiting with uncaught exception (group=0xa4cb2b20)
    at com.threed.jpct.Texture.loadTexture(
    at com.threed.jpct.Texture.loadTexture(
    at com.threed.jpct.Texture.<init>(

    For sample for my app, i have problem (Lags) when i exceed +-50 Mo of memory of "GC_FOR_ALLOC"
    The fix is to reduce your texture (512*512*16 bits for sample).
  3. Informatix

    Informatix Expert Licensed User

    Under Android, the limitation for OpenGL-based libraries is 2048 x 2048.
    hibrid0 likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice