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 - kkl

Pages: 1 [2] 3 4
16
Bones / Number of vertices between blender and bones not same
« on: November 09, 2014, 06:42:01 am »
Hi raft,

I'm exporting bones from Blender using blender2orge and I notice the number of vertices is different. My object in Blender has 574 vertices, but in jpct getUniqueVertexCount() shows 600. Do you have any clue what's happening? I need to keep track of a few selected vertices for manipulation (for hardware skinning object instancing) but it seems like it got messed up after that.

17
Support / Pre-etc1-compressed texture
« on: November 02, 2014, 01:01:41 pm »
Hi Egon,

It seems like compressing texture takes a big amount of time to process. According to log, it takes around ~2306ms just to compress all textures. It would be great if we can provide the pre-compressed texture so it would be faster to process and we can save more battery. In my case, user will check how much battery my live wallpaper will consume in the phone settings. If users open and close the live wallpaper for multiple times, the battery consumption shoots really high because of the app initialization, which they will start complaining about the app.

For reference, here's the log during texture compression (Tested on Samsung Galaxy S4 with octa cores):
Code: [Select]
11-02 19:25:22.366: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:22.366: I/jPCT-AE(32481): Compressing texture (128*128) to ETC1...
11-02 19:25:22.366: I/jPCT-AE(32481): Creating byte buffer of size 49152
11-02 19:25:22.401: I/jPCT-AE(32481): ...done in 35/31ms
11-02 19:25:22.401: I/jPCT-AE(32481): Compressing texture (64*64) to ETC1...
11-02 19:25:22.401: I/jPCT-AE(32481): Creating byte buffer of size 12288
11-02 19:25:22.416: I/jPCT-AE(32481): ...done in 13/11ms
11-02 19:25:22.416: I/jPCT-AE(32481): Compressing texture (32*32) to ETC1...
11-02 19:25:22.416: I/jPCT-AE(32481): Creating byte buffer of size 3072
11-02 19:25:22.421: I/jPCT-AE(32481): ...done in 3/3ms
11-02 19:25:22.421: I/jPCT-AE(32481): Compressing texture (16*16) to ETC1...
11-02 19:25:22.421: I/jPCT-AE(32481): Creating byte buffer of size 768
11-02 19:25:22.421: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:22.421: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:22.421: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:22.421: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.421: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:22.421: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:22.421: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.421: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:22.421: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:22.421: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.421: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:22.421: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:22.421: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.421: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:22.421: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:22.421: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:22.421: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.421: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:22.421: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:22.421: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:22.421: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:22.421: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:22.426: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.426: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:22.426: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:22.426: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.436: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:22.436: I/jPCT-AE(32481): Compressing texture (256*256) to ETC1...
11-02 19:25:22.436: I/jPCT-AE(32481): Creating byte buffer of size 196608
11-02 19:25:22.576: I/jPCT-AE(32481): ...done in 137/113ms
11-02 19:25:22.576: I/jPCT-AE(32481): Compressing texture (128*128) to ETC1...
11-02 19:25:22.576: I/jPCT-AE(32481): Creating byte buffer of size 49152
11-02 19:25:22.611: I/jPCT-AE(32481): ...done in 33/28ms
11-02 19:25:22.611: I/jPCT-AE(32481): Compressing texture (64*64) to ETC1...
11-02 19:25:22.611: I/jPCT-AE(32481): Creating byte buffer of size 12288
11-02 19:25:22.621: I/jPCT-AE(32481): ...done in 10/7ms
11-02 19:25:22.621: I/jPCT-AE(32481): Compressing texture (32*32) to ETC1...
11-02 19:25:22.621: I/jPCT-AE(32481): Creating byte buffer of size 3072
11-02 19:25:22.621: I/jPCT-AE(32481): ...done in 3/2ms
11-02 19:25:22.621: I/jPCT-AE(32481): Compressing texture (16*16) to ETC1...
11-02 19:25:22.621: I/jPCT-AE(32481): Creating byte buffer of size 768
11-02 19:25:22.626: I/jPCT-AE(32481): ...done in 1/1ms
11-02 19:25:22.626: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:22.626: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:22.626: I/jPCT-AE(32481): ...done in 1/1ms
11-02 19:25:22.626: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:22.626: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:22.626: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.626: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:22.626: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:22.626: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.626: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:22.626: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:22.626: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.636: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:22.646: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:22.646: I/jPCT-AE(32481): Compressing texture (128*128) to ETC1...
11-02 19:25:22.646: I/jPCT-AE(32481): Creating byte buffer of size 49152
11-02 19:25:22.681: I/jPCT-AE(32481): ...done in 34/29ms
11-02 19:25:22.681: I/jPCT-AE(32481): Compressing texture (64*64) to ETC1...
11-02 19:25:22.681: I/jPCT-AE(32481): Creating byte buffer of size 12288
11-02 19:25:22.691: I/jPCT-AE(32481): ...done in 10/7ms
11-02 19:25:22.691: I/jPCT-AE(32481): Compressing texture (32*32) to ETC1...
11-02 19:25:22.691: I/jPCT-AE(32481): Creating byte buffer of size 3072
11-02 19:25:22.691: I/jPCT-AE(32481): ...done in 3/2ms
11-02 19:25:22.691: I/jPCT-AE(32481): Compressing texture (16*16) to ETC1...
11-02 19:25:22.691: I/jPCT-AE(32481): Creating byte buffer of size 768
11-02 19:25:22.696: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:22.696: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:22.696: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:22.696: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:22.696: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:22.696: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:22.696: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.696: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:22.696: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:22.696: I/jPCT-AE(32481): ...done in 1/1ms
11-02 19:25:22.696: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:22.696: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:22.696: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.706: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:22.741: D/dalvikvm(32481): GC_FOR_ALLOC freed 8063K, 34% free 28251K/42784K, paused 36ms, total 36ms
11-02 19:25:22.746: I/jPCT-AE(32481): Compressing texture (256*256) to ETC1...
11-02 19:25:22.746: I/jPCT-AE(32481): Creating byte buffer of size 196608
11-02 19:25:22.871: I/jPCT-AE(32481): ...done in 128/107ms
11-02 19:25:22.876: I/jPCT-AE(32481): Compressing texture (128*128) to ETC1...
11-02 19:25:22.876: I/jPCT-AE(32481): Creating byte buffer of size 49152
11-02 19:25:22.906: I/jPCT-AE(32481): ...done in 32/27ms
11-02 19:25:22.906: I/jPCT-AE(32481): Compressing texture (64*64) to ETC1...
11-02 19:25:22.906: I/jPCT-AE(32481): Creating byte buffer of size 12288
11-02 19:25:22.916: I/jPCT-AE(32481): ...done in 9/7ms
11-02 19:25:22.916: I/jPCT-AE(32481): Compressing texture (32*32) to ETC1...
11-02 19:25:22.916: I/jPCT-AE(32481): Creating byte buffer of size 3072
11-02 19:25:22.916: I/jPCT-AE(32481): ...done in 2/1ms
11-02 19:25:22.921: I/jPCT-AE(32481): Compressing texture (16*16) to ETC1...
11-02 19:25:22.921: I/jPCT-AE(32481): Creating byte buffer of size 768
11-02 19:25:22.921: I/jPCT-AE(32481): ...done in 1/1ms
11-02 19:25:22.921: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:22.921: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:22.921: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:22.921: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:22.921: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:22.921: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.921: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:22.921: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:22.921: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.921: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:22.921: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:22.921: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:22.931: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:22.941: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:22.946: I/jPCT-AE(32481): Compressing texture (256*256) to ETC1...
11-02 19:25:22.946: I/jPCT-AE(32481): Creating byte buffer of size 196608
11-02 19:25:23.081: I/jPCT-AE(32481): ...done in 132/112ms
11-02 19:25:23.081: I/jPCT-AE(32481): Compressing texture (128*128) to ETC1...
11-02 19:25:23.081: I/jPCT-AE(32481): Creating byte buffer of size 49152
11-02 19:25:23.126: D/dalvikvm(32481): GC_FOR_ALLOC freed 3452K, 27% free 28635K/38908K, paused 44ms, total 44ms
11-02 19:25:23.161: I/jPCT-AE(32481): ...done in 81/31ms
11-02 19:25:23.166: I/jPCT-AE(32481): Compressing texture (64*64) to ETC1...
11-02 19:25:23.166: I/jPCT-AE(32481): Creating byte buffer of size 12288
11-02 19:25:23.176: I/jPCT-AE(32481): ...done in 10/7ms
11-02 19:25:23.176: I/jPCT-AE(32481): Compressing texture (32*32) to ETC1...
11-02 19:25:23.176: I/jPCT-AE(32481): Creating byte buffer of size 3072
11-02 19:25:23.176: I/jPCT-AE(32481): ...done in 2/2ms
11-02 19:25:23.176: I/jPCT-AE(32481): Compressing texture (16*16) to ETC1...
11-02 19:25:23.176: I/jPCT-AE(32481): Creating byte buffer of size 768
11-02 19:25:23.181: I/jPCT-AE(32481): ...done in 1/1ms
11-02 19:25:23.181: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:23.181: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:23.181: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:23.181: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:23.181: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:23.181: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:23.181: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:23.181: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:23.181: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:23.181: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:23.181: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:23.181: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:23.191: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:23.201: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:23.201: I/jPCT-AE(32481): Compressing texture (128*128) to ETC1...
11-02 19:25:23.201: I/jPCT-AE(32481): Creating byte buffer of size 49152
11-02 19:25:23.231: I/jPCT-AE(32481): ...done in 32/27ms
11-02 19:25:23.236: I/jPCT-AE(32481): Compressing texture (64*64) to ETC1...
11-02 19:25:23.236: I/jPCT-AE(32481): Creating byte buffer of size 12288
11-02 19:25:23.241: I/jPCT-AE(32481): ...done in 10/7ms
11-02 19:25:23.246: I/jPCT-AE(32481): Compressing texture (32*32) to ETC1...
11-02 19:25:23.246: I/jPCT-AE(32481): Creating byte buffer of size 3072
11-02 19:25:23.246: I/jPCT-AE(32481): ...done in 3/2ms
11-02 19:25:23.246: I/jPCT-AE(32481): Compressing texture (16*16) to ETC1...
11-02 19:25:23.246: I/jPCT-AE(32481): Creating byte buffer of size 768
11-02 19:25:23.246: I/jPCT-AE(32481): ...done in 1/1ms
11-02 19:25:23.246: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:23.246: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:23.246: I/jPCT-AE(32481): ...done in 1/1ms
11-02 19:25:23.246: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:23.246: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:23.251: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:23.251: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:23.251: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:23.251: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:23.251: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:23.251: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:23.251: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:23.251: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:23.256: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:23.291: D/dalvikvm(32481): GC_FOR_ALLOC freed 3336K, 29% free 27742K/38908K, paused 34ms, total 34ms
11-02 19:25:23.321: D/dalvikvm(32481): GC_FOR_ALLOC freed <1K, 26% free 29790K/39936K, paused 21ms, total 21ms
11-02 19:25:23.336: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:23.346: I/jPCT-AE(32481): Compressing texture (512*512) to ETC1...
11-02 19:25:23.346: I/jPCT-AE(32481): Creating byte buffer of size 786432
11-02 19:25:23.801: I/jPCT-AE(32481): ...done in 458/392ms
11-02 19:25:23.811: I/jPCT-AE(32481): Compressing texture (256*256) to ETC1...
11-02 19:25:23.811: I/jPCT-AE(32481): Creating byte buffer of size 196608
11-02 19:25:23.931: I/jPCT-AE(32481): ...done in 123/105ms
11-02 19:25:23.936: I/jPCT-AE(32481): Compressing texture (128*128) to ETC1...
11-02 19:25:23.936: I/jPCT-AE(32481): Creating byte buffer of size 49152
11-02 19:25:23.971: I/jPCT-AE(32481): ...done in 33/26ms
11-02 19:25:23.971: I/jPCT-AE(32481): Compressing texture (64*64) to ETC1...
11-02 19:25:23.971: I/jPCT-AE(32481): Creating byte buffer of size 12288
11-02 19:25:23.981: I/jPCT-AE(32481): ...done in 9/6ms
11-02 19:25:23.981: I/jPCT-AE(32481): Compressing texture (32*32) to ETC1...
11-02 19:25:23.981: I/jPCT-AE(32481): Creating byte buffer of size 3072
11-02 19:25:23.981: I/jPCT-AE(32481): ...done in 2/2ms
11-02 19:25:23.981: I/jPCT-AE(32481): Compressing texture (16*16) to ETC1...
11-02 19:25:23.981: I/jPCT-AE(32481): Creating byte buffer of size 768
11-02 19:25:23.981: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:23.981: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:23.981: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:23.981: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:23.986: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:23.986: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:23.986: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:23.986: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:23.986: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:23.986: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:23.986: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:23.986: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:23.986: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:24.021: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:24.061: D/dalvikvm(32481): GC_FOR_ALLOC freed 9067K, 38% free 29788K/47904K, paused 39ms, total 39ms
11-02 19:25:24.071: I/jPCT-AE(32481): Compressing texture (512*512) to ETC1...
11-02 19:25:24.076: I/jPCT-AE(32481): Creating byte buffer of size 786432
11-02 19:25:24.611: I/jPCT-AE(32481): ...done in 539/446ms
11-02 19:25:24.621: I/jPCT-AE(32481): Compressing texture (256*256) to ETC1...
11-02 19:25:24.621: I/jPCT-AE(32481): Creating byte buffer of size 196608
11-02 19:25:24.776: I/jPCT-AE(32481): ...done in 156/110ms
11-02 19:25:24.781: I/jPCT-AE(32481): Compressing texture (128*128) to ETC1...
11-02 19:25:24.781: I/jPCT-AE(32481): Creating byte buffer of size 49152
11-02 19:25:24.811: I/jPCT-AE(32481): ...done in 34/28ms
11-02 19:25:24.811: I/jPCT-AE(32481): Compressing texture (64*64) to ETC1...
11-02 19:25:24.811: I/jPCT-AE(32481): Creating byte buffer of size 12288
11-02 19:25:24.821: I/jPCT-AE(32481): ...done in 9/7ms
11-02 19:25:24.821: I/jPCT-AE(32481): Compressing texture (32*32) to ETC1...
11-02 19:25:24.821: I/jPCT-AE(32481): Creating byte buffer of size 3072
11-02 19:25:24.826: I/jPCT-AE(32481): ...done in 3/2ms
11-02 19:25:24.826: I/jPCT-AE(32481): Compressing texture (16*16) to ETC1...
11-02 19:25:24.826: I/jPCT-AE(32481): Creating byte buffer of size 768
11-02 19:25:24.826: I/jPCT-AE(32481): ...done in 1/1ms
11-02 19:25:24.826: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:24.826: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:24.826: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:24.826: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:24.826: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:24.826: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:24.826: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:24.826: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:24.826: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:24.826: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:24.826: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:24.826: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:24.826: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:24.831: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:24.841: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:24.881: D/dalvikvm(32481): GC_FOR_ALLOC freed 5811K, 28% free 28253K/38908K, paused 39ms, total 39ms
11-02 19:25:24.931: D/dalvikvm(32481): GC_FOR_ALLOC freed 769K, 27% free 28767K/38908K, paused 34ms, total 34ms
11-02 19:25:24.931: I/dalvikvm-heap(32481): Grow heap (frag case) to 31.087MB for 1048592-byte allocation
11-02 19:25:24.971: D/dalvikvm(32481): GC_FOR_ALLOC freed 0K, 26% free 29791K/39936K, paused 39ms, total 39ms
11-02 19:25:24.986: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:25.006: I/jPCT-AE(32481): Compressing texture (512*512) to ETC1...
11-02 19:25:25.006: I/jPCT-AE(32481): Creating byte buffer of size 786432
11-02 19:25:25.546: I/jPCT-AE(32481): ...done in 539/444ms
11-02 19:25:25.551: I/jPCT-AE(32481): Compressing texture (256*256) to ETC1...
11-02 19:25:25.551: I/jPCT-AE(32481): Creating byte buffer of size 196608
11-02 19:25:25.671: I/jPCT-AE(32481): ...done in 120/101ms
11-02 19:25:25.676: I/jPCT-AE(32481): Compressing texture (128*128) to ETC1...
11-02 19:25:25.676: I/jPCT-AE(32481): Creating byte buffer of size 49152
11-02 19:25:25.706: I/jPCT-AE(32481): ...done in 30/25ms
11-02 19:25:25.706: I/jPCT-AE(32481): Compressing texture (64*64) to ETC1...
11-02 19:25:25.706: I/jPCT-AE(32481): Creating byte buffer of size 12288
11-02 19:25:25.716: I/jPCT-AE(32481): ...done in 8/6ms
11-02 19:25:25.716: I/jPCT-AE(32481): Compressing texture (32*32) to ETC1...
11-02 19:25:25.716: I/jPCT-AE(32481): Creating byte buffer of size 3072
11-02 19:25:25.716: I/jPCT-AE(32481): ...done in 3/2ms
11-02 19:25:25.716: I/jPCT-AE(32481): Compressing texture (16*16) to ETC1...
11-02 19:25:25.716: I/jPCT-AE(32481): Creating byte buffer of size 768
11-02 19:25:25.716: I/jPCT-AE(32481): ...done in 1/1ms
11-02 19:25:25.721: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:25.721: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:25.721: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:25.721: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:25.721: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:25.721: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:25.721: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:25.721: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:25.721: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:25.721: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:25.721: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:25.721: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:25.726: I/jPCT-AE(32481): Retrieved texture data from disk!
11-02 19:25:25.726: I/jPCT-AE(32481): Compressing texture (128*128) to ETC1...
11-02 19:25:25.726: I/jPCT-AE(32481): Creating byte buffer of size 49152
11-02 19:25:25.756: I/jPCT-AE(32481): ...done in 28/23ms
11-02 19:25:25.756: I/jPCT-AE(32481): Compressing texture (64*64) to ETC1...
11-02 19:25:25.756: I/jPCT-AE(32481): Creating byte buffer of size 12288
11-02 19:25:25.761: I/jPCT-AE(32481): ...done in 8/6ms
11-02 19:25:25.761: I/jPCT-AE(32481): Compressing texture (32*32) to ETC1...
11-02 19:25:25.761: I/jPCT-AE(32481): Creating byte buffer of size 3072
11-02 19:25:25.766: I/jPCT-AE(32481): ...done in 2/2ms
11-02 19:25:25.766: I/jPCT-AE(32481): Compressing texture (16*16) to ETC1...
11-02 19:25:25.766: I/jPCT-AE(32481): Creating byte buffer of size 768
11-02 19:25:25.766: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:25.766: I/jPCT-AE(32481): Compressing texture (8*8) to ETC1...
11-02 19:25:25.766: I/jPCT-AE(32481): Creating byte buffer of size 192
11-02 19:25:25.766: I/jPCT-AE(32481): ...done in 1/0ms
11-02 19:25:25.766: I/jPCT-AE(32481): Compressing texture (4*4) to ETC1...
11-02 19:25:25.766: I/jPCT-AE(32481): Creating byte buffer of size 48
11-02 19:25:25.766: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:25.766: I/jPCT-AE(32481): Compressing texture (2*2) to ETC1...
11-02 19:25:25.766: I/jPCT-AE(32481): Creating byte buffer of size 12
11-02 19:25:25.766: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:25.766: I/jPCT-AE(32481): Compressing texture (1*1) to ETC1...
11-02 19:25:25.766: I/jPCT-AE(32481): Creating byte buffer of size 3
11-02 19:25:25.771: I/jPCT-AE(32481): ...done in 0/0ms
11-02 19:25:25.771: I/jPCT-AE(32481): Pre-warming done!

