jPCT-AE - a 3d engine for Android > Support

Large size model can't be displayed properly

(1/2) > >>

nm123:
I try to load large size models with  jPCT-AE in android emulator, for example to show a plane:

plane = Primitives.getPlane(2, 1000000);

and set Config.farPlane = 100000000. The plane can't be shown in whole. When the camera move/turn, some broken color blocks(the plane's texture color) are flashing everywhere on the screen. ???...

What can I do in the code to get the LARGE size model displayed properly without above problem?!

Thanks in advance...

raft:
have a look at Config.maxPolysVisible

EgonOlsen:
This is an insanely large plane. You'll most likely run into accuracy issues with that, which are imposed by the gpu itself. There's just one solution: Don't do it. If you want a large plane, split it.

nm123:
Thanks for the replies and advise. Just a question:  how many polygons in the plane for following:

plane = Primitives.getPlane(1, 100000);

suppose not many, right?

EgonOlsen:
Two. But that's not the point. They are not polygons, they are monsters...much too large.

Navigation

[0] Message Index

[#] Next page

Go to full version