From 03378eb4e1ec1698fa3a9291d30aea1bb82b2f3c Mon Sep 17 00:00:00 2001 From: Emilie Date: Mon, 3 Aug 2020 10:58:01 +0200 Subject: [PATCH] Added arrays of interesting streams close to Earth --- ext/ghoul | 2 +- modules/streamnodes/shaders/streamnodes_vs.glsl | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ext/ghoul b/ext/ghoul index d35be27b61..5bc2bf0b9b 160000 --- a/ext/ghoul +++ b/ext/ghoul @@ -1 +1 @@ -Subproject commit d35be27b61140e76d8283999d9faee16977b1bfc +Subproject commit 5bc2bf0b9bf6d5cc81ae9fc97116abadaf1d81ab diff --git a/modules/streamnodes/shaders/streamnodes_vs.glsl b/modules/streamnodes/shaders/streamnodes_vs.glsl index cbdc5cb86f..50bfee94a7 100644 --- a/modules/streamnodes/shaders/streamnodes_vs.glsl +++ b/modules/streamnodes/shaders/streamnodes_vs.glsl @@ -355,12 +355,18 @@ void main() { //vs_color = vec4(0.18, 0.18, 0.18, 1*fluxColorAlpha); vs_color = vec4(0); - - float interestingStreams[8] = float[](339, 340, 351, 352, 353, 354, 366, 367); + + // Close to Earth (384 nodes) + //float interestingStreams[8] = float[](339, 340, 351, 352, 353, 354, 366, 367); //float interestingStreams[6] = float[](154, 156, 153, 157, 158, 163); - //float interestingStreams[26] = float[](135, 138, 145, 146, 147, 149, 153, 154, 155, 156, 157, 158, 159, 160, 167, 163, - //168, 169, 170, 172, 174, 180, 181, 183, 356, 364); + //float interestingStreams[26] = float[](135, 138, 145, 146, 147, 149, 153, 154, 155, 156, 157, 158, 159, 160, 167, 163, 168, 169, 170, 172, 174, 180, 181, 183, 356, 364); //float interestingStreams[3] = float[](37, 154, 210); + + // Close to Earth (863 nodes) + //float interestingStreams[7] = float[](340, 350, 351, 352, 353, 363, 364); + //float interestingStreams[10] = float[](339, 340, 350, 351, 352, 353, 362, 363, 364, 365); + float interestingStreams[20] = float[](326, 327, 328, 329, 338, 339, 340, 341, 350, 351, 352, 353, 362, 363, 364, 365, 374, 375, 376, 377); + for(int i = 0; i < interestingStreams.length(); i++){ if(Streamnumber == interestingStreams[i]){ if(CheckvertexIndex()){