Re:My 3D SWE Portfolio - Built with React Three Fiber.
by kelvinjps10 on Thursday January 16, 2025 @02:00AM
(#42722232)
The projects 2d site is slower than the 3d one
[ Parent
| on HN ]
Re:My 3D SWE Portfolio - Built with React Three Fiber.
by Oia20 on Thursday January 16, 2025 @02:04AM
(#42722256)
Interesting! Likely because the 3D model for the photo on the 2D site is a larger model than any of the models in the 3D scene.
But what’s extra interesting about that is the 3D page is a vanilla React project while the 2D site is built with Astro SSG, and has all 90+ lighthouse scores.
Re:My 3D SWE Portfolio - Built with React Three Fiber.
by zorgmonkey on Thursday January 16, 2025 @02:17AM
(#42722331)
This website was able to optimize your 24MB glb file to 2.4MB and the quality looks the same to me https://glb.babylonpress.org/
Re:My 3D SWE Portfolio - Built with React Three Fiber.
by Oia20 on Thursday January 16, 2025 @02:26AM
(#42722384)
Nice find I’ll test this out! Did you make this?
Re:My 3D SWE Portfolio - Built with React Three Fiber.
by spookie on Thursday January 16, 2025 @03:59AM
(#42723058)
Khronos has a glb optimizer here btw:
https://github.com/KhronosGroup/glTF-Compressor
This tool is good too: https://meshoptimizer.org/gltf/