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

Pages: [1]
1
Support / Which function is the fastest way to create Object3D
« on: March 17, 2017, 04:23:39 am »
I have all the coordinates, normals, uvs and index values.
which function can create Object3D in shortest time?
Using Object3D(int maxTriangles) and run 8 times addTriangle(SimpleVector vert1, SimpleVector vert2, SimpleVector vert3, TextureInfo tInf)
or
Using Object3D(float[] coordinates, float[] normals, float[] uvs, int[] indices, int textureId)

2
Support / Taking 5 to 10 sceonds to show 3D objects
« on: October 04, 2016, 12:15:53 am »
when showing 3D objects for first time it takes 5~10 seconds to render. the log shows:

...

Subobject of object 957/56e9be7546bb823cb10000a2 compiled to indexed fixed point data using 2868/940 vertices in 18ms!
Object 957/56e9be7546bb823cb10000a2 compiled to 1 subobjects in 22ms!

Subobject of object 959/56d5fc8846bb8254e0000001 compiled to indexed fixed point data using 4236/1416 vertices in 29ms!
Object 959/56d5fc8846bb8254e0000001 compiled to 1 subobjects in 31ms!

Subobject of object 961/56d5fcb046bb8254e0000002 compiled to indexed fixed point data using 468/160 vertices in 3ms!
Object 961/56d5fcb046bb8254e0000002 compiled to 1 subobjects in 3ms!

Subobject of object 963/56d5fcb046bb8254e0000004 compiled to indexed fixed point data using 1092/368 vertices in 8ms!
Object 963/56d5fcb046bb8254e0000004 compiled to 1 subobjects in 8ms!

Subobject of object 965/56d5fcb146bb8254e0000005 compiled to indexed fixed point data using 564/192 vertices in 3ms!
Object 965/56d5fcb146bb8254e0000005 compiled to 1 subobjects in 3ms!

Subobject of object 967/56d5fcb146bb8254e0000006 compiled to indexed fixed point data using 3156/1056 vertices in 19ms!
Object 967/56d5fcb146bb8254e0000006 compiled to 1 subobjects in 23ms!

Subobject of object 969/56d5fcb146bb8254e0000007 compiled to indexed fixed point data using 756/256 vertices in 5ms!
Object 969/56d5fcb146bb8254e0000007 compiled to 1 subobjects in 8ms!
...
Subobject of object 1909/object1911 compiled to indexed fixed point data using 2868/940 vertices in 14ms!
Subobject of object 1909/object1911 compiled to indexed fixed point data using 4236/1416 vertices in 21ms!
Subobject of object 1909/object1911 compiled to indexed fixed point data using 8640/2912 vertices in 43ms!
Subobject of object 1909/object1911 compiled to indexed fixed point data using 11040/3728 vertices in 50ms!
Subobject of object 1909/object1911 compiled to indexed fixed point data using 7128/2464 vertices in 50ms!
...

is it possible to do those before we call renderer?

thanks!

3
Support / low fps rate
« on: June 21, 2016, 11:03:44 pm »
I am using jpct-ae to rendering over 400 3D objects at once. what FPS amount should I expect? right now I am getting 10fps on android 5.1 galaxy note4 , it's pretty low.

4
Support / weird lines show in texture when camera move
« on: March 30, 2016, 09:53:10 pm »
weird lines show in texture when camera zoom out. went away when zoom in. any idea why this happened?
the 3d objects are load from .obj and .mtl file

Pages: [1]