Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issues #86

Open
jhird11 opened this issue Jun 9, 2021 · 4 comments
Open

Performance issues #86

jhird11 opened this issue Jun 9, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@jhird11
Copy link
Collaborator

jhird11 commented Jun 9, 2021

I've spotted several performance issues that should be addressed.

The tutorial level import contains a preview camera. Which renders the whole scene even though its not attached to a viewport

The lidar is by far the most expensive bit of scripting we have. A review of how it is doing its drawing should take place to make sure its not being more expensive than necessary.

@jhird11
Copy link
Collaborator Author

jhird11 commented Jun 9, 2021

@gabriellamiles Not sure what the preview camera is about.. perhaps generated by a tool you use to import the meshes?

@jhird11 jhird11 added the bug Something isn't working label Jun 9, 2021
@jhird11
Copy link
Collaborator Author

jhird11 commented Jun 18, 2021

I deleted the camera in the mesh scenes

@jhird11
Copy link
Collaborator Author

jhird11 commented Jun 18, 2021

I also changed how the lidar draws dots to the screen to use rectangle blitting rather than looping through pixels.

Also changed lidar to avoid doing as many overlay operations each frame

@mhl787156
Copy link
Contributor

Removing old scenes also helps a lot! The smaller the file size the better the whole thing performs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants