How to use the AxisHelper function from three
Find comprehensive JavaScript three.AxisHelper code examples handpicked from public code repositorys.
46 47 48 49 50 51 52 53 54
strategy: 'Proxy Geometry' } gui.add(options, 'strategy', ['Proxy Geometry', 'Ray Marching']); scene.add(new THREE.AxisHelper(20)); scene.add(new THREE.DirectionalLight(0xffffff, 1)); var proxyGeometry = new ProxyGeometry();
11
3
6
GitHub: amatelus/paintcoin
51 52 53 54 55 56 57 58 59 60
this.play(); } initScene() { this.scene = new THREE.Scene(); // this.scene.add(new THREE.AxisHelper(RADIUS * 3)); } initMaterial() { const loader = new THREE.CubeTextureLoader();
2
3
2
+ 5 other calls in file
51 52 53 54 55 56 57 58 59
// light.shadowMapWidth = 4096; // light.shadowMapHeight = 4096; light.position.set(camera.position.x, camera.position.y, camera.position.z); scene.add(light); var axis = new THREE.AxisHelper(100 ); scene.add(axis); var level;
0
3
2
+ 5 other calls in file
42 43 44 45 46 47 48 49 50 51
var light = new THREE.PointLight(0xffffff, 0.5, 10000); light.position.set(camera.position.x, camera.position.y, camera.position.z); scene.add(light); var axis = new THREE.AxisHelper(100); scene.add(axis); var level = new Level('wall'); var moveable, model;
0
3
2
104 105 106 107 108 109 110 111 112 113
this.props.movingAlphaTest, this.moving_group) this.moving_group.name = "MovingCoordinates"; this.moving_rotate_group.add(this.moving_group) this.moving_frame_group.add(this.moving_rotate_group) this.axis_helper = new THREE.AxisHelper(2000) this.axis_helper.position.set( this.props.movingState.center.x, this.props.movingState.center.y, this.props.movingState.center.z
0
0
4
+ 3 other calls in file
GitHub: mikkoh/Celestia
63 64 65 66 67 68 69 70 71 72
pivot.rotation.y = 0; pivot.add(moon); parent.add(pivot); scene.add(new THREE.AxisHelper(100)); var floorTexture = new THREE.ImageUtils.loadTexture('../data/images/heightmap.png'); floorTexture.wrapS = floorTexture.wrapT = THREE.RepeatWrapping;
0
0
2
GitHub: Saykrd/Animyst
117 118 119 120 121 122 123 124 125 126
this.stage.addChild(graphics); this.uiRenderer.render(this.stage);*/ if(params.addAxis){ var axis = new THREE.AxisHelper(20); this.scene.add(axis); } if(params.debugControls){
0
0
2
three.Vector3 is the most popular function in three (22341 examples)