Is it possible for users to manually manipulate a 3D object on my website that was created in Blender and exported in JSON format using this exporter? I want them to be able to adjust the Length, Width, and Height of the object. For instance, I have this basic cube in JSON format:
{
"metadata": {
"generator": "io_three",
"type": "Geometry",
"vertices": 8,
"faces": 6,
"uvs": 0,
"normals": 8,
"version": 3
},
"uvs": [],
"name": "CubeGeometry",
"faces": [33,0,1,2,3,0,1,2,3,33,4,7,6,5,4,5,6,7,33,0,4,5,1,0,4,7,1,33,1,5,6,2,1,7,6,2,33,2,6,7,3,2,6,5,3,33,4,0,3,7,4,0,3,5],
"normals": [0.577349,-0.577349,-0.577349,0.577349,-0.577349,0.577349,-0.577349,-0.577349,0.577349,-0.577349,-0.577349,-0.577349,0.577349,0.577349,-0.577349,-0.577349,0.577349,-0.577349,-0.577349,0.577349,0.577349,0.577349,0.577349,0.577349],
"vertices": [1,-1,-1,1,-1,1,-1,-1,1,-1,-1,-1,1,1,-1,0.999999,1,1,-1,1,1,-1,1,-1]
}
I am looking for a way for users to input numeric values in a form to change the dimensions of the object, rather than using drag with the mouse.
Thank you!