[Opensim-users] Heightmap Grayscale % = ??? Meters?

Gudule Lapointe gudule at spekuloos.be
Sun May 6 14:23:33 UTC 2012


The question may be 20 "what?" on your image.

Depending of your software and the kind of color you choose, it can be counted in percent or in 0-255 scale.

What I did when I encountered the same problem was setting the terrain in world, saving the height map and checking the value. If I remember well, 20meters ended up to be something around 16% grey (which does not find any of the two hypothesis above)

I didn't have the curiosity to match the result with OpenSim settings about minimum and maximum terrain height. This could be the clue.

--
http://www.speculoos.net/
secondlife://speculoos.net:8002/
Speculoos, the belgian cookie-flavored metaverse

Le 6 mai 2012 à 16:00, Len W. Brown a écrit :

> Ah yes, thanks for the trip down memory lane!  I remember seeing that over a year back while still pretty active in Second Life.
> 
> Although it hasn't been updated since August of last year, it has helped answer a few of my other questions, however, on the page I am reminded that I continue to be doing something wrong, or else Second Life's servers are better calibrated, because I am reading:
> 
> Remember that the water level has a default elevation of 20 meters (with a corresponding gray value of 20), and that an estate owner can change this setting in-world.
> 
> And while this is my objective, the actual height I'm getting in-world is not accurate.  Unless maybe by using PNG rather than importing a RAW-generated terrain that is where my trouble stems maybe?
> 
> Thanks again!
> 
> On 05/06/2012 08:23, R.Gunther wrote:
> 
>> Not sure if you found this one.  But here you can find lots of info about Secondlife heightmaps.
>> http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files
>> 
>> On 2012-05-06 15:04, Len W. Brown wrote:
>>> 
>>>  
>>> Hi everyone!  Google and OpenSimulator.org haven't provided me a really clear direct answer to this question (yet)...
>>> 
>>> I am attempting to create a very crisp heightmap for a tech-based region I'm planning where certain areas must be at precise elevations.  I'm trying to choose precise grayscale colors that result in precise elevations.
>>> 
>>> I'm having a hard time determining what settings to choose.
>>> 
>>> I'm using GiMP and have made multiple attempts this morning creating an image 256X256, grayscale, set to total black and saved as a PNG with zero compression.  But when loading in the console ("terrain load 0.png" for example) while it loads "successfully" what I wind up with is a flat terrain that is approximately 12.25 meters in elevation.  Not the 0 meters I expected.
>>> 
>>> Doing the same as above, but setting the grayscale to 20 on a new image, I expected it to load at sealevel.  Instead it loaded at about 25.75 meters elevation.
>>> 
>>> I would sincerely appreciate a clear options setting for elevation if this is actually supported with precision in OpenSim 0.7.3.1...  Thanks!
>>> 
>>> -- 
>>> 
>>> - Len W. Brown
>>>      len at lenwbrown.com
>>> 
>>> 
>>> _______________________________________________
>>> Opensim-users mailing list
>>> Opensim-users at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-users
> -- 
> 
> - Len W. Brown
>      len at lenwbrown.com
>      www.lenwbrown.com
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20120506/fa68944b/attachment.html>


More information about the Opensim-users mailing list