mirror of
https://github.com/storytold/spark.git
synced 2026-10-11 21:40:48 +00:00
Add Sutro tower SOGS example (#111)
* Add Sutro tower SOGS example - Reset to default settings - Add to main index * Remove spark renderer * Update example title --------- Co-authored-by: 61cygni <> Co-authored-by: Diego Marcos <diego.marcos@gmail.com>
This commit is contained in:
@@ -36,14 +36,6 @@
|
||||
renderer.setSize(window.innerWidth, window.innerHeight);
|
||||
document.body.appendChild(renderer.domElement);
|
||||
|
||||
const spark = new SparkRenderer({
|
||||
renderer,
|
||||
preBlurAmount: 0.0,
|
||||
blurAmount: 0.3,
|
||||
});
|
||||
|
||||
scene.add(spark);
|
||||
|
||||
const splatURL = await getAssetFileURL("sutro.zip");
|
||||
const sutroTower = new SplatMesh({ url: splatURL });
|
||||
sutroTower.quaternion.set(1, 0, 0, 0);
|
||||
|
||||
@@ -148,6 +148,7 @@
|
||||
<li><a href="/examples/debug-color/">Debug Coloring</a></li>
|
||||
<li><a href="/examples/depth-of-field/">Depth of Field</a></li>
|
||||
<li><a href="/examples/splat-texture/">Splat Texture</a></li>
|
||||
<li><a href="/examples/sogs/">SOGS Compression</a></li>
|
||||
<li><a href="/examples/editor/">Editor</a></li>
|
||||
<li><a href="/examples/viewer/">Viewer</a></li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user