GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — surrender_scenarios/gen_input_fromIMG.sh at master · SurRenderSoftware/surrender_scenarios

Expand file tree

/

gen_input_fromIMG.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
20 lines (16 loc) · 1.14 KB
/

gen_input_fromIMG.sh

Copy path

File metadata and controls

20 lines (16 loc) · 1.14 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## GENERATING SURRENDER INPUT FROM NASA PDS DATA
# INPUT: FullMoon.img is the LRO/LOLA DEM dataset available at 118m for the entire Moon
# (see NASA PDS and Barker et al. 2016 (Icarus vol. 273)
#
# The script will generate heightmaps and conemaps in surrender .big format in double precision
# For computing and memory efficiency, an additional step is taken to convert this data in SurRender cf and half-float format respectively
# Generate conemaps and elevation maps in .big
# will create files FullMoon.dem, FullMoon_heightmap.big and FullMoon_conemap.big
./bin/build_conemap_spherical ./DATA/FullMoon.img ./DEM/FullMoon.dem
# Convert textures in half-precision (optional)
./bin/big_texture_converter_to_CF ./DATA/FullMoon_heightmap.big ./textures/FullMoon_heightmap_cf.big
./bin/big_texture_converter_to_half ./DATA/FullMoon_conemap.big ./textures/FullMoon_conemap_half.big
# ! You must edit the file ./DEM/FullMoon.dem to control paths
echo "! You must edit the file ./DEM/FullMoon.dem to control paths !"
# Convert albedo map
./bin/big_texture_builder ./DATA/Kaguya_MI_refl_b2_750nm_global_128ppd.tif ./textures/Kaguya_MI_refl_b2_750nm_global_128ppd.big
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.