MapRender3D Logo





















MapRender3D Support

Using MapRender - Styles Guide


DEVELOP CUSTOM STYLE PALETTES

How do you set up your own settings file?

Copy the following settings and save it as a regular ASCII file in Notepad and store it in the Styles directory with your own individual filename such as "mycarto.rel".


~~~~~~~~~~~~~~~~Start Copy on Next Line~~~~~~~~~~~~~~~
[SETTINGS]
MapRender3DRel=1
SpotCutOffValue=180.0000
LightPosX=5.9100
LightPosY=-1.0400
LightPosZ=4.1700
LightPosW=0.0000
LightDirectionX=-1.0000
LightDirectionY=-1.0000
LightDirectionZ=-1.0000
Ambient0=0.0000
Ambient1=0.0000
Ambient2=0.0000
Ambient3=1.0000
Diffuse0=1.0000
Diffuse1=1.0000
Diffuse2=1.0000
Diffuse3=1.0000
Specular0=1.0000
Specular1=1.0000
Specular2=1.0000
Specular3=1.0000
LModAmb0=0.0000
LModAmb1=0.0000
LModAmb2=0.0000
LModAmb3=1.0000
LocalAiew=0.0000
MatAmb0=0.0000
MatAmb1=0.0000
MatAmb2=0.0000
MatAmb3=1.0000
MatDiff0=0.7000
MatDiff1=0.7000
MatDiff2=0.7000
MatDiff3=1.0000
MatEmi0=-0.2000
MatEmi1=-0.2000
MatEmi2=-0.2000
MatEmi3=1.0000
MatSpec0=0.3000
MatSpec1=0.3000
MatSpec2=0.3000
MatSpec3=1.0000
Shininess=1.0000
ViewportWidth=439
ViewportHeight=331
ColourFrom=0
ShadingType=7425
3DProjectionType=1
DirectionalLight=1
HeightMeasure=2
SpotExponent=10.0000
LtAmb0=0.0000
LtAmb1=0.0000
LtAmb2=0.0000
LtAmb3=1.0000
LtDiff0=1.0000
LtDiff1=1.0000
LtDiff2=1.0000
LtDiff3=1.0000
LtSpec0=0.0000
LtSpec1=0.0000
LtSpec2=0.0000
LtSpec3=1.0000
Exaggeration=1.0000
MaxLevel=5000.0000
MinLevel=-100.0000
BkColor1=1.0000
BkColor2=1.0000
BkColor3=1.0000
BkColor4=0.0000
GridColor1=1.0000
GridColor2=1.0000
GridColor3=0.0000
GridColor4=1.0000
RendererType=1
ShadowIntensity=50
View2D=1

[HEIGHT_RGB]
ColourGradient=0
ColorMapSize=12
HRGB_00_H=0.000000
HRGB_00_R=0.305882
HRGB_00_G=0.698039
HRGB_00_B=1.000000
HRGB_01_H=0.019608
HRGB_01_R=0.000000
HRGB_01_G=0.501961
HRGB_01_B=0.121569
HRGB_02_H=0.117647
HRGB_02_R=0.184314
HRGB_02_G=0.569078
HRGB_02_B=0.254902
HRGB_03_H=0.215686
HRGB_03_R=0.482353
HRGB_03_G=0.729412
HRGB_03_B=0.539216
HRGB_04_H=0.313725
HRGB_04_R=0.662745
HRGB_04_G=0.776471
HRGB_04_B=0.603922
HRGB_05_H=0.411765
HRGB_05_R=0.745098
HRGB_05_G=0.717647
HRGB_05_B=0.698039
HRGB_06_H=0.509804
HRGB_06_R=0.890196
HRGB_06_G=0.784314
HRGB_06_B=0.678431
HRGB_07_H=0.607843
HRGB_07_R=0.984314
HRGB_07_G=0.792157
HRGB_07_B=0.513725
HRGB_08_H=0.705882
HRGB_08_R=0.850980
HRGB_08_G=0.615686
HRGB_08_B=0.415686
HRGB_09_H=0.803922
HRGB_09_R=1.000000
HRGB_09_G=0.800000
HRGB_09_B=0.666667
HRGB_10_H=0.901961
HRGB_10_R=1.000000
HRGB_10_G=0.929412
HRGB_10_B=0.815686
HRGB_11_H=1.000000
HRGB_11_R=1.000000
HRGB_11_G=1.000000
HRGB_11_B=0.870588
~~~~~~~~~~~~End Copy on Last Line Above~~~~~~~~~


Photoshop RGB Color Picker The above .REL file can be edited in an ASCII editor to provide your own layers of color. Each elevation band corresponds to a set of 4 values, one "H" HRGB_00_H=0.000000 value for the width of the band defining the height. The lowest "H" height is set to 0.000000 and the highest height is set to 1.000000. The intermediate layers which may be as few or as many as needed, have their "H" value set according to the proportional spacing that the elevation band requires. For eaxample if there are three bands, 0-4,000 meter, 4,000-6,000 meter, and 6,000-8,000 meter over a 8,000 meter height, the fist band would be coded 0.000000, second band 0.500000, third band 0.75000, and a last final band coded 1.000000.

Three RGB color values derived from the example on the right, Red "R 139" HRGB_00_R=0.545098, Green "G 198" HRGB_00_G=0.776470 and Blue "B 54" HRGB_00_B=0.211764 values which are the 0 thru 255 values divided by 1. For instance a value 0 would be set up in the table as 0.000000, value of 255 as 1.000000   Make sure you adjust the ColorMapSize= to reflect the number of sets of HRGB_00_ entries in the newly created color scale. Save the new .REL file with a new name.




Any comments or problems with this site? Please let us know - thank you!
Web page last updated: January 26, 2006