Began building a 3D gallery using Three.js and Vite, with plans for glowing doors and textured artwork. Initial setup successful, though deployment to Netlify needs debugging.
Create a 3D gallery rendered with Three.js
, featuring lavender floors, charcoal walls, and immersive orbit viewer controls. Deployment is set to arynwood.com/gallery3d.
main/rainkeep/public/gallery3d
three
via npm install three
OrbitControls
with drag and zoom workinglocalhost:5173
To serve correctly at /gallery3d/
on Netlify, set base path in vite.config.js
:
export default {
base: '/gallery3d/',
};
Deployed build shows a white screen. Likely issue is path resolution mismatch between local dev and Netlify environment. Investigating base URL misalignment.
vite.config.js
lives inside gallery3d/
npm run build
dist/index.html
uses /gallery3d/
in its script pathsdist
'./'
and run serve dist
The 3D gallery renders fine in dev mode. Deployment bug remains. Pausing to spend time with family.
View gallery at: arynwood.com/gallery3d