Making use of the GPU to render huge amount of objects

Hi all, thanks for the replies.

@noel Using multiple graphics sounds like a good idea, but I’m not sure yet, how deep the users want to zoom in, so that solution might turn out as quite a memory hog, when the zoom level is high. But the same would have been true for my one-bitmap-solution as well. But we’ll give that one a try, since it’s easy to implement.

@josephh I was afraid someone would say that we might need to use “real” WebGL - I was hoping there was a way to create a static scene in p5 that is completely handed out to the GPU with a moveable camera. But I’ll keep that in mind, if we can’t get it to work nicely in p5. I’ll probably look into Unity or Unreal Engine as well, since both seem to offer WebGL export, which might make things a little bit easier than coding it in WebGL directly.