scene = new THREE.Scene()
using scene.add(x)
? x = new THREE.Mesh();
x = new THREE.SpotLight();
x = new THREE.PerspectiveCamera();
x = new THREE.BoxGeometry();
x = new THREE.MeshPhongMaterial();
light.target = new THREE.Object3D();
? HemisphereLight
does not have a target. light = new THREE.DirectionalLight();
light = new THREE.SpotLight();
light = new THREE.HemisphereLight();
light = new THREE.PointLight();
light = new THREE.AmbientLight();
light = new THREE.PointLight("white", 1, 5)
and a sphere = new THREE.Mesh(new THREE.SphereGeometry(1), new THREE.MeshStandardMaterial());
, which of the following positions of the sphere result in the sphere being (partially) visible? sphere.position.set(1, 2, 3);
sphere.position.set(2, 2, 2);
sphere.position.set(5, 0, 0);
sphere.position.set(5, 5, 0);
sphere.position.set(5, 5, 5);
mesh = new THREE.Mesh(new THREE.SphereGeometry(1), new THREE.MeshStandardMaterial());
depends on which of the following? Assume light = new THREE.PointLight();
and mesh
is visible under light
. mesh.material.roughness
mesh.material.metalness
light.color
light.intensity
mesh.material.shininess
material = new THREE.MeshStandardMaterial(x);
show specular reflection of a light = new THREE.PointLight();
on the surface of a sphere = new THREE.Mesh(new THREE.SphereGeometry(1), material);
? x = {roughness: 0.5, metalness: 0.5}
x = {roughness: 0, metalness: 1}
x = {roughness: 0.75, metalness: 0.25}
x = {roughness: 0.25, metalness: 0.75}
x = {roughness: 1, metalness: 0}
camera = new OrthographicCamera(5, -5, 5, -5, 0, 10);
? Suppose s1 = new THREE.Mesh(new THREE.SphereGeometry(1), new MeshBasicMaterial());
and s2 = new THREE.Mesh(new THREE.SphereGeometry(2), new MeshBasicMaterial());
s2.position.set(0, 0, 5);
s2.position.set(0, 0, 10);
s1.position.set(0, 0, 5);
s1.position.set(0, 0, 10);
s2.position.set(0, 0, 15);
camera = new PerspectiveCamera(45, 1, 2, 4);
with camera.position.set(0, 0, 0);
and camera.lookAt(0, 0, 1);
? THREE.Vector3(0, 0, 3)
THREE.Vector3(0, 0, 6)
THREE.Vector3(0, 0, 1)
THREE.Vector3(0, 0, 0)
THREE.Vector3(0, 0, -3)
camera = new PerspectiveCamera();
to look at the position Vector3(1, 1, 1)
? Suppose box = new THREE.Mesh();
with box.position.set(1, 1, 1);
and scene.add(box);
. camera.lookAt(1, 1, 1);
camera.lookAt(new Vector3(1, 1, 1));
camera.lookAt(box.position);
camera.lookAt(box);
camera.lookAt(box.parent);
Last Updated: November 30, 2024 at 4:35 AM