Skip to content

Commit

Permalink
Example tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Sep 8, 2023
1 parent 5dff539 commit 3149c5a
Show file tree
Hide file tree
Showing 16 changed files with 857 additions and 30 deletions.
14 changes: 14 additions & 0 deletions assets/models/xkt/v10/split/Karhumaki-Bridge/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"xktFiles": [
"model.xkt",
"model_1.xkt",
"model_2.xkt",
"model_3.xkt",
"model_4.xkt",
"model_5.xkt",
"model_6.xkt",
"model_7.xkt",
"model_8.xkt",
"model_9.xkt"
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
24 changes: 12 additions & 12 deletions examples/buildings/glTF_VianneyHouse.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,24 @@ <h3>Resources</h3>

new ReflectionMap(viewer.scene, {
src: [
"../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PX.png",
"../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NX.png",
"../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PY.png",
"../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NY.png",
"../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PZ.png",
"../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NZ.png"
"../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PX.png",
"../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NX.png",
"../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PY.png",
"../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NY.png",
"../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PZ.png",
"../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NZ.png"
],
encoding: "sRGB"
});

// new LightMap(viewer.scene, {
// src: [
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PX.png",
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NX.png",
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PY.png",
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NY.png",
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PZ.png",
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NZ.png"
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PX.png",
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NX.png",
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PY.png",
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NY.png",
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PZ.png",
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NZ.png"
// ],
// encoding: "sRGB"
// });
Expand Down
12 changes: 6 additions & 6 deletions examples/buildings/glb_HousePlan.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ <h3>Resources</h3>

new ReflectionMap(viewer.scene, {
src: [
"../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PX.png",
"../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NX.png",
"../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PY.png",
"../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NY.png",
"../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PZ.png",
"../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NZ.png"
"../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PX.png",
"../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NX.png",
"../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PY.png",
"../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NY.png",
"../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PZ.png",
"../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NZ.png"
],
encoding: sRGBEncoding
});
Expand Down
24 changes: 12 additions & 12 deletions examples/buildings/glb_VianneyHouse.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,24 +63,24 @@ <h3>Resources</h3>

// new ReflectionMap(viewer.scene, {
// src: [
// "../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PX.png",
// "../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NX.png",
// "../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PY.png",
// "../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NY.png",
// "../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PZ.png",
// "../../assetstextures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NZ.png"
// "../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PX.png",
// "../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NX.png",
// "../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PY.png",
// "../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NY.png",
// "../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_PZ.png",
// "../../assets/textures/reflect/Uffizi_Gallery/Uffizi_Gallery_Radiance_NZ.png"
// ],
// encoding: "sRGB"
// });
//
// new LightMap(viewer.scene, {
// src: [
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PX.png",
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NX.png",
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PY.png",
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NY.png",
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PZ.png",
// "../../assetstextures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NZ.png"
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PX.png",
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NX.png",
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PY.png",
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NY.png",
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_PZ.png",
// "../../assets/textures/light/Uffizi_Gallery/Uffizi_Gallery_Irradiance_NZ.png"
// ],
// encoding: "sRGB"
// });
Expand Down
1 change: 1 addition & 0 deletions examples/buildings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@

"#XKT + VBOs",

["xkt_manifest_KarhumakiBridge", "Loading a BIM model split into multiple XKT models"],
["xkt_manifest_Clinic", "Loading a BIM model split into multiple XKT models"],
["xkt_manifest_WestRiverSideHospital", "Loading a BIM model split into multiple XKT models"]
],
Expand Down
Loading

0 comments on commit 3149c5a

Please sign in to comment.