<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p> </p>
<p>Thanks for the suggestion. That sparked my curiosity as well. So while in-world I accessed the console and entered "terrain fill 20" and then I entered "terrain save watertest.png"</p>
<p>Using my color picker, the actual color of the saved PNG from OpenSim was a grayscale value of 15 (RGB 39,39,39) whereas the one I'd created and imported was a value of 20 (RGB 51,51,51) which came to 25.75 meters.</p>
<p>Using GiMP, I just created a fresh new heightmap with a value of 15 and it imported (terrain load newtest.png) at 20 meters spot-on.</p>
<p>So in practice I see a reliable method, but wonder why the values are odd...</p>
<p>What I aim to do then, at least as a work around for now, is to set the terrain in-world to the four heights I require (21 meters, 28 meters and 35 meters), then export each, define the grayscale values, then create my final heightmap with designated areas using those grayscale percentages.</p>
<p>Thanks for at least helping me to view things from an alternative perspective. It should work this way. but anyone whow WHY grayscale values do NOT correspont with precise heights like they are supposed to?</p>
<p>I know that in Second Life you cannot (in theory) create any elevation anywhere above 255 meters because that is pure white on a grayscale...</p>
<p>Thanks all.</p>
<p>On 05/06/2012 09:23, Gudule Lapointe wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->The question may be 20 "what?" on your image.
<div>Depending of your software and the kind of color you choose, it can be counted in percent or in 0-255 scale.</div>
<div>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)</div>
<div>I didn't have the curiosity to match the result with OpenSim settings about minimum and maximum terrain height. This could be the clue.</div>
<div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>--</div>
<div><a href="http://www.speculoos.net/">http://www.speculoos.net/</a></div>
<div><a>secondlife://speculoos.net:8002/</a></div>
<div>Speculoos, the belgian cookie-flavored metaverse</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br />
<div>
<div>Le 6 mai 2012 à 16:00, Len W. Brown a écrit :</div>
<br class="Apple-interchange-newline" />
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div>
<p>Ah yes, thanks for the trip down memory lane! I remember seeing that over a year back while still pretty active in Second Life.</p>
<p>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:</p>
<p><span>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.</span></p>
<p><span></span>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?</p>
<p>Thanks again!</p>
<p>On 05/06/2012 08:23, R.Gunther wrote:</p>
<blockquote style="padding-left: 5px; border-left: #1010ff 2px solid; margin-left: 5px; width: 100%;">Not sure if you found this one. But here you can find lots of info about Secondlife heightmaps.<br /><a class="moz-txt-link-freetext" href="http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files">http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files</a><br /><br />On 2012-05-06 15:04, Len W. Brown wrote:
<blockquote style="padding-left: 5px; border-left: #1010ff 2px solid; margin-left: 5px; width: 100%;">
<div> </div>
<p>Hi everyone! Google and <a href="http://OpenSimulator.org">OpenSimulator.org</a> haven't provided me a really clear direct answer to this question (yet)...</p>
<p>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.</p>
<p>I'm having a hard time determining what settings to choose.</p>
<p>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.</p>
<p>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.</p>
<p>I would sincerely appreciate a clear options setting for elevation if this is actually supported with precision in OpenSim 0.7.3.1... Thanks!</p>
<div>
<pre>--
- Len W. Brown
<a class="moz-txt-link-abbreviated" href="mailto:len@lenwbrown.com">len@lenwbrown.com</a></pre>
</div>
<br /><fieldset class="mimeAttachmentHeader"></fieldset><br />
<pre>_______________________________________________
Opensim-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a>
<a class="moz-txt-link-freetext" href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a></pre>
</blockquote>
</blockquote>
<div>
<pre>--
- Len W. Brown
<a href="mailto:len@lenwbrown.com">len@lenwbrown.com</a>
<a href="http://www.lenwbrown.com">www.lenwbrown.com</a></pre>
</div>
</div>
_______________________________________________<br />Opensim-users mailing list<br /><a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br />https://lists.berlios.de/mailman/listinfo/opensim-users</blockquote>
</div>
</div>
</blockquote>
<div>
<pre>--
- Len W. Brown
len@lenwbrown.com
www.lenwbrown.com</pre>
</div>
</body></html>