Skip to content

Commit

Permalink
Use sample model URLs for benchmark
Browse files Browse the repository at this point in the history
This enables easy reproducibility of the results.
  • Loading branch information
StuckiSimon committed Sep 13, 2024
1 parent b6f3d35 commit 65d7513
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions strahl-lib/src/benchmark/benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ import {
import { loadGltf } from "../load-gltf";
import { Mesh } from "three";

const MODEL_URL_FULL = "models/series-61-rotated/61-serie-edit.gltf"; // 1'068'735
const MODEL_URL_BARE_BONES = "models/series-61-simplified-2/61-serie-edit.gltf"; // 10'687
const MODEL_URL_MID = "models/series-61-simplified/61-serie-edit.gltf"; // 106'873
const MODEL_URL_FULL =
"https://stuckisimon.github.io/strahl-sample-models/benchmark-base/61-serie-edit.gltf"; // 1'068'735
const MODEL_URL_BARE_BONES =
"https://stuckisimon.github.io/strahl-sample-models/benchmark-2/61-serie-edit.gltf"; // 10'687
const MODEL_URL_MID =
"https://stuckisimon.github.io/strahl-sample-models/benchmark-1/61-serie-edit.gltf"; // 106'873

const defaultBlueMaterial = new OpenPBRMaterial();
defaultBlueMaterial.oBaseColor = [0.0, 0.9, 1.0];
Expand Down

0 comments on commit 65d7513

Please sign in to comment.