- https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/elevation/copernicus-dem/elevation
- http://terrain.party/
- https://tangrams.github.io/heightmapper/
- https://heightmap.skydark.pl/
- https://mapscaping.com/global-elevation-data-download-tool/
- https://portal.opentopography.org/dataCatalog
- https://www.geopogo.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sprite parallax | |
| https://old.reddit.com/r/Unity3D/comments/b5rd4o/simple_parallax_effect_to_use_in_your_games_full/ | |
| screenspace | |
| https://github.com/haolange/Unity_ScreenSpaceTechStack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // RANSAC line fitting 2D | |
| // converted to unity from this pseudocode http://www.visual-experiments.com/demo/ransac.js/ | |
| // USAGE: add some gameobjects as a child of this gameobject, those are considered as the points, then adjust threshold | |
| // https://unitycoder.com/blog/2019/04/04/ransac-2d-line-fitting/ | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEngine; | |
| public class RansacLines : MonoBehaviour |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://forum.unity.com/threads/how-can-i-show-real-time-gps-coordinates-on-a-terrain-created-at-unity.643471/#post-4437667 | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using Unity.Mathematics; | |
| [System.Serializable] | |
| public struct Coordinate | |
| { | |
| #region FIELDS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://forum.unity.com/threads/render-to-texture-without-a-camera.235053/#post-4464151 | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class RenderToTextureWithoutCamera : MonoBehaviour | |
| { | |
| public Material material; | |
| public RenderTexture rt; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // No ui interaction action has been set on this component. | |
| Need to use correct(custom) SteamVR_LaserPointer.cs ?? | |
| // view steamvr plugin version | |
| check Assets/SteamVR/readme.txt | |
| // hands are not moving | |
| check if missing StreamingAssets\SteamVR\ json files? | |
| // clear teleport marker, after teleport (using separate invisible highlight material as default) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // unity ray marching with sphere marching : https://unitycoder.com/blog/2019/05/06/ray-marching/ | |
| // based on Ray Marching tutorial from The Coding Train https://www.youtube.com/watch?v=-6iIc6-Y-kk | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class RayMarchingSpheres : MonoBehaviour | |
| { | |
| // place spheres under this root gameobject |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blender srgb + aces: | |
| https://www.youtube.com/watch?v=m9AT7H4GGrA | |
| http://vizguy.com/resources/linear-workflow/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // make the SteamVR_LaserPointer.scene actually work | |
| // https://answers.unity.com/questions/1600790/how-to-implement-steamvr-laser-pointer.html?childToView=1622254#answer-1622254 | |
| using UnityEngine; | |
| using UnityEngine.EventSystems; | |
| using Valve.VR.Extras; | |
| public class SteamVRLaserWrapper : MonoBehaviour | |
| { | |
| private SteamVR_LaserPointer steamVrLaserPointer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Tracking cursor position in real-time without JavaScript | |
| // Demo: https://twitter.com/davywtf/status/1124146339259002881 | |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "strings" | |
| ) |