Spacetime-Meta / spacetime-sdk

The spacetime-sdk is a turnkey virtual environment package for building in the Spacetime Metaverse
https://www.spacetimemeta.io/metaverse/spawn-planet
MIT License
11 stars 2 forks source link

[Feature]: Round of Optimization #168

Closed Liquid-Blocks closed 2 years ago

Liquid-Blocks commented 2 years ago

Overview

There are multiple features that can not be turned off of are running on every frame. this takes a lot of computing power on every frame. The goal of this issue is to make the experience feel faster and better.

Specifications

The specific metric of this issue is to increase the applications FPS image

There are two parts to this optimization:

The first part is about optimizations of features These are the proposed optimizations:

  1. Prevent map from running frames when not open (This is major problem)
  2. Clean up of update methods
  3. Completely turn of the avatar controller while in first person

The second part is about giving options to disable some features to lower the process on each frame These are the proposed options:

  1. Option to disable shadows. (this is the biggest difference)
  2. Option to see just a capsule instead or full avatar (this is extreme)

Anything else?

This is not mandatory but would be interesting to allow users to monitor their FPS

Liquid-Blocks commented 2 years ago

this issue was closed with PR #173