Hello guys, I hope you're doing well.
So I created a scene on Qt6 using OpenGL in which I added a cube and its coordinate system.
When I rotate the cube, the axes of the coordinate system seem to interfere with the black background of the scene.
Here is an orientation of the cube where the red axis is totally visible:
Now when I keep rotating the object, I get this:
It seems like a part of the Red axis has disappeared or was hidden by the black background of the scene.
Although I enabled the depth test, I still get the same problem.
Please help me.
Any help would be appreciated.
Thank you All.