We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi,
I'm trying to render roughly 50k lines at 60 fps. They will have static geometry, but I want to be able to zoom in and translate.
I tried using PShape, but it scales the stroke as well, which makes it unusable. Is there a way to get around this?
I noticed other threads mentioned GLModel, but this library has not been updated for a few years.
I could use a custom shader and a VBO, but I was wondering if there was another, better, way before going into low level OpenGL.
Any ideas?
Thanks!
Answers
Maybe you can scale the stroke weight down:
maybe you can enter all the lines (when they are constant) in a GROUP PShape in setup() and work with this. See tutorial on PShape please