Skip to content

Commit eea1208

Browse files
authored
Change default geom for PolyHaven to sphere (from teapot) to match previews. (#39)
1 parent c8f0d9c commit eea1208

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/JsPolyHaven/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const mainSpinner = document.getElementById('mainSpinner');
1919
const materialModal = new bootstrap.Modal(document.getElementById('materialModal'));
2020

2121
// Target URL for the viewer page
22-
let targetURL = "https://kwokcb.github.io/MaterialXLab/javascript/shader_utilities/dist/index.html?viewerOnly=1";
22+
let targetURL = "https://kwokcb.github.io/MaterialXLab/javascript/shader_utilities/dist/index.html?viewerOnly=1&geom=Geometry/sphere.glb";
2323
// Set for local testing
2424
//targetURL = "http://localhost:8000/javascript/shader_utilities/dist/index.html?viewerOnly=1";
2525

0 commit comments

Comments
 (0)