Editing User:TheMooseIsLoose

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
  
== Blue Sky Noise Mapping Tutorial [Part 1/3] ''draft''  ==
+
== Blue Sky Noise Mapping Tutorial [Part 1/2] ''draft''  ==
  
 
-Uses terresculptor for heightmap work and gimp for diffuse texture, relies on SSMF for materializing
 
-Uses terresculptor for heightmap work and gimp for diffuse texture, relies on SSMF for materializing
 
 
-all free! (but not all foss)
 
-all free! (but not all foss)
  
 
== Primer ==
 
== Primer ==
 
 
-Springmapedit aeonios version
 
-Springmapedit aeonios version
 
 
-JAVA
 
-JAVA
 
 
-Gimp 2.9 unstable
 
-Gimp 2.9 unstable
 
 
-terresculptor standard
 
-terresculptor standard
 
-a good text editor, Notepad++ or better
 
 
 
-blue texes/gimp .pats
 
-blue texes/gimp .pats
  
-part 2 needs beherith DNTS pack, gimp dds plugin, featureplacer?, that metal spot widget from ZK repo, anarchid mex gfx placer
+
-part 2 needs beherith DNTS pack, gimp dds plugin
  
 
-you have at least 8gb of ram, right? gimp will become unpleasant to use if you start needing page file
 
-you have at least 8gb of ram, right? gimp will become unpleasant to use if you start needing page file
 
 
-'''set gimp to single core'''
 
-'''set gimp to single core'''
  
Line 29: Line 20:
  
 
-menu tools/settings/dimensions check power-of-two +1
 
-menu tools/settings/dimensions check power-of-two +1
 
-settings/rulers and units/ change units to "generic". Set 1 unit = 174 generic. 1 terresculptor height unit = 174 spring height units
 
 
 
-menu file/new project/ pick 1025
 
-menu file/new project/ pick 1025
  
Line 52: Line 40:
 
-export heightmap
 
-export heightmap
  
-Set altitude to desired ingame height. remember 174 spring units for every terresculptor unit. Spring height can be seen in the bottom right corner of altitude window.
+
-eyeball set altitude close to desired height ingame
  
 
-extract 3 slope masks at (degrees) 0 - 27.5, 27.5 - 55, 55-90
 
-extract 3 slope masks at (degrees) 0 - 27.5, 27.5 - 55, 55-90
Line 58: Line 46:
 
-optional 4th height mask for underwater, or snowy mountain caps
 
-optional 4th height mask for underwater, or snowy mountain caps
  
-save at least 1 colorset overlay, ensure auto-range colorset is checked
+
-save at least 1 colorset overlays, ensure auto-range colorset is checked
  
 
-we are now ready to texture in GIMP
 
-we are now ready to texture in GIMP
Line 68: Line 56:
 
-preferences / increase tile cache size to 5-6gb or so  
 
-preferences / increase tile cache size to 5-6gb or so  
  
-create new image in gimp with correct diffuse texture dimensions [springmapsize x 64 x 8]. in this example they should be 8192x8192
+
-create new image in gimp with correct diffuse texture dimensions [springmapsize x 64 x 8]
  
 
-Image / Mode / set as RGB
 
-Image / Mode / set as RGB
Line 76: Line 64:
 
-scale all layers to image size (cubic interpolation okay)
 
-scale all layers to image size (cubic interpolation okay)
  
-in the layers tab top right shift-leftclick each layer to convert to a mask
+
-right click each mask, add layer mask, greyscale copy of layer, then right click, uncheck "edit layer mask" for each layer
 
 
-'''Ensure you are editing the layers for the next step, NOT the masks.''' In the layers dialog on the right, the thumbnail displayed on the left is the layer and the thumbnail on the right is the layer mask. Click on the respective icons to edit either the layer or the mask.
 
  
 
-paint bucket, fill whole selection, pattern, pick one of the brushwalker patterns. Use the tabbed dialogue in the lower right corner to filter patterns to only SpringMapping catagory. Do this for each mask layer, may take a while to fill each layer with tiles.
 
-paint bucket, fill whole selection, pattern, pick one of the brushwalker patterns. Use the tabbed dialogue in the lower right corner to filter patterns to only SpringMapping catagory. Do this for each mask layer, may take a while to fill each layer with tiles.
Line 86: Line 72:
 
-scale layer to image size again, then set layer mode on the right as color[LCH]. Adjust transparency on this layer to change amount of colorizing
 
-scale layer to image size again, then set layer mode on the right as color[LCH]. Adjust transparency on this layer to change amount of colorizing
  
-diffuse texture complete, export as .bmp with option "write space header" checked
+
-diffuse texture complete
 
 
==testing in spring==
 
 
 
-make new map in SpringMapEdit, set as 16x16
 
 
 
-import heightmap, must be correct dimensions or nothing will happen
 
 
 
-import texture, adjust height in map properties if you want to get a preview before compiling
 
 
 
-menu save as, choose name, this will save the 2 core .smf and .smt files
 
 
 
-put in blueprint or something.  (expand on this)
 
 
 
-pick correct height you saw earlier in terresculptor
 
 
 
-start spring.exe and pick your map, Zero-K chobby will also work with .sdd directories with correct settings
 
 
 
-check pathing with f2, vehicle and walker boundaries should align with your texture
 
 
 
== Distribution Map ==
 
 
 
-new image 1024x1024, mode greyscale
 
 
 
-set background color to absolute white
 
 
 
-same open as layers, scale to layer size procedure as before. convert layers to masks. You don't need to keep the aspect ratios of the layers, just make them square. This allows them to be stored most efficiently in GPU memory.
 
 
 
-paint bucket color white, whole selection, of each layer
 
 
 
-right click each layer and remove alpha channel
 
 
 
-image / components / compose , choose color model RGBA. Choose the red, green, blue, and alpha layers to be compiled
 
 
 
-image will likely now be invisible, check the channels tab top right to see your 4 chosen layers
 
 
 
-export as .png or .dds (dxt5)
 
 
 
== Specular Map ==
 
 
 
-open diffuse texture .png with gimp
 
 
 
-scale to 1024x1024
 
 
 
-menu colors / levels and reduce output brightness by about 75%
 
 
 
-export as .png or .dds (dxt5)
 
 
 
==Adding Metal spots==
 
 
 
-enable local widgets in Zero-K, restart
 
 
 
-put the metal spot widget in correct directory, check enabled=true
 
 
 
-load ZK again, place metal spots with widget
 
 
 
-export, name map_metal_layout.lua, put in /mapconfig/
 
 
 
-put anarchid mex fgx widget in correct place. [or just pre-pack .sdd into archive and make tutorial reader download and extract it?]
 
 
 
==Custom colormaps in TerreSculptor==
 
 
 
-colormap export doesn't work atm unless autorange colorset is enabled, workaround is as follows:
 
 
 
-uncheck autorange colorset, adjust altitude to shift and constrain colormap. keep an eye on range.
 
 
 
-probably should set directional light to -90deg, or try and make it match ingame lighting (must be eyeballed)
 
 
 
-menu View, click Axis Tripod off
 
 
 
-Set camera to Top on toolbar, set mouse scroll speed to finest sensitivity, and zoom screen until the scene takes up as much space as it can.
 
 
 
-menu Tools, save screenshot
 
  
-Import into gimp, crop to content, and resize it up to your diffuse texture
+
TBC

Please note that all contributions to Zero-K are considered to be released under the Creative Commons Attribution-ShareAlike (see Zero-K:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)