18
Support / Rendering stutter at the beginning
« on: November 02, 2014, 12:36:19 pm »
Hi Egon,

I have an issue where the rendering stutters at the beginning of the onDrawFrame. I checked from log and found out it compiles shader and create buffer for VBO during rendering when object become visible. Is there any way to compile everything including shader and VBO in surfaceChanged before it starts rendering frame? I tried to call buildAllObjects() and compileAllObjects() but it seems not helping.

Here's the log during rendering:
Code: [Select]
11-02 19:25:50.231: I/jPCT-AE(32481): Compiling shader program!
11-02 19:25:50.231: I/jPCT-AE(32481): Handles of 2520036: 3/28/5
11-02 19:25:50.231: I/jPCT-AE(32481): Creating buffers...
11-02 19:25:50.231: I/jPCT-AE(32481): VBO created for object 'foreground_fish_1'

19
Support / Texture pixelated or weird for etc1 compressed normal bump map
« on: September 26, 2014, 05:30:43 pm »
Hi Egon,

I set my texture to mipmap and setTextureCompression(true), and it seems like the texture is pixelated and sometimes looks weird (some black area on part of the texture) for normal map, but it does not have the issue when compression is off. I'm using the shader code from http://www.jpct.net/wiki/index.php/Shaders. In addition, I tried out with the hello shader by setting all textures with etc1 compression, it looks quite different than what it is in without the compression. Is it normal that etc1 compression will lose texture quality? However, if the normal texture is compressed, it looks ok.

