Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Stavor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Orekit
Stavor
Commits
f5108d86
Commit
f5108d86
authored
10 years ago
by
Xavier Gibert
Browse files
Options
Downloads
Patches
Plain Diff
reverted debug options changed
parent
a871c917
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/www/index.html
+5
-6
5 additions, 6 deletions
assets/www/index.html
assets/www/init.js
+2
-2
2 additions, 2 deletions
assets/www/init.js
with
7 additions
and
8 deletions
assets/www/index.html
+
5
−
6
View file @
f5108d86
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
assets/www/init.js
+
2
−
2
View file @
f5108d86
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment