Rather than doing it from scratch, I was thinking maybe some library already exists for this but I'm not sure what this is called, so I'm not able to find anything relevant. I am not looking for a STL renderer or some WebGL thing but just some JavaScript trickery.
Best way to display photorealistic 3D in the browser?
1–10 of 12 posts
Re: Best way to display photorealistic 3D in the browser?
#2Re: Best way to display photorealistic 3D in the browser?
#3https://projects.markkellogg.org/threejs/demo_gaussian_splat...
Re: Best way to display photorealistic 3D in the browser?
#4Re: Best way to display photorealistic 3D in the browser?
#5Re: Best way to display photorealistic 3D in the browser?
#6It’s quite state of the art, but Gaussian splatting can be considered. https://projects.markkellogg.org/threejs/demo_gaussian_splat...
Re: Best way to display photorealistic 3D in the browser?
#7Seems like you’re looking for something to scrub rendered frames. Otherwise, just upload to Sketchfab and embed their viewer. It’s very capable and purpose built for what you’re looking to do.
If it's real 3d, the Sketchfab viewer is nice indeed. Might not be photorealistic but close enough. There's also https://www.npmjs.com/package/@google/model-viewer
There's probably a ton of libs for either approach, just try a few and pick the best one for your use case.
You can also tie it into scroll state and a narrative, like https://www.scanofthemonth.com/scans/coffee
Re: Best way to display photorealistic 3D in the browser?
#8Godot. It has by far the best and fastest web export.
Re: Best way to display photorealistic 3D in the browser?
#9It’s quite state of the art, but Gaussian splatting can be considered. https://projects.markkellogg.org/threejs/demo_gaussian_splat...
These were terribly laggy for me on a Pixel 7
Re: Best way to display photorealistic 3D in the browser?
#10Earlier quoted context omitted.
These were terribly laggy for me on a Pixel 7
Strange. Were you running out of battery? This method is relatively lightweight and runs smoothly on my older iPhone.