Menu

#12 Terragen file format: base height + elevation

open
nobody
None
5
2004-05-31
2004-05-30
Roter Baron
No

From my point a minor thing, but it would be nice if you
could look at this. *Every* file that is saved in
Terragen / .ter format has the terrain altitude from -
15 ... +15, independent from what you type in the base
height and elevation fields.

Next thought, typing in base height and elevation is not
known to most Terragen users. Could it be possible to
give instead a minimum and maximum height value? This
would be the same rule as it is used in Terragen itself.

Ok, this is a mix from bug and RFE. ;)

Discussion

  • David Burnett

    David Burnett - 2004-05-31

    Logged In: YES
    user_id=5758

    Okay the bug's been fixed and checked in

    You can now enter either base height, elevation and
    scale, or a maximum and minimum height.
    Editing one will change the other.

     
  • Roter Baron

    Roter Baron - 2004-05-31

    Logged In: YES
    user_id=1048042

    Ah great, thanks for the quick reaction. :)

    - Karsten

     
  • Roter Baron

    Roter Baron - 2004-05-31
    • status: open --> closed
     
  • Roter Baron

    Roter Baron - 2004-05-31
    • status: closed --> open
     
  • Ralf Lehmann

    Ralf Lehmann - 2004-06-01

    Logged In: YES
    user_id=685263

    ... just wanted to let you know that changing a value
    (min/max/elev./...) often gives "strange" results for another.
    Sorry for not being more precise but I havent tested this yet
    thouroughly. Please give me a day or two...

     
  • David Burnett

    David Burnett - 2004-06-02

    Logged In: YES
    user_id=5758

    I checked in some rounding fixes with should make base height,
    elevation and scale give the correct max and min height.

    Going the other way around you're going to hit problems due to base
    height and elevation being integers, once you throw in the scaling factor
    you can get some results that look totally wrong and probably are.

    The real trouble is that base height and elevation are the values saved in
    the terragen file format :-(

     
  • Ralf Lehmann

    Ralf Lehmann - 2004-06-02

    Logged In: YES
    user_id=685263

    I will look into this more deeply soon. However, baseheight
    and heighscale are usually calculcated by Terragen and not
    to be entered by users. Since the file format specification
    lacks of any information on how to claculate them, every 3rd
    party developer has his/her own way to do that, of course.

    Both values are based on the terrain data, so the file format
    shouldn't require them to be saved, IMHO. But you know...

    I did have a conversation with Matt Fairclough (main
    developer of Terragen) about exactly this topic. But before I
    publish some code let me ask him for permission first...

     

Log in to post a comment.

MongoDB Logo MongoDB