This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

OpenGL renders only a part of bufferdata

Hello, 

It seems like openGL draws bufferdata having some limit.

Here you can find a code in method makeDrawable: WorldWindKotlin/worldwind/src/commonMain/kotlin/earth/worldwind/shape/Path.kt at develop · WorldWindEarth/WorldWindKotlin · GitHub.

I noticed that maximum size of vertexArray( that we send to glBufferData)  is 262_142  only. All indexes above this value are ignored by openGL for some reason.

Here I am trying to render 10_000 points arranged in a circle, but only about 3000 of them is rendered.

With lower number of points everything is OK.