Project for IT class
Loading 3D Objects in THREE.JS.
Plugins used:
- THREE.JS
- OrbitControls.js
File for loading 3D models from "models/"
File for generating HTML DOM elements for index.php
Add necessary items to array, and elements will be created in the grid.
Like so:
sneakers = [
[...]
{
productName: "Name",
sneakerImage: "images/" + imageLocation + "/fileName.png",
sneakerBackground: "images/" + imageLocation + "/fileName.jpg",
link: rootURL + "name",
}
]