20
Support / Texture becomes blur and pixelated after many onResume
« on: September 02, 2014, 03:42:20 pm »
Hi egon,

I have this issue where the texture becoming more blur and pixelated each time the live wallpaper resumes from pause. It takes many times till the effect is obvious. The texture is in 512x512, mipmap, and compression enabled ( setTextureCompression(true) ).

Can it be the texture is compressed over and over again till it loses the quality?

21
Support / Transparent object not showing in some devices
« on: August 30, 2014, 12:40:06 pm »
Hi Egon,

Have you had this situation before? Tested on galaxy trend plus (I think the GPU is Broadcom VideoCore IV). However, other devices like S4 and note 10 are working fine. Previously, I removed some uniforms in shader and it worked fine. But after I'm adding more objects, the transparent object disappears again. Could this be possibly caused by the shader/hardware limitation?

22
Bones / Crowd animation
« on: July 07, 2014, 05:29:46 pm »
Hi Raft,

I have been trying with the hardware skinning and it works pretty well so far, despite of few bugs :P, but it takes alot of computing power if it's drawing the same object for >20. Just wonder if it's a good idea to move all objects animation into shader so all animations are done in hardware instead. Do you have any plan implementing this in the future?

23
Support / GLSL debug
« on: June 05, 2014, 03:53:38 pm »
Hi everyone,

