I have a bad issue for a long time.
All my geometry is a single static-geometry object. I started using this feature to boost-up my performance. It helped a lot, from 4 FPS to 40 on an old computer.
Unfortunately, I experienced after all a z-fighting on many brushes on screen. The problem only appears on static geometry. Problems affects thin objects and far objects.
Near clip is 10
Far clip is 100000
Increasing nearclip is possible, but not acceptable.
Decreasing farclip is sometimes also awful.
This string in code is looking important, but I don't know is it related to such type of problem.
Code: Select all
geom->setRegionDimensions (Vector3(100000, 100000, 100000));
How to solve such static geometry flickering?
Thanks in advance.