Godot Simple Benchmark project (3D)
Asked Answered
H

2

0

I wrote a simple and stupid mini-tool to test Godot 4's 3D performance of rendering shaded primitive faces, it was inspired by duane's bunny mark, which is for testing massive 2D sprites performance.

The idea is to render as many as models with a fixed perspective camera, you could adjust number of models displayed with 3 sliders: x, z and layers, the total number of models is x by y, and layers controls how many layers of x*y models are displayed.

All models are loaded into memory upon starting of the application, so it would take a while and a few Gigabytes of memory upon starting, so make sure you have enough free memory before running the project.

The code is pretty rushed and I am not very familiar with godot's rendering api, so feel free to point any coding stupidity out if you find I did anything wrong.

Screenie🙁looked a bit hilarious)

gsbenchmark3.zip
2MB

Credits:
*duane for bunny mark idea and fps code
*Quaternius @ opengameart.org for LowPoly Ship pack by Quaternius
*Paul's ecs and logger plugin

edit: Project is made with 4.2 beta 4.

Hawker answered 8/11, 2023 at 5:55 Comment(0)
I
0

Godot_v4.2-beta5_win64

drivers/windows/file_access_windows.cpp:132 - Case mismatch opening requested file 'Ship.tscn', stored as 'ship.tscn' in the filesystem. This file will not open when exported to other case-sensitive platforms.

But the project works.

My FPS drops sometimes to 17 at max settings, but usually 19-20.

Iridaceous answered 8/11, 2023 at 12:1 Comment(0)
H
0

Iridaceous Hmm weird, I will download a copy of beta 5 to see if it pops out the same compilation errors.

Hawker answered 8/11, 2023 at 12:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.