Answer the question
In order to leave comments, you need to log in
Will objects be rendered normally in OpenGl if the models are plugged into each other?
Hello, I would like to clarify this issue, as it was indicated differently in different sources. If we load/simulate models through openGl and stick them into each other, will openGl render them normally, without any breakage of the depth buffer or something?
Answer the question
In order to leave comments, you need to log in
The depth buffer is just designed to correctly display such cases.
In certain cases, image artifacts are possible. For example, if you have faces of different models in the same plane and too close to each other, then due to insufficient buffer accuracy, they will flicker. https://en.wikipedia.org/wiki/Z-fighting
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question