Skip to content

Commit

Permalink
Merge pull request #100 from KhronosGroup/10000Asteroids
Browse files Browse the repository at this point in the history
NodePerformanceTest
  • Loading branch information
javagl authored Jul 8, 2024
2 parents eb3e16a + ffb6efd commit 25dcc27
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Models/NodePerformanceTest/README.body.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Screenshot

![screenshot](screenshot/screenshot_large.jpg)

Screenshot from VARG (Vulkan Accellerated Rendering Gltf) java based renderer, with background displaying irrandiance map using the included camera viewpoint.
At render output, a value of 10000 lumen will equal to max brightness (1.0 in a unorm framebuffer).
This value is chosen to match the directional lightsource in the model, having an intensity of 10000 lumen/m2.

## Description

The purpose of this model is to provide a performance test for a model containing a huge number of nodes, meshes, primitives and materials.
The model contains a flat nodehierarchy with 10000 nodes.
Each node is referencing one unique mesh and each mesh having one primitive, referencing one unique material.
This sums up to 10000 nodes, meshes, primitives and materials.

In total there are 100 textures in the model (usage of the textures are randomly generated when the model is created)

This model is demanding when it comes to loading and handling a lot of nodes, materials and textures.
The goal is to provide a performance test to allow implementations optimize loading, preparation and rendering of such a usecase.
It is not intended to be used as a reference benchmark.
Binary file not shown.
25 changes: 25 additions & 0 deletions Models/NodePerformanceTest/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 2,
"legal": [
{
"year": 2024,
"owner": "Public",
"artist": "Jon Aspeheim",
"what": "Everything",
"license": "Public Domain / CC0",
"licenseUrl": "https://creativecommons.org/publicdomain/zero/1.0/legalcode",
"text": "CC0 1.0 Universal",
"spdx": "CC0-1.0",
"icon": "https://licensebuttons.net/p/zero/1.0/88x31.png"
}
],
"tags": [
"core",
"testing"
],
"screenshot": "screenshot/screenshot_large.jpg",
"name": "NodePerformanceTest",
"path": "./Models/NodePerformanceTest",
"summary": "Node, mesh, primitive and texture count performance test",
"createReadme": true
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 25dcc27

Please sign in to comment.