multimodalart HF Staff commited on
Commit
4d29c87
·
verified ·
1 Parent(s): ce45334

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -327,12 +327,12 @@ class CameraControl3D(gr.HTML):
327
 
328
  // Camera model
329
  const cameraGroup = new THREE.Group();
330
- const bodyMat = new THREE.MeshStandardMaterial({ color: 0x333333, metalness: 0.8, roughness: 0.2 });
331
  const body = new THREE.Mesh(new THREE.BoxGeometry(0.3, 0.22, 0.38), bodyMat);
332
  cameraGroup.add(body);
333
  const lens = new THREE.Mesh(
334
  new THREE.CylinderGeometry(0.09, 0.11, 0.18, 16),
335
- new THREE.MeshStandardMaterial({ color: 0x111111, metalness: 0.9, roughness: 0.1 })
336
  );
337
  lens.rotation.x = Math.PI / 2;
338
  lens.position.z = 0.26;
 
327
 
328
  // Camera model
329
  const cameraGroup = new THREE.Group();
330
+ const bodyMat = new THREE.MeshStandardMaterial({ color: 0x6699cc, metalness: 0.5, roughness: 0.3 });
331
  const body = new THREE.Mesh(new THREE.BoxGeometry(0.3, 0.22, 0.38), bodyMat);
332
  cameraGroup.add(body);
333
  const lens = new THREE.Mesh(
334
  new THREE.CylinderGeometry(0.09, 0.11, 0.18, 16),
335
+ new THREE.MeshStandardMaterial({ color: 0x334455, metalness: 0.9, roughness: 0.1 })
336
  );
337
  lens.rotation.x = Math.PI / 2;
338
  lens.position.z = 0.26;