Page 1 of 1
[DONE] Flicker problem , see the Video
Posted: Fri Apr 30, 2021 12:50 pm
by tft
You can see my problem in this video. The surfaces of the objects shine through when I move further away. I have already separated the inside and the outside object. And I've already tried all of the filters. I also tried to increase the number of vertics. I also experimented with the deep buffer flags. But nothing helps. The object is self-assembled.
https://youtu.be/_P1SbE5LydU
Please Help ... TFT
Re: Flicker problem , see the Video
Posted: Fri Apr 30, 2021 2:56 pm
by pf shadoko
We can't see well on your video, but I think it's a z-fighting problem:
https://en.wikipedia.org/wiki/Z-fighting
the geometry of your mesh must contain close parallel planes
how did you build it ?
Re: Flicker problem , see the Video
Posted: Fri Apr 30, 2021 4:57 pm
by tft
Thanks for the link. I know this phenomenon. This often occurs when two surfaces argue about the dominance of the representation. The areas that are affected are clearly more than 0.1 world units apart. But what I can imagine. That I forgot something when creating the object. I set the vertex list and face list. Since I don't use lighting, the normal = 0. Do I still need something?
Re: Flicker problem , see the Video
Posted: Fri Apr 30, 2021 5:28 pm
by tft
The longer I look at this. the sooner I think this is not a Z-Buffer but a Z-Order problem. Because both objects are at the same coordinate. But even if I make both objects into one, the problem remains.
Re: Flicker problem , see the Video
Posted: Fri Apr 30, 2021 6:10 pm
by pf shadoko
- it is not the distance between the surfaces that counts, but the ratio of the distance between the surfaces / disatance of the camera
- normals have nothing to do with it
- z-order ?? I think it's the z-buffer
send me a screenshot in wireframe mode (CameraRenderMode)
or give me the code to create your mesh
Re: Flicker problem , see the Video
Posted: Fri Apr 30, 2021 7:49 pm
by tft
In my Video on this Day, you can see wat the problem it is. 2 standart CubeMesh Entity his distanze are 5 World points. At Time 30:40
https://www.youtube.com/watch?v=csLxCTb6uf8
Re: Flicker problem , see the Video
Posted: Fri Apr 30, 2021 8:25 pm
by pf shadoko
yes I saw (minute 30)
- test with a smaller value, of the "far" parameter of camerarange
(or maybe your world is too big)
Re: Flicker problem , see the Video
Posted: Fri Apr 30, 2021 9:16 pm
by tft
Thank you for the Idee. Camera Range ....... The Problem was the Neer Parameter ..... i Am Fix anather problem with Sprite. I am Set CameraRange (Camera,0.0001, 10000) . I am set This to 0.05,2000. Thank you vor the Gool.
THX TFT
Re: [DONE] Flicker problem , see the Video
Posted: Fri Apr 30, 2021 10:41 pm
by pf shadoko
cool
I think it's the far/near ratio that counts