Skip to content
Snippets Groups Projects
Commit f5108d86 authored by Xavier Gibert's avatar Xavier Gibert
Browse files

reverted debug options changed

parent a871c917
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ This three.js demo is part of a collection at ...@@ -152,7 +152,7 @@ This three.js demo is part of a collection at
var show_fps = true;//Show FPS stats in Android var show_fps = true;//Show FPS stats in Android
var fps_update_skips = 60; var fps_update_skips = 60;
var show_sky = false;//REVERT var show_sky = true;
var show_sphere = true; var show_sphere = true;
var show_mini_spheres = true; var show_mini_spheres = true;
var show_circles = true; var show_circles = true;
...@@ -162,7 +162,7 @@ This three.js demo is part of a collection at ...@@ -162,7 +162,7 @@ This three.js demo is part of a collection at
var show_planes = true; var show_planes = true;
var plane_xy_color = 0xFF0000; var plane_xy_color = 0xFF0000;
var plane_orb_color = 0x00FF00; var plane_orb_color = 0x00FF00;
var show_inclination = true;//XGGDEBUG: add these preferences in android var show_inclination = true;// depends on show_planes, called: show orbit-xy planes //XGGDEBUG: add these preferences in android
var show_spacecraft = true;//If set to false, instead of a S/C it will be a miniSphere in the reference position. var show_spacecraft = true;//If set to false, instead of a S/C it will be a miniSphere in the reference position.
var show_sc_axis = true; var show_sc_axis = true;
...@@ -171,7 +171,7 @@ This three.js demo is part of a collection at ...@@ -171,7 +171,7 @@ This three.js demo is part of a collection at
var show_sun = true; var show_sun = true;
var sun_rotates = true; var sun_rotates = true;
var sun_rotation_speed = 5;//Rotation speed multiplier [0->9] var sun_rotation_speed = 5;//Rotation speed multiplier [0->9]
var show_sun_texture = false;//REVERT var show_sun_texture = true;
var sun_simple_glow = true;//Recomended to not use the shader glow, problems in android var sun_simple_glow = true;//Recomended to not use the shader glow, problems in android
var sun_show_line = true; var sun_show_line = true;
var sun_show_dist = true; var sun_show_dist = true;
...@@ -179,7 +179,7 @@ This three.js demo is part of a collection at ...@@ -179,7 +179,7 @@ This three.js demo is part of a collection at
var show_earth = true; var show_earth = true;
var earth_rotates = true; var earth_rotates = true;
var earth_rotation_speed = 2;//Rotation speed multiplier [0->9] var earth_rotation_speed = 2;//Rotation speed multiplier [0->9]
var show_earth_texture = false;//REVERT var show_earth_texture = true;
var earth_show_line = true; var earth_show_line = true;
var earth_show_dist = true; var earth_show_dist = true;
...@@ -199,8 +199,7 @@ This three.js demo is part of a collection at ...@@ -199,8 +199,7 @@ This three.js demo is part of a collection at
var show_direction_a = false; var show_direction_a = false;
var color_direction_a = 0xffff00;Math.asin var color_direction_a = 0xffff00;Math.asin
//REVERT to 3 var performance_level = 3;//1: VeryLow, 2: Low, 3: Normal, 4: High, 5: VeryHigh, 6: Ultra ...;
var performance_level = 1;//1: VeryLow, 2: Low, 3: Normal, 4: High, 5: VeryHigh, 6: Ultra ...;
getInitialization();//If used in Android, update the init params with the Android configuration getInitialization();//If used in Android, update the init params with the Android configuration
......
...@@ -283,14 +283,14 @@ function init() ...@@ -283,14 +283,14 @@ function init()
if(show_planes){ if(show_planes){
//XY plane //XY plane
var material_plane_xy = new THREE.MeshPhongMaterial({color: plane_xy_color, transparent: true, depthWrite: false, depthTest: false, alphaTest: 0.1, opacity: 0.2, side: THREE.DoubleSide }); var material_plane_xy = new THREE.MeshPhongMaterial({color: plane_xy_color, transparent: true/*, depthWrite: false, depthTest: false, alphaTest: 0.1*/, opacity: 0.2, side: THREE.DoubleSide });
var plane_xy = new THREE.Mesh( new THREE.RingGeometry( sphere_radius, planes_width, plane_theta_seg, plane_phi_seg, 0, Math.PI * 2 ), material_plane_xy ); var plane_xy = new THREE.Mesh( new THREE.RingGeometry( sphere_radius, planes_width, plane_theta_seg, plane_phi_seg, 0, Math.PI * 2 ), material_plane_xy );
plane_xy.position.set( 0, 0, 0 ); plane_xy.position.set( 0, 0, 0 );
scene.add( plane_xy ); scene.add( plane_xy );
//Orbital plane //Orbital plane
var material_plane_orb = new THREE.MeshPhongMaterial({color: plane_orb_color, transparent: true, depthWrite: false, depthTest: false, alphaTest: 0.1, opacity: 0.2, side: THREE.DoubleSide }); var material_plane_orb = new THREE.MeshPhongMaterial({color: plane_orb_color, transparent: true/*, depthWrite: false, depthTest: false, alphaTest: 0.1*/, opacity: 0.2, side: THREE.DoubleSide });
plane_orb = new THREE.Mesh( new THREE.RingGeometry( sphere_radius, planes_width, plane_theta_seg, plane_phi_seg, 0, Math.PI * 2 ), material_plane_orb ); plane_orb = new THREE.Mesh( new THREE.RingGeometry( sphere_radius, planes_width, plane_theta_seg, plane_phi_seg, 0, Math.PI * 2 ), material_plane_orb );
plane_orb.position.set( 0, 0, 0 ); plane_orb.position.set( 0, 0, 0 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment