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.
Hi Pete, thanks a lot for your reply, the type of indices was the exact reason the we were looking for. Thanks.