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 e39e185
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions strahl-lib/src/benchmark/benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ 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";
("models/series-61-rotated/"); // 1'068'735

Check failure on line 16 in strahl-lib/src/benchmark/benchmark.ts

View workflow job for this annotation

GitHub Actions / build-and-deploy

Expected an assignment or function call and instead saw an expression
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 e39e185

Please sign in to comment.