jPCT - a 3d engine for Java > Bugs

Changing Near plane leads to weird "reproject" results

<< < (4/5) > >>

atreyu64:
Ok thanks a lot !
I don't use any shadows so it should be ok.

Cheers,

Sylvain

atreyu64:
Sorry to bother you again, but it seems like setting Config.glIgnoreNearPlane to false does not work properly on Android.

Have you ever noticed anything wrong with it ?

EgonOlsen:
I'm not aware of any problems. I'll look into it. What does 'not properly' mean in this context?

EgonOlsen:
I had a look and did some tests with it...I can't find an issue. It looks fine to me. Can you describe your problem in a little more detail? Do you have a test case?

atreyu64:
Well actually it's like if glIgnoreNearPlane was not taken into account, but sometimes the display is ok, only when I don't call the renderScene method, which happens here  when "displayNeedsUpdate" is set to false :


--- Code: --- if(displayNeedsUpdate) {
cameraChanged();
displayNeedsUpdate = false;

world.renderScene(fb);
world2.renderScene(fb);
}

world.draw(fb);
world2.draw(fb);

blitting();

fb.display();
--- End code ---

I'm doing this to avoid rendering again the scene when nothing has changed in the scene.
If I try to call renderScene evry time, it is like glIgnoreNearPlane was ignored.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version