Has anyone tried glsl debugging before on pc? I'm trying on glslDevil and Perf Studio, but with no luck, both don't work.

24
Support / GLSLShader pass matrix array
« on: May 28, 2014, 06:05:43 pm »
Hi Egon,

Is it possible for you to add in passing matrix array to shader? I'm trying to implement hardware skinning and the input is matrix array. Some inputs are in 2 dimensional array too and I guess shader does not support it, right?

25
Bones / Skin blending
« on: May 26, 2014, 05:38:34 pm »
Hi raft,

I tried blending two skin animations by using these

Code: [Select]
group.animateSkin(frame, 1);
group.animateSkin(frame, 2);
group.applyAnimation();

and auto apply animation is set to false, but I got the skin animations from the second one only. Did I missed any step? According to the  doc, it should the way it is shown.

26
Support / Repeating texture performance
« on: May 11, 2014, 04:47:50 pm »
I have two models (8 tris each) which has repeating texture (128x8). On top of that, I added a second texture (128x128) in Blend mode. When I use them, it slows my phone alot (android main UI). But when i remove that, and even added few animated 3d models with bones (~2000K tris total), and it looks completely fine and framerate is ok. I was just wondering if the repeating texture may cause performance in some cases.

27
Support / Screen flickers then whole phone freezes
« on: May 11, 2014, 04:38:58 pm »
I have an issue where the screen flicker when moving the camera around. It flickers in such a way that you see half of the screen shows one frame and another half of screen shows another frame. The strangest is, it only happens at certain locations when moving the camera. If we move the camera away from that point, it'll be ok. If we leave it flickering, it just freezes the entire phone. Has anyone have this issue before?

28
Bones / Hardware skinning needed
« on: May 08, 2014, 06:22:10 pm »
Hi Raft,

Is it doable for Bones to have hardware skinning? I checked from orge3d.org and they seem to have it. http://www.ogre3d.org/forums/viewtopic.php?f=4&t=66907#p440560

I have 6 animated models with bones and it seems to takes a lot of CPU usage and slow down Android main UI (I'm doing live wallpaper).

29
Support / Framebuffer shows half black screen during screen rotation
« on: April 25, 2014, 05:56:41 pm »
Hi Egon,

I have this issue where framebuffer width and height not matching to the screen during screen rotation. The other half of the screen is black. However, it happens only the moment when the screen is rotating. After the screen rotation, the frame buffer starts to dispose and recreate a new one that matches the new screen width and height, and it's fine after that. Is there anyway to fix it so that it looks good during screen rotation?

30
Bones / Problem with model after loading Bones to Android
« on: April 06, 2014, 04:29:33 pm »
Hi,

My model seems deformed when loaded into Android. I've have been making other models and they are just fine. However, if it's not animated, it looks ok. I even changed the Config.maxPolyVisible to 20000 and Config.fixCollapsingVertices to enabled too. Even remaking the model has the deform differently. What happened to the Bones?

p/s I'm using orge exporter in Blender and followed the instructions from the jpct wiki. The model looks fine in Blender, in animation.

Pages: 1 [2] 3 4