Commit Graph

62 Commits

Author SHA1 Message Date
Andreas Sundquist 179885595c Splat Texture (#79)
* Add experimental Splat Texture rendering and examples/splat-texture. Added star.png and heart.png to assets.json and to assets repo. Update examples/depth-of-field to compute from metric aperture size. Added SparkRenderer.renderScale debug parameter. Updated examples/editor: set default highDPI to true, added logFocalDistance, apertureAngle, refactored, grouped into debugFolder, default settings open, preset buttons for nonAA and AA settings.

* Set default highDpi in examples/editor to not(isMobile).
2025-07-01 07:57:34 -07:00
Andreas Sundquist 36c3c61d0b Implementation PC SOGS file format loading via meta.json root file. Added webp dependency for accurate decoding. Updated viewer and editor to accept new file type. (#73) 2025-06-30 08:57:51 -07:00
Andreas Sundquist 06b1564246 Set default enable2DGS to false. Update docs and include DoF focus blur settings. Make procedural-splats work better on Android. Fix touch controls on examples. (#65) 2025-06-24 00:42:38 -07:00
Andreas Sundquist db1e880ae1 Add focalDistance and apertureAngle to SparkRenderer. Add examples/depth-of-field. (#59) 2025-06-20 17:09:43 -07:00
Andreas Sundquist 690e09ac95 Add modifiers normalColor and depthColor. Add examples/debug-color to show how to use them on SplatMeshes. (#58) 2025-06-20 14:23:45 -07:00
Andreas Sundquist e36b553611 Add GLSL inline shader code injection example (#56)
* Add examples/glsl and link into index.html and examples.html.

* Add comment to example defining struct Gsplat.

* Adjust tab size formatting to 2
2025-06-20 13:15:14 -07:00
Andreas Sundquist 09bfa95bce Add preBlurAmount and blurAmount sliders to examples/editor. Move other settings out into main right gui panel. (#54) 2025-06-18 10:08:48 -07:00
Andreas Sundquist d4f174677c Add examples/webxr/ single-html example. Linked in index.html. Improved the experimental hands.ts interface. Fixed issue with single-camera WebXR. Added valley.spz to assets.json, added to assets repo. 2025-06-17 18:50:49 -07:00
Diego Marcos Segura 6887d8d09d Make loader default white. Remove old image 2025-06-10 21:57:23 -07:00
Diego F. Goberna a4972205a8 spark loading gif (#41) 2025-06-10 21:44:10 -07:00
Diego Marcos Segura 6ec3eb5f38 Fix import paths. sparkjs-dev to sparkjsdev 2025-06-10 13:41:16 -07:00
Diego F. Goberna f2d449a256 update viewer logo 2025-06-10 10:34:14 +02:00
Diego Marcos Segura 06138076fe Change importmaps from sparkjs-dev to sparkjsdev 2025-06-09 16:27:45 -07:00
Andreas Sundquist acb541cc4e Renamed "forge" to "spark". Updated meta-references and future domain. (#40) 2025-06-09 13:50:08 -07:00
Andreas Sundquist 7a4142c62a Lower MIN_ALPHA from 0.01 to 0.5/255, the lowest conceivable value that could be encoded in a Uint8, allowing highly transparent objects to render better. (#37)
Add "sortRadial" option to Editor to allow toggling between radial and Z-depth sorting.
2025-06-06 12:53:19 -07:00
Andreas Sundquist 0045be0c39 Add stats.js for frame stats with toggle in GUI. (#32) 2025-06-03 13:22:03 -07:00
Diego Marcos Segura 47b2f4aea2 Remove debugger statements 2025-06-02 09:46:13 -07:00
Diego Marcos Segura 1ff50e4a73 Make viewer logo clickable 2025-06-02 09:46:12 -07:00
Andreas Sundquist 16e633cc63 Don't transform splats when transcoding in viewer. 2025-06-02 09:40:37 -07:00
Andreas Sundquist 9a39bb0918 Fix typo in viewer. 2025-06-02 08:36:52 -07:00
Diego Marcos Segura e677969f4b Fixing example names links 2025-06-02 07:59:31 -07:00
Diego Marcos Segura 543f765289 Fix import path 2025-06-02 07:40:41 -07:00
Diego Marcos Segura 79f0b27a81 Add missing import 2025-06-02 07:37:03 -07:00
Diego Marcos Segura 7a128f9234 Remove unnecessary controls from envmap example 2025-06-02 05:20:10 -07:00
Diego Marcos Segura 2a23946eed Tweak mobile CSS 2025-06-02 05:17:05 -07:00
Diego Marcos Segura 3a31f7428c Fix example title 2025-06-02 04:51:47 -07:00
Diego Marcos Segura 1051e066af Simplify viewer. Move old one to editor 2025-06-02 03:56:06 -07:00
Diego Marcos Segura 572b62383b Fix missing dependency and corresponding importmap in example 2025-06-01 01:58:33 -07:00
Diego Marcos Segura 8453f84aab Simplify example names 2025-06-01 01:39:43 -07:00
Diego Marcos Segura b11c5af5cf Remove VR button 2025-06-01 01:33:00 -07:00
Diego Marcos Segura a506e51bd3 Add missing import path to multiple viewpoints example 2025-06-01 00:29:59 -07:00
Diego Marcos Segura 3d16a130b1 Replace hero image with iframe + carousel 2025-05-31 00:55:57 -07:00
Alexander R. Mcneilly 0a2ce484ff Add VFX Particle Animation Demo (#24)
* add snow demo to vfx particle simulation

* refactor particle simulation into one file

* remove clouds demo link (extraneous)

* init clouds example

* fix wrapping and clumping for clouds at all wind speeds

* move clouds example code to one file

* add vfx particle animation clouds demo

* add vfx particle animation to examples.html

* fix indentation to 2 spaces

* fix merge examples.html

* add snow demo to vfx particle simulation

* refactor particle simulation into one file
2025-05-30 16:57:00 -07:00
Alexander R. Mcneilly 195cf4607f Add examples page with list of examples and iframe side by side (#21)
* initial version of repo button

* add repo link button to each example

* init examples page (mobile version still wip)

* fix mobile site styling (still wip)

* init examples.html (styling still wip)

* finish examples page; remove examples.json

* fix nits

* fix nits
2025-05-30 14:16:51 -07:00
Andreas Sundquist 8b5f854848 Remove obsolete code 2025-05-30 10:49:49 -07:00
alex-mcneilly 7defe60edb remove logs 2025-05-29 14:27:27 -07:00
alex-mcneilly ec391fb48a adjust snow volume box 2025-05-29 14:27:27 -07:00
alex-mcneilly 7bb2c0300b adjust snowbox bounds 2025-05-29 14:27:27 -07:00
alex-mcneilly f369779dcc shift splat and camera to be at origin 2025-05-29 14:27:27 -07:00
Diego Marcos Segura f09b8ef468 Replace furry logo 2025-05-28 17:27:36 -07:00
alex-mcneilly 625052f68c update forge assets domain in assets.json 2025-05-28 16:12:15 -07:00
alex-mcneilly 8da970b4f4 fix speed on camera movment (final fix) 2025-05-28 16:12:15 -07:00
alex-mcneilly cdf7b02838 add assets to assets.json and update source URL 2025-05-28 16:12:15 -07:00
alex-mcneilly da03493d11 adjust camera movement parameters 2025-05-28 16:12:15 -07:00
alex-mcneilly 8d5e8da33d fix snow demo to fit new file perspective 2025-05-28 16:12:15 -07:00
alex-mcneilly 2cfcaf3da4 added mobile adjustment to example 2025-05-28 16:12:15 -07:00
alex-mcneilly 854b6b7e0b refactor particle simulation into one file 2025-05-28 16:12:15 -07:00
alex-mcneilly 8b8db6c7e2 add snow demo to vfx particle simulation 2025-05-28 16:12:15 -07:00
Diego Marcos Segura ddeb9094cd Change assets URL to forge.dev/assets 2025-05-28 16:04:22 -07:00
Diego Marcos Segura 3192bbdf93 Make metal default for rubber duck 2025-05-28 15:56:16 -07:00