Main Menu
Menu

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.

Show posts Menu

Messages - peter

#16
Support / low fps rate
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.
#17
the z-fighting problem could be solve by shrink all vertices by 100 times, so I can move camera distance from 5000 to around 50. don't know why shrink 3D object's vertices effect the z-fighting, I think it has something to do with the camera distance. could this be a bug?
#18
is there a way to increase depth buffer? because those weird line shows after zooming out. NVDepthConfigChooser's depth buffer is not large enough.
#19
the whole thing is load from obj and mtl, according to what is showing in the screen I guess it happened when there are two objects overlapped.
#20
NVDepthConfigChooser actually fix the problem!!!
thank you very much!!!
so that is a depth buffer related issue?
#21
my render calls are almost the same with hello world example
onSurfaceChanged(GL10 gl, int width, int height)
        fb = new FrameBuffer(width, height);
        world = new World();
        world.setAmbientLight(85,85,85);
        world.setClippingPlanes(10,1000);
        world.setObjectsVisibility(true);
        create Lights
        world.addObjects(objects);//objects loads from obj and mtl
        world.getCamera().setPosition(0,0, 800);
        MemoryHelper.compact();

onDrawFrame(GL10 gl)
        fb.clear(background);
        world.renderScene(fb);
        world.draw(fb);
        fb.display();

I will try NVDepthConfigChooser see if that helps.
thank you!!!
#22
if camera is close enough, those lines go away
#23
I am using Samsung Galaxy note 4, android version 5.1.1
#24
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