Winston Hoy bu gisti düzenledi 2 years ago. Düzenlemeye git
2 files changed, 213 insertions
remote projection.json (dosya oluşturuldu)
| @@ -0,0 +1,134 @@ | |||
| 1 | + | { | |
| 2 | + | "assets": [ | |
| 3 | + | "base", | |
| 4 | + | "base_keybindings", | |
| 5 | + | "default_keybindings", | |
| 6 | + | "events/toggle_all_trails", | |
| 7 | + | "events/toggle_sun", | |
| 8 | + | "scene/milkyway/gaia/apogee", | |
| 9 | + | "scene/milkyway/gaia/gaiastars", | |
| 10 | + | "scene/milkyway/gaia/galah", | |
| 11 | + | "scene/milkyway/objects/orionnebula/orionnebula", | |
| 12 | + | "scene/solarsystem/dwarf_planets/ceres/ceres", | |
| 13 | + | "scene/solarsystem/dwarf_planets/ceres/default_layers", | |
| 14 | + | "scene/solarsystem/dwarf_planets/ceres/trail", | |
| 15 | + | "scene/solarsystem/dwarf_planets/eris/eris", | |
| 16 | + | "scene/solarsystem/dwarf_planets/gonggong/gonggong", | |
| 17 | + | "scene/solarsystem/dwarf_planets/haumea/haumea", | |
| 18 | + | "scene/solarsystem/dwarf_planets/makemake/makemake", | |
| 19 | + | "scene/solarsystem/dwarf_planets/orcus/orcus", | |
| 20 | + | "scene/solarsystem/dwarf_planets/quaoar/quaoar", | |
| 21 | + | "scene/solarsystem/dwarf_planets/sedna/sedna", | |
| 22 | + | "scene/solarsystem/dwarf_planets/vesta/vesta", | |
| 23 | + | "scene/solarsystem/planets/earth/earth", | |
| 24 | + | "scene/solarsystem/planets/earth/satellites/satellites", | |
| 25 | + | "scene/solarsystem/planets/jupiter/major_moons", | |
| 26 | + | "scene/solarsystem/planets/jupiter/minor_moons", | |
| 27 | + | "scene/solarsystem/planets/neptune/major_moons", | |
| 28 | + | "scene/solarsystem/planets/neptune/minor_moons", | |
| 29 | + | "scene/solarsystem/planets/saturn/major_moons", | |
| 30 | + | "scene/solarsystem/planets/saturn/minor_moons", | |
| 31 | + | "scene/solarsystem/planets/uranus/major_moons", | |
| 32 | + | "scene/solarsystem/planets/uranus/minor_moons", | |
| 33 | + | "util/joysticks/xbox-360", | |
| 34 | + | "${USER_ASSETS}/nyc3dmodel/lowerManAuto", | |
| 35 | + | "${USER_ASSETS}/nyc3dmodel/nyc3dmodel", | |
| 36 | + | "${USER_ASSETS}/nyc3dmodel/upperManAuto" | |
| 37 | + | ], | |
| 38 | + | "camera": { | |
| 39 | + | "altitude": 17000000.0, | |
| 40 | + | "anchor": "Earth", | |
| 41 | + | "latitude": 58.5877, | |
| 42 | + | "longitude": 16.1924, | |
| 43 | + | "type": "goToGeo" | |
| 44 | + | }, | |
| 45 | + | "delta_times": [ | |
| 46 | + | 1.0, | |
| 47 | + | 5.0, | |
| 48 | + | 30.0, | |
| 49 | + | 60.0, | |
| 50 | + | 300.0, | |
| 51 | + | 1800.0, | |
| 52 | + | 3600.0, | |
| 53 | + | 43200.0, | |
| 54 | + | 86400.0, | |
| 55 | + | 604800.0, | |
| 56 | + | 1209600.0, | |
| 57 | + | 2592000.0, | |
| 58 | + | 5184000.0, | |
| 59 | + | 7776000.0, | |
| 60 | + | 15552000.0, | |
| 61 | + | 31536000.0, | |
| 62 | + | 63072000.0, | |
| 63 | + | 157680000.0, | |
| 64 | + | 315360000.0, | |
| 65 | + | 630720000.0 | |
| 66 | + | ], | |
| 67 | + | "keybindings": [ | |
| 68 | + | { | |
| 69 | + | "action": "os.solarsystem.ToggleSatelliteTrails", | |
| 70 | + | "key": "S" | |
| 71 | + | }, | |
| 72 | + | { | |
| 73 | + | "action": "os.solarsystem.FocusIss", | |
| 74 | + | "key": "I" | |
| 75 | + | }, | |
| 76 | + | { | |
| 77 | + | "action": "os.solarsystem.FocusEarth", | |
| 78 | + | "key": "HOME" | |
| 79 | + | } | |
| 80 | + | ], | |
| 81 | + | "mark_nodes": [ | |
| 82 | + | "Mercury", | |
| 83 | + | "Venus", | |
| 84 | + | "Earth", | |
| 85 | + | "Moon", | |
| 86 | + | "Moon", | |
| 87 | + | "Mars", | |
| 88 | + | "Saturn", | |
| 89 | + | "Jupiter", | |
| 90 | + | "Uranus", | |
| 91 | + | "Neptune", | |
| 92 | + | "Pluto", | |
| 93 | + | "Sun" | |
| 94 | + | ], | |
| 95 | + | "meta": { | |
| 96 | + | "author": "OpenSpace Team", | |
| 97 | + | "description": "Default OpenSpace Profile. Adds Earth satellites not contained in other profiles", | |
| 98 | + | "license": "MIT License", | |
| 99 | + | "name": "Default", | |
| 100 | + | "url": "https://www.openspaceproject.com", | |
| 101 | + | "version": "1.0" | |
| 102 | + | }, | |
| 103 | + | "properties": [ | |
| 104 | + | { | |
| 105 | + | "name": "{earth_satellites}.Renderable.Enabled", | |
| 106 | + | "type": "setPropertyValue", | |
| 107 | + | "value": "false" | |
| 108 | + | }, | |
| 109 | + | { | |
| 110 | + | "name": "Modules.CefWebGui.Visible", | |
| 111 | + | "type": "setPropertyValueSingle", | |
| 112 | + | "value": "false" | |
| 113 | + | }, | |
| 114 | + | { | |
| 115 | + | "name": "Dashboard.IsEnabled", | |
| 116 | + | "type": "setPropertyValueSingle", | |
| 117 | + | "value": "false" | |
| 118 | + | }, | |
| 119 | + | { | |
| 120 | + | "name": "Scene.GaiaStars.Renderable.Enabled", | |
| 121 | + | "type": "setPropertyValueSingle", | |
| 122 | + | "value": "false" | |
| 123 | + | } | |
| 124 | + | ], | |
| 125 | + | "time": { | |
| 126 | + | "is_paused": false, | |
| 127 | + | "type": "relative", | |
| 128 | + | "value": "-1d" | |
| 129 | + | }, | |
| 130 | + | "version": { | |
| 131 | + | "major": 1, | |
| 132 | + | "minor": 3 | |
| 133 | + | } | |
| 134 | + | } | |
uhd-projection.json(dosya oluşturuldu)
| @@ -0,0 +1,79 @@ | |||
| 1 | + | { | |
| 2 | + | "generator": { | |
| 3 | + | "major": 1, | |
| 4 | + | "minor": 1, | |
| 5 | + | "name": "SgctWindowConfig" | |
| 6 | + | }, | |
| 7 | + | "masteraddress": "localhost", | |
| 8 | + | "nodes": [ | |
| 9 | + | { | |
| 10 | + | "address": "localhost", | |
| 11 | + | "port": 20401, | |
| 12 | + | "windows": [ | |
| 13 | + | { | |
| 14 | + | "border": false, | |
| 15 | + | "draw2d": true, | |
| 16 | + | "draw3d": true, | |
| 17 | + | "fullscreen": true, | |
| 18 | + | "id": 0, | |
| 19 | + | "monitor": 0, | |
| 20 | + | "name": "Remote UHD projection", | |
| 21 | + | "pos": { | |
| 22 | + | "x": 0, | |
| 23 | + | "y": 0 | |
| 24 | + | }, | |
| 25 | + | "size": { | |
| 26 | + | "x": 3840, | |
| 27 | + | "y": 2160 | |
| 28 | + | }, | |
| 29 | + | "viewports": [ | |
| 30 | + | { | |
| 31 | + | "pos": { | |
| 32 | + | "x": 0.0, | |
| 33 | + | "y": 0.0 | |
| 34 | + | }, | |
| 35 | + | "projection": { | |
| 36 | + | "fov": { | |
| 37 | + | "down": 25.264999389648438, | |
| 38 | + | "left": 40.0, | |
| 39 | + | "right": 40.0, | |
| 40 | + | "up": 25.264999389648438 | |
| 41 | + | }, | |
| 42 | + | "type": "PlanarProjection" | |
| 43 | + | }, | |
| 44 | + | "size": { | |
| 45 | + | "x": 1.0, | |
| 46 | + | "y": 1.0 | |
| 47 | + | }, | |
| 48 | + | "tracked": true | |
| 49 | + | } | |
| 50 | + | ] | |
| 51 | + | } | |
| 52 | + | ] | |
| 53 | + | } | |
| 54 | + | ], | |
| 55 | + | "scene": { | |
| 56 | + | "orientation": { | |
| 57 | + | "w": 0.0, | |
| 58 | + | "x": 0.0, | |
| 59 | + | "y": 0.0, | |
| 60 | + | "z": 0.0 | |
| 61 | + | } | |
| 62 | + | }, | |
| 63 | + | "settings": { | |
| 64 | + | "display": { | |
| 65 | + | "swapinterval": 1 | |
| 66 | + | } | |
| 67 | + | }, | |
| 68 | + | "users": [ | |
| 69 | + | { | |
| 70 | + | "eyeseparation": 0.06499999761581421, | |
| 71 | + | "pos": { | |
| 72 | + | "x": 0.0, | |
| 73 | + | "y": 0.0, | |
| 74 | + | "z": 0.0 | |
| 75 | + | } | |
| 76 | + | } | |
| 77 | + | ], | |
| 78 | + | "version": 1 | |
| 79 | + | } | |
Winston Hoy bu gisti düzenledi 2 years ago. Düzenlemeye git
3 files changed, 40 insertions
project-openspace.sh(dosya oluşturuldu)
| @@ -0,0 +1,33 @@ | |||
| 1 | + | #! /usr/bin/env bash | |
| 2 | + | ||
| 3 | + | function cleanup() { | |
| 4 | + | echo 'restoring mouse cursor' | |
| 5 | + | killall xbanish | |
| 6 | + | ||
| 7 | + | echo 'restoring desktop monitor' | |
| 8 | + | /usr/local/bin/unprojectorify.sh | |
| 9 | + | ||
| 10 | + | echo 'restoring screen blank and suspend on idle' | |
| 11 | + | gsettings set org.gnome.desktop.session idle-delay 120 | |
| 12 | + | gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'suspend' | |
| 13 | + | } | |
| 14 | + | ||
| 15 | + | trap cleanup SIGINT | |
| 16 | + | ||
| 17 | + | export DISPLAY=:1 | |
| 18 | + | ||
| 19 | + | echo 'use HDMI display only and send audio there' | |
| 20 | + | /usr/local/bin/projectorify.sh | |
| 21 | + | ||
| 22 | + | echo 'disabling screen blanking and suspend on idle' | |
| 23 | + | gsettings set org.gnome.desktop.session idle-delay 0 | |
| 24 | + | gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing' | |
| 25 | + | ||
| 26 | + | echo 'hiding mouse cursor' | |
| 27 | + | xbanish -a & | |
| 28 | + | ||
| 29 | + | echo 'launching OpenSpace' | |
| 30 | + | cd ~/Sites/src/OpenSpace | |
| 31 | + | ./bin/OpenSpace -b -p './user/data/profiles/remote projection.profile' -c ./user/config/uhd-projection.json | |
| 32 | + | ||
| 33 | + | cleanup | |
projectorify.sh(dosya oluşturuldu)
| @@ -0,0 +1,4 @@ | |||
| 1 | + | #! /usr/bin/env bash | |
| 2 | + | ||
| 3 | + | xrandr --output HDMI-0 --auto --mode 3840x2160 --primary --output DP-4 --off | |
| 4 | + | pactl set-default-sink alsa_output.pci-0000_07_00.1.hdmi-surround-extra2 | |
unprojectorify.sh(dosya oluşturuldu)
| @@ -0,0 +1,3 @@ | |||
| 1 | + | #! /usr/bin/env bash | |
| 2 | + | ||
| 3 | + | xrandr --output DP-4 --auto --primary --output HDMI-0 --off | |