   HISS - Heightfield Image Simple Script
  Well I've worked up a little script language which creates heightfields from noise and filters. If anyone is interested here is the app, cpp source, etc:http://cpp.greyearth.com/hiss/[edited by - Ranger_One on March 20, 2004 10:42:47 AM]
  I guess I do have a question to add to this post:What functions/filters should I provide in the script?  Here is what it has so far:Functions:  PERLIN [octaves] [freq] [amplitude] [seed]SPOT [cx] [cy] [factor] [rate] [exp_falloff]Commands:  POW [x]raise all values to the X Power  SCALE [x]multiply all values by X  SHIFT [x]add X to all values  CLIP [l] [h]clip all values to extremes L and H  SETL [f] [v]set all values less than F to V  SETM [f] [v]set all values more than F to V  FILL [x]set all values to X  NEW [name] [x] [y]create a new float set named NAME, X wide and Y high  SELECT [name]select float set NAME (all operations are performed on selected float set)  >PGM [name]output data as a portable grey map  >TXT [name]dump a text list of values from the float array to a text file  >PFA -name-output data as a portable float array (PFA32).  *[func] ...multiply function  across float array  +[func] ...add function  across float array  $[varname] [v]assign value V to variable VARNAME.DOopens a new loop </i> <br>FOREACH [inc] [start] [stop]<br><i> closes a loop which is then done with #loop equal to START, adding INC every loop ending when #loop >= STOP.<br><br>NOTES:<br>1.) all variables must be defined outside loops.<br>2.) variables can be expanded as parameters using $ or # prefix.<br>$ prefix creates a float from the variable, and the # prefix creates an integer from the variable (all variables are stored as floats).<br><br><br>  </i>  <br><br><SPAN CLASS=editedby>[edited by - Ranger_One on March 21, 2004 10:19:05 AM]</SPAN>