R
R
ratatyq2017-03-22 23:29:49
3D
ratatyq, 2017-03-22 23:29:49

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

1 answer(s)
A
Alexander Pavlyuk, 2017-03-23
@ratatyq

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 question

Ask a Question

731 491 924 answers to any question