Skip to content

Commit

Permalink
PCD file can change color after moving the object, but clicking mouse…
Browse files Browse the repository at this point in the history
… is not working yet
  • Loading branch information
Zvyozdo4ka committed Aug 25, 2021
1 parent 2908a70 commit af54f8f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions task4-pcd-load.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
scene = new THREE.Scene();

// Init camera
camera = new CinematicCamera(
60, //field of view in degrees
window.innerWidth / window.innerHeight, //aspect ratio - соотношение сторон
1, // near clip frame - the coordinate of starting point to view on Z axe for frame, z=-n
1000 //far clip frame, z=-f, z=x=y=0 - view/eye point, frustum view - truncated pyramid - усеченная пирамида
);
camera.setLens( 5 );
camera.position.set( 2, 1, 500 );
camera = new THREE.PerspectiveCamera( // value in documentation, by default, almost always
30, //field of view in degrees
window.innerWidth / window.innerHeight, //aspect ratio - соотношение сторон
Expand Down

0 comments on commit af54f8f

Please sign in to comment.