metauni / metaboard

Multiplayer drawing boards for sharing knowledge in Roblox.
Mozilla Public License 2.0
28 stars 6 forks source link

Part-based boards render slow when viewed side-on #14

Closed ecurtiss closed 1 year ago

ecurtiss commented 2 years ago

This is 100,000 parts being viewed head-on. I am getting ~352 FPS. image

This is the same 100,000 parts being viewed from the side. I am getting ~80 FPS. image

The same phenomenon has been observed in-game on metaboards. One solution is to place side boards that block you from seeing the parts. Here is the same 100,000 parts being viewed from the side but blocked by a part. With this, my FPS has returned to ~352. image

ecurtiss commented 2 years ago

This can be resolved by putting the boards in ViewportFrames. The downside to ViewportFrames is that their resolution gets worse the closer you get.