So basically, if I had two chairs created in Blender, which has real-world scales set.
Here’s an example
“Small Chair” is 1.5 metres tall.
“Big Chair” is 25 metres tall.
Three will see "Small Chair"s scale as 1. Three will also see "Big Chair"s scale as 1. Is there a unit that see’s the difference (world scale?)
Here’s what I’m trying to achieve. Say I have a cube in my initial scene. This cube is in theory 1 metre tall and its scale is 1,1,1.
If I import either of my chairs, what property am I looking to alter to make both my chairs be the same height as the cube, as each other, and its height equal to the independent unit ‘1’.
Thanks, but what if I don’t know what Big Chairs scale is? What if the model is supplied by a download on some CAD website, and I don’t know the scale (or better yet, the end user of the tool I’m creating) doesn’t know the scale of that object before loading it?
One idea I had was to have an invisible imposter box in the scene that I copy the scale from, but I don’t know if that’s a thing or if it’d even work.
No
I’ve done something wrong.
This line var scaleVec = new THREE.Vector3().divide( size );
must be like this: var scaleVec = new THREE.Vector3( 1, 1, 1 ).divide( size );