Closed kephale closed 6 years ago
Could you please break at UBO.kt:228
to see at which position of the buffer this exactly happens?
java.nio.DirectByteBuffer[pos=10485760 lim=10485760 cap=10485760]
Please have a look at the opengl-dynamic-buffer-resizing
branch and let me know if this solves your issue 👍
PS: This should actually be a scenery issue ;)
I cleaned and rebuilt multiple times. Same issue at the same pos/lim/cap.
Yeah, I knew it was a scenery issue, but I thought it was a hardware limit that wouldn't go away so I posted it under sciview so users could find it more easily when they run into it. [expecting more naive users to be using sciview]
This issue has been fixed with scenerygraphics/scenery#188 👍
This happened after ~12,000 spheres were added to the scene (not using instancing, and not using a point cloud). I wasn't particularly surprised by this error, but wanted to document it somewhere for web searchability.