Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
OpenSpace
Commits
6199289e
Commit
6199289e
authored
8 years ago
by
Alexander Bock
Browse files
Options
Download
Email Patches
Plain Diff
Code cleanup
parent
78f2f0a3
Changes
59
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
CMakeLists.txt
+23
-23
CMakeLists.txt
ext/ghoul
+1
-1
ext/ghoul
include/openspace/util/histogram.h
+1
-1
include/openspace/util/histogram.h
modules/base/CMakeLists.txt
+23
-23
modules/base/CMakeLists.txt
modules/base/shaders/pscstandard_fs.glsl
+1
-1
modules/base/shaders/pscstandard_fs.glsl
modules/base/shaders/pscstandard_vs.glsl
+2
-2
modules/base/shaders/pscstandard_vs.glsl
modules/base/shaders/screenspace_fs.glsl
+25
-23
modules/base/shaders/screenspace_fs.glsl
modules/base/shaders/screenspace_vs.glsl
+22
-23
modules/base/shaders/screenspace_vs.glsl
modules/debugging/CMakeLists.txt
+23
-23
modules/debugging/CMakeLists.txt
modules/debugging/rendering/debugshader_fs.glsl
+2
-2
modules/debugging/rendering/debugshader_fs.glsl
modules/debugging/rendering/debugshader_vs.glsl
+2
-2
modules/debugging/rendering/debugshader_vs.glsl
modules/fieldlines/CMakeLists.txt
+23
-23
modules/fieldlines/CMakeLists.txt
modules/fieldlines/shaders/fieldline_fs.glsl
+2
-2
modules/fieldlines/shaders/fieldline_fs.glsl
modules/fieldlines/shaders/fieldline_gs.glsl
+2
-2
modules/fieldlines/shaders/fieldline_gs.glsl
modules/fieldlines/shaders/fieldline_vs.glsl
+2
-2
modules/fieldlines/shaders/fieldline_vs.glsl
modules/galaxy/CMakeLists.txt
+23
-23
modules/galaxy/CMakeLists.txt
modules/globebrowsing/CMakeLists.txt
+23
-23
modules/globebrowsing/CMakeLists.txt
modules/globebrowsing/other/statscollector.inl
+0
-1
modules/globebrowsing/other/statscollector.inl
modules/globebrowsing/shaders/blending.hglsl
+2
-2
modules/globebrowsing/shaders/blending.hglsl
modules/globebrowsing/shaders/ellipsoid.hglsl
+2
-2
modules/globebrowsing/shaders/ellipsoid.hglsl
with
204 additions
and
204 deletions
+204
-204
CMakeLists.txt
+
23
-
23
View file @
6199289e
#########################################################################################
# #
# OpenSpace #
# #
# Copyright (c) 2014-2016 #
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy of this #
# software and associated documentation files (the "Software"), to deal in the Software #
# without restriction, including without limitation the rights to use, copy, modify, #
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the following #
# conditions: #
# #
# The above copyright notice and this permission notice shall be included in all copies #
# or substantial portions of the Software. #
# #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, #
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A #
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT #
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF #
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE #
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #
#########################################################################################
#########################################################################################
#
#
#
# OpenSpace
#
#
#
# Copyright (c) 2014-2016
#
#
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this
#
# software and associated documentation files (the "Software"), to deal in the Software
#
# without restriction, including without limitation the rights to use, copy, modify,
#
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
#
# permit persons to whom the Software is furnished to do so, subject to the following
#
# conditions:
#
#
#
# The above copyright notice and this permission notice shall be included in all copies
#
# or substantial portions of the Software.
#
#
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
#
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
#
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
#
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
#
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
#########################################################################################
#
cmake_minimum_required
(
VERSION 3.4 FATAL_ERROR
)
...
...
This diff is collapsed.
Click to expand it.
ghoul
@
a9a2c04f
Compare
302fca93
...
a9a2c04f
Subproject commit
302fca93671f67464393f9b2059717e00a516002
Subproject commit
a9a2c04f99a3a8dbfb94f3d3268d3fbf20351c2c
This diff is collapsed.
Click to expand it.
include/openspace/util/histogram.h
+
1
-
1
View file @
6199289e
...
...
@@ -2,7 +2,7 @@
* *
* OpenSpace *
* *
* Copyright (c) 201
5
-2017 *
* Copyright (c) 201
4
-2017 *
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
...
...
This diff is collapsed.
Click to expand it.
modules/base/CMakeLists.txt
+
23
-
23
View file @
6199289e
#########################################################################################
# #
# OpenSpace #
# #
# Copyright (c) 2014-201
6
#
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy of this #
# software and associated documentation files (the "Software"), to deal in the Software #
# without restriction, including without limitation the rights to use, copy, modify, #
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the following #
# conditions: #
# #
# The above copyright notice and this permission notice shall be included in all copies #
# or substantial portions of the Software. #
# #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, #
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A #
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT #
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF #
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE #
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #
#########################################################################################
#########################################################################################
#
#
#
# OpenSpace
#
#
#
# Copyright (c) 2014-201
7
#
#
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this
#
# software and associated documentation files (the "Software"), to deal in the Software
#
# without restriction, including without limitation the rights to use, copy, modify,
#
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
#
# permit persons to whom the Software is furnished to do so, subject to the following
#
# conditions:
#
#
#
# The above copyright notice and this permission notice shall be included in all copies
#
# or substantial portions of the Software.
#
#
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
#
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
#
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
#
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
#
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
#########################################################################################
#
include
(
${
OPENSPACE_CMAKE_EXT_DIR
}
/module_definition.cmake
)
...
...
This diff is collapsed.
Click to expand it.
modules/base/shaders/pscstandard_fs.glsl
+
1
-
1
View file @
6199289e
...
...
@@ -2,7 +2,7 @@
* *
* OpenSpace *
* *
* Copyright (c) 2014
*
* Copyright (c) 2014
-2017
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
...
...
This diff is collapsed.
Click to expand it.
modules/base/shaders/pscstandard_vs.glsl
+
2
-
2
View file @
6199289e
...
...
@@ -2,7 +2,7 @@
* *
* OpenSpace *
* *
* Copyright (c) 2014
*
* Copyright (c) 2014
-2017
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
...
...
@@ -54,4 +54,4 @@ void main()
vs_position
=
tmp
;
position
=
ViewProjection
*
position
;
gl_Position
=
z_normalization
(
position
);
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
modules/base/shaders/screenspace_fs.glsl
+
25
-
23
View file @
6199289e
/*****************************************************************************************
* *
* OpenSpace *
* *
* Copyright (c) 2014-2016 *
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
* without restriction, including without limitation the rights to use, copy, modify, *
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to *
* permit persons to whom the Software is furnished to do so, subject to the following *
* conditions: *
* *
* The above copyright notice and this permission notice shall be included in all copies *
* or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, *
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A *
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT *
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF *
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE *
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
****************************************************************************************/
//#version __CONTEXT__
* *
* OpenSpace *
* *
* Copyright (c) 2014-2017 *
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
* without restriction, including without limitation the rights to use, copy, modify, *
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to *
* permit persons to whom the Software is furnished to do so, subject to the following *
* conditions: *
* *
* The above copyright notice and this permission notice shall be included in all copies *
* or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, *
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A *
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT *
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF *
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE *
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
****************************************************************************************/
#version __CONTEXT__
uniform
sampler2D
texture1
;
uniform
float
OcclusionDepth
;
uniform
float
Alpha
;
...
...
This diff is collapsed.
Click to expand it.
modules/base/shaders/screenspace_vs.glsl
+
22
-
23
View file @
6199289e
/*****************************************************************************************
* *
* OpenSpace *
* *
* Copyright (c) 2014-201
6
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
* without restriction, including without limitation the rights to use, copy, modify, *
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to *
* permit persons to whom the Software is furnished to do so, subject to the following *
* conditions: *
* *
* The above copyright notice and this permission notice shall be included in all copies *
* or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, *
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A *
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT *
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF *
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE *
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
****************************************************************************************/
* *
* OpenSpace *
* *
* Copyright (c) 2014-201
7
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
* without restriction, including without limitation the rights to use, copy, modify, *
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to *
* permit persons to whom the Software is furnished to do so, subject to the following *
* conditions: *
* *
* The above copyright notice and this permission notice shall be included in all copies *
* or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, *
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A *
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT *
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF *
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE *
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
****************************************************************************************/
#version __CONTEXT__
...
...
This diff is collapsed.
Click to expand it.
modules/debugging/CMakeLists.txt
+
23
-
23
View file @
6199289e
#########################################################################################
# #
# OpenSpace #
# #
# Copyright (c) 2014-201
6
#
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy of this #
# software and associated documentation files (the "Software"), to deal in the Software #
# without restriction, including without limitation the rights to use, copy, modify, #
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the following #
# conditions: #
# #
# The above copyright notice and this permission notice shall be included in all copies #
# or substantial portions of the Software. #
# #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, #
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A #
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT #
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF #
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE #
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #
#########################################################################################
#########################################################################################
#
#
#
# OpenSpace
#
#
#
# Copyright (c) 2014-201
7
#
#
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this
#
# software and associated documentation files (the "Software"), to deal in the Software
#
# without restriction, including without limitation the rights to use, copy, modify,
#
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
#
# permit persons to whom the Software is furnished to do so, subject to the following
#
# conditions:
#
#
#
# The above copyright notice and this permission notice shall be included in all copies
#
# or substantial portions of the Software.
#
#
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
#
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
#
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
#
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
#
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
#########################################################################################
#
include
(
${
OPENSPACE_CMAKE_EXT_DIR
}
/module_definition.cmake
)
...
...
This diff is collapsed.
Click to expand it.
modules/debugging/rendering/debugshader_fs.glsl
+
2
-
2
View file @
6199289e
...
...
@@ -2,7 +2,7 @@
* *
* OpenSpace *
* *
* Copyright (c) 2014
*
* Copyright (c) 2014
-2017
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
...
...
@@ -35,4 +35,4 @@ Fragment getFragment(){
frag
.
color
=
color
;
frag
.
depth
=
fs_vertexPosition
.
w
;
return
frag
;
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
modules/debugging/rendering/debugshader_vs.glsl
+
2
-
2
View file @
6199289e
...
...
@@ -2,7 +2,7 @@
* *
* OpenSpace *
* *
* Copyright (c) 2014
*
* Copyright (c) 2014
-2017
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
...
...
@@ -33,4 +33,4 @@ out vec4 fs_vertexPosition;
void
main
(){
fs_vertexPosition
=
z_normalization
(
vertexPositionClippingSpace
);
gl_Position
=
fs_vertexPosition
;
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
modules/fieldlines/CMakeLists.txt
+
23
-
23
View file @
6199289e
#########################################################################################
# #
# OpenSpace #
# #
# Copyright (c) 2014-201
5
#
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy of this #
# software and associated documentation files (the "Software"), to deal in the Software #
# without restriction, including without limitation the rights to use, copy, modify, #
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the following #
# conditions: #
# #
# The above copyright notice and this permission notice shall be included in all copies #
# or substantial portions of the Software. #
# #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, #
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A #
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT #
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF #
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE #
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #
#########################################################################################
#########################################################################################
#
#
#
# OpenSpace
#
#
#
# Copyright (c) 2014-201
7
#
#
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this
#
# software and associated documentation files (the "Software"), to deal in the Software
#
# without restriction, including without limitation the rights to use, copy, modify,
#
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
#
# permit persons to whom the Software is furnished to do so, subject to the following
#
# conditions:
#
#
#
# The above copyright notice and this permission notice shall be included in all copies
#
# or substantial portions of the Software.
#
#
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
#
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
#
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
#
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
#
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
#########################################################################################
#
include
(
${
OPENSPACE_CMAKE_EXT_DIR
}
/module_definition.cmake
)
...
...
This diff is collapsed.
Click to expand it.
modules/fieldlines/shaders/fieldline_fs.glsl
+
2
-
2
View file @
6199289e
...
...
@@ -2,7 +2,7 @@
* *
* OpenSpace *
* *
* Copyright (c) 2014
*
* Copyright (c) 2014
-2017
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
...
...
@@ -69,4 +69,4 @@ Fragment getFragment()
// float depth = pscDepth(gs_position);
// ABufferStruct_t frag = createGeometryFragment(fragColor, gs_position, depth);
// addToBuffer(frag);
// }
\ No newline at end of file
// }
This diff is collapsed.
Click to expand it.
modules/fieldlines/shaders/fieldline_gs.glsl
+
2
-
2
View file @
6199289e
...
...
@@ -2,7 +2,7 @@
* *
* OpenSpace *
* *
* Copyright (c) 2014
*
* Copyright (c) 2014
-2017
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
...
...
@@ -96,4 +96,4 @@ void main() {
gs_normal
=
normals
[
2
];
ABufferEmitVertex
(
prismoid
[
2
]);
EndPrimitive
();
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
modules/fieldlines/shaders/fieldline_vs.glsl
+
2
-
2
View file @
6199289e
...
...
@@ -2,7 +2,7 @@
* *
* OpenSpace *
* *
* Copyright (c) 2014
*
* Copyright (c) 2014
-2017
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
...
...
@@ -37,4 +37,4 @@ out vec4 vs_color;
void
main
()
{
vs_color
=
in_color
;
gl_Position
=
vec4
(
in_position
,
0
);
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
modules/galaxy/CMakeLists.txt
+
23
-
23
View file @
6199289e
#########################################################################################
# #
# OpenSpace #
# #
# Copyright (c) 2014-201
5
#
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy of this #
# software and associated documentation files (the "Software"), to deal in the Software #
# without restriction, including without limitation the rights to use, copy, modify, #
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the following #
# conditions: #
# #
# The above copyright notice and this permission notice shall be included in all copies #
# or substantial portions of the Software. #
# #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, #
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A #
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT #
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF #
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE #
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #
#########################################################################################
#########################################################################################
#
#
#
# OpenSpace
#
#
#
# Copyright (c) 2014-201
7
#
#
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this
#
# software and associated documentation files (the "Software"), to deal in the Software
#
# without restriction, including without limitation the rights to use, copy, modify,
#
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
#
# permit persons to whom the Software is furnished to do so, subject to the following
#
# conditions:
#
#
#
# The above copyright notice and this permission notice shall be included in all copies
#
# or substantial portions of the Software.
#
#
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
#
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
#
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
#
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
#
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
#########################################################################################
#
include
(
${
OPENSPACE_CMAKE_EXT_DIR
}
/module_definition.cmake
)
...
...
This diff is collapsed.
Click to expand it.
modules/globebrowsing/CMakeLists.txt
+
23
-
23
View file @
6199289e
#########################################################################################
# #
# OpenSpace #
# #
# Copyright (c) 2014-201
6
#
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy of this #
# software and associated documentation files (the "Software"), to deal in the Software #
# without restriction, including without limitation the rights to use, copy, modify, #
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the following #
# conditions: #
# #
# The above copyright notice and this permission notice shall be included in all copies #
# or substantial portions of the Software. #
# #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, #
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A #
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT #
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF #
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE #
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #
#########################################################################################
#########################################################################################
#
#
#
# OpenSpace
#
#
#
# Copyright (c) 2014-201
7
#
#
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this
#
# software and associated documentation files (the "Software"), to deal in the Software
#
# without restriction, including without limitation the rights to use, copy, modify,
#
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
#
# permit persons to whom the Software is furnished to do so, subject to the following
#
# conditions:
#
#
#
# The above copyright notice and this permission notice shall be included in all copies
#
# or substantial portions of the Software.
#
#
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
#
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
#
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
#
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
#
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
#########################################################################################
#
include
(
${
OPENSPACE_CMAKE_EXT_DIR
}
/module_definition.cmake
)
...
...
This diff is collapsed.
Click to expand it.
modules/globebrowsing/other/statscollector.inl
+
0
-
1
View file @
6199289e
#include "statscollector.h"
/*****************************************************************************************
* *
* OpenSpace *
...
...
This diff is collapsed.
Click to expand it.
modules/globebrowsing/shaders/blending.hglsl
+
2
-
2
View file @
6199289e
...
...
@@ -2,7 +2,7 @@
* *
* OpenSpace *
* *
* Copyright (c) 2014
*
* Copyright (c) 2014
-2017
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
...
...
@@ -145,4 +145,4 @@ vec3 hsv2rgb(vec3 c)
return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);
}
#endif
\ No newline at end of file
#endif
This diff is collapsed.
Click to expand it.
modules/globebrowsing/shaders/ellipsoid.hglsl
+
2
-
2
View file @
6199289e
...
...
@@ -2,7 +2,7 @@
* *
* OpenSpace *
* *
* Copyright (c) 2014
*
* Copyright (c) 2014
-2017
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
* software and associated documentation files (the "Software"), to deal in the Software *
...
...
@@ -103,4 +103,4 @@ Intersection rayIntersectEllipsoid(
return Intersection(true, min(root1, root2), max(root1, root2));
}
#endif // ELLIPSOID_HGLSL
\ No newline at end of file
#endif // ELLIPSOID_HGLSL
This diff is collapsed.
Click to expand it.
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help