var camera = new THREE.PerspectiveCamera(
35, // Field of view
800 / 640, // Aspect ratio
.1, // Near
10000 // Far
);
var cube = new THREE.Mesh(
new THREE.CubeGeometry( 5, 5, 5 ),
new THREE.MeshLambertMaterial( { color: 0xFF0000 } )
);
In camera, what is the unit for Near and Far parameters.
In Cube what is the unit of the parameters for CubeGeometry
Please point me to the url where, i can find details about
Object space - (the local axis used to draw an object) World space - (the global axis)
The official answer is that ThreeJS uses SI units for all measures, see here:
https://github.com/mrdoob/three.js/issues/6259
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With