<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Oudrun</id>
		<title>OpenSimulator - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Oudrun"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Special:Contributions/Oudrun"/>
		<updated>2026-06-19T09:00:45Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/wiki/Tips</id>
		<title>Tips</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Tips"/>
				<updated>2008-07-30T13:26:26Z</updated>
		
		<summary type="html">&lt;p&gt;Oudrun: /* How do I change the terrain for a group of sims? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Users]]&lt;br /&gt;
==Terrain Tidbits==&lt;br /&gt;
===How can I flatten a region?===&lt;br /&gt;
When you have multiple regions, that you need to terraform to a certain height, the quickest way to do it is by selecting a region, and fill the terrain to the specified height:&lt;br /&gt;
 change-region YourRegionName&lt;br /&gt;
 script terrain fill 20&lt;br /&gt;
&lt;br /&gt;
''Note:'' Remember to change to the region you wish to modify if that is the only region wish to make changes to. Without using the change-region command, you may very well end up flattening multiple regions!&lt;br /&gt;
&lt;br /&gt;
As of SVN 4061&lt;br /&gt;
  terrain fill 25&lt;br /&gt;
  &lt;br /&gt;
[[Category:Getting Started]]&lt;br /&gt;
&lt;br /&gt;
=== What programs can I use to create terrains for OpenSim? ===&lt;br /&gt;
If you are after simple terrain files (jpg, gif, etc), you can use Photoshop or any number of freeware programs, like [http://www.gimp.org/ Gimp]. If you want more complex terrains, you will need programs that output to standard 3d raw format (aka r32 or r64). [http://www.bundysoft.com/L3DT/ L3DT] and [http://www.planetside.co.uk/terragen/ Terragen] are two of the top commercial programs for this. (anyone know of a freeware one?), or you could, with some practice, use [http://www.blender.org/ Blender]. The free version of L3DT can make terrains up to 2048x2048 in size, or 8x8 regions.&lt;br /&gt;
You can use `terrain load IMG yourfile.png` to load '''greyscale''' PNG files.  Remember to use something like `terrain rescale 0 25` to make it visible.&lt;br /&gt;
Here is some info on [[Using L3DT]] to make a terrain.&lt;br /&gt;
&lt;br /&gt;
You can also use http://lab.parkstudio.ru/terra/ if you know a bit about heightmaps and how they work.  Just set the custom landscape texture gradient to pure black and pure white and turn off water.&lt;br /&gt;
And here are some [[Free Terrains]] that you can use. Enjoy!&lt;br /&gt;
&lt;br /&gt;
=== Where do I put the files for my terrains? ===&lt;br /&gt;
This one is actually pretty simple, but first the 'hard' answer: anywhere in the PATH will work. Lost? yeah, I was too, so... just drop the file into the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory (right where your &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; file is).&lt;br /&gt;
&lt;br /&gt;
===How do I change the terrain for a group of sims?===&lt;br /&gt;
First, the file must be in f32 (or f64?) format. This is easy to do with L3DT's export feature. (Use the RAW format and set the options to &amp;lt;tt&amp;gt;Y flipped = true&amp;lt;/tt&amp;gt; and at the bottom, change it to read 'float' instead of 'ushort'). It also needs to be a file that will cover each sim in a 256x256 layer (so, for 2x2 regions, you need a 512x512 file), It is very important that you rename the file extension to .r32 for the import to properly work.&lt;br /&gt;
Then, once you have it saved, on the &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; console, type in:&lt;br /&gt;
 script terrain load-tile &amp;lt;filename&amp;gt; &amp;lt;image X&amp;gt; &amp;lt;image y&amp;gt; &amp;lt;bottomleftsim X&amp;gt; &amp;lt;bottomleftsim y&amp;gt;&lt;br /&gt;
For example, I run a square of 4 sims in a 2x2 pattern. I started my sim placement at 0, 0 and ended at 1, 1. my line reads:&lt;br /&gt;
 &amp;lt;strike&amp;gt;script terrain load-tile simalpha.r32 512 512 0 0&amp;lt;/strike&amp;gt;&lt;br /&gt;
 script terrain load-tile simalpha.r32 2 2 0 0 ([[User:Oudrun|Oudrun]])&lt;br /&gt;
New syntax is using number of tiles instead of imagesize (one tile 256x356 pix). Above example is for a 2x2 region terrainfile.&lt;br /&gt;
&lt;br /&gt;
Next, before you log in, you may want to go to type in: *(THIS FUNCTION MAY NOT WORK)&lt;br /&gt;
 script terrain multiply 0.4&lt;br /&gt;
This should scale it down from the nearly 300 meters altitude I ran into to something a little more reasonable for the minimap.&lt;br /&gt;
&lt;br /&gt;
===How do I load a terrain file on startup?===&lt;br /&gt;
Edit the file &amp;lt;tt&amp;gt;startup_commands.txt&amp;lt;/tt&amp;gt; in the bin directory and add the above commands &amp;quot;&amp;lt;tt&amp;gt;script terrain load-tile ...&amp;lt;/tt&amp;gt;&amp;quot; and &amp;quot;&amp;lt;tt&amp;gt;script terrain multiply ...&amp;lt;/tt&amp;gt;&amp;quot; one per line.&lt;br /&gt;
&lt;br /&gt;
*** Notice this method is no longer required and should be considered a legacy function, Terrain persistance is now working 100%.&lt;br /&gt;
&lt;br /&gt;
Terrain Tidbits brought to you by Tilde, with a few questions in IRC :) - [[User:Tildeampersand|Tilde]] 10:32, 15 August 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
===How do I import into OpenSim the terrain shape of my Second Life sim?===&lt;br /&gt;
First, assure you are in the right region if you have more than one, by using: &lt;br /&gt;
&lt;br /&gt;
 change-region &amp;lt;nowiki&amp;gt;&amp;lt;regionname&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the command (file extension now determines the format, use .r32 for L3DT terrains)&lt;br /&gt;
&lt;br /&gt;
 script terrain load &amp;lt;filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Watch [http://archimedix.wordpress.com/2007/11/26/opensim/ this video] for a step-by-step tutorial.&lt;br /&gt;
&lt;br /&gt;
=== Other useless or useful info depending on who reads it ===&lt;br /&gt;
&lt;br /&gt;
* I found out that each point on the grey scale (0 to 255) equals approximately .23 to .25 meters in terrain height. - [[CharlieO]]&lt;br /&gt;
* Also for those who want to manually edit a png file, you need at minimum 3 different shades of grey. and one has to be drastically different than the other 2 in order to have the height show correctly. - [[CharlieO]]&lt;br /&gt;
 example:&lt;br /&gt;
  1) 0,0,0 &lt;br /&gt;
  2) 223, 233, 233 &lt;br /&gt;
  3) 255, 255, 255&lt;br /&gt;
&lt;br /&gt;
==General Setup Tricks==&lt;br /&gt;
=== Changing viewer start webpage in standalone mode ===&lt;br /&gt;
&lt;br /&gt;
In order to change the page that the viewer starts in /opensim/bin/ there is a http_loginform.html.example page.  Removing the .example will make this page be the start webpage which you can edit etc.  Since the login html code is no longer needed this can be modified at will.&lt;br /&gt;
&lt;br /&gt;
=== Making the server remember terrain, prims and other region storage changes after reboot ===&lt;br /&gt;
In order for the server to remember these things you must select a database to be used in the OpenSim.ini file.  For more info on setting this up see [[OpenSim_Database_support]].  The easiest to set up is SqLite which has a guide on the linked page.&lt;/div&gt;</summary>
		<author><name>Oudrun</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Tips</id>
		<title>Tips</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Tips"/>
				<updated>2008-07-30T13:23:38Z</updated>
		
		<summary type="html">&lt;p&gt;Oudrun: /* How do I change the terrain for a group of sims? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Users]]&lt;br /&gt;
==Terrain Tidbits==&lt;br /&gt;
===How can I flatten a region?===&lt;br /&gt;
When you have multiple regions, that you need to terraform to a certain height, the quickest way to do it is by selecting a region, and fill the terrain to the specified height:&lt;br /&gt;
 change-region YourRegionName&lt;br /&gt;
 script terrain fill 20&lt;br /&gt;
&lt;br /&gt;
''Note:'' Remember to change to the region you wish to modify if that is the only region wish to make changes to. Without using the change-region command, you may very well end up flattening multiple regions!&lt;br /&gt;
&lt;br /&gt;
As of SVN 4061&lt;br /&gt;
  terrain fill 25&lt;br /&gt;
  &lt;br /&gt;
[[Category:Getting Started]]&lt;br /&gt;
&lt;br /&gt;
=== What programs can I use to create terrains for OpenSim? ===&lt;br /&gt;
If you are after simple terrain files (jpg, gif, etc), you can use Photoshop or any number of freeware programs, like [http://www.gimp.org/ Gimp]. If you want more complex terrains, you will need programs that output to standard 3d raw format (aka r32 or r64). [http://www.bundysoft.com/L3DT/ L3DT] and [http://www.planetside.co.uk/terragen/ Terragen] are two of the top commercial programs for this. (anyone know of a freeware one?), or you could, with some practice, use [http://www.blender.org/ Blender]. The free version of L3DT can make terrains up to 2048x2048 in size, or 8x8 regions.&lt;br /&gt;
You can use `terrain load IMG yourfile.png` to load '''greyscale''' PNG files.  Remember to use something like `terrain rescale 0 25` to make it visible.&lt;br /&gt;
Here is some info on [[Using L3DT]] to make a terrain.&lt;br /&gt;
&lt;br /&gt;
You can also use http://lab.parkstudio.ru/terra/ if you know a bit about heightmaps and how they work.  Just set the custom landscape texture gradient to pure black and pure white and turn off water.&lt;br /&gt;
And here are some [[Free Terrains]] that you can use. Enjoy!&lt;br /&gt;
&lt;br /&gt;
=== Where do I put the files for my terrains? ===&lt;br /&gt;
This one is actually pretty simple, but first the 'hard' answer: anywhere in the PATH will work. Lost? yeah, I was too, so... just drop the file into the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory (right where your &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; file is).&lt;br /&gt;
&lt;br /&gt;
===How do I change the terrain for a group of sims?===&lt;br /&gt;
First, the file must be in f32 (or f64?) format. This is easy to do with L3DT's export feature. (Use the RAW format and set the options to &amp;lt;tt&amp;gt;Y flipped = true&amp;lt;/tt&amp;gt; and at the bottom, change it to read 'float' instead of 'ushort'). It also needs to be a file that will cover each sim in a 256x256 layer (so, for 2x2 regions, you need a 512x512 file), It is very important that you rename the file extension to .r32 for the import to properly work.&lt;br /&gt;
Then, once you have it saved, on the &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; console, type in:&lt;br /&gt;
 script terrain load-tile &amp;lt;filename&amp;gt; &amp;lt;image X&amp;gt; &amp;lt;image y&amp;gt; &amp;lt;bottomleftsim X&amp;gt; &amp;lt;bottomleftsim y&amp;gt;&lt;br /&gt;
For example, I run a square of 4 sims in a 2x2 pattern. I started my sim placement at 0, 0 and ended at 1, 1. my line reads:&lt;br /&gt;
 &amp;lt;strike&amp;gt;script terrain load-tile simalpha.r32 512 512 0 0&amp;lt;/strike&amp;gt;&lt;br /&gt;
 script terrain load-tile simalpha.r32 2 2 0 0 ([[User:Oudrun|Oudrun]])&lt;br /&gt;
Next, before you log in, you may want to go to type in: *(THIS FUNCTION MAY NOT WORK)&lt;br /&gt;
 script terrain multiply 0.4&lt;br /&gt;
This should scale it down from the nearly 300 meters altitude I ran into to something a little more reasonable for the minimap.&lt;br /&gt;
&lt;br /&gt;
===How do I load a terrain file on startup?===&lt;br /&gt;
Edit the file &amp;lt;tt&amp;gt;startup_commands.txt&amp;lt;/tt&amp;gt; in the bin directory and add the above commands &amp;quot;&amp;lt;tt&amp;gt;script terrain load-tile ...&amp;lt;/tt&amp;gt;&amp;quot; and &amp;quot;&amp;lt;tt&amp;gt;script terrain multiply ...&amp;lt;/tt&amp;gt;&amp;quot; one per line.&lt;br /&gt;
&lt;br /&gt;
*** Notice this method is no longer required and should be considered a legacy function, Terrain persistance is now working 100%.&lt;br /&gt;
&lt;br /&gt;
Terrain Tidbits brought to you by Tilde, with a few questions in IRC :) - [[User:Tildeampersand|Tilde]] 10:32, 15 August 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
===How do I import into OpenSim the terrain shape of my Second Life sim?===&lt;br /&gt;
First, assure you are in the right region if you have more than one, by using: &lt;br /&gt;
&lt;br /&gt;
 change-region &amp;lt;nowiki&amp;gt;&amp;lt;regionname&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the command (file extension now determines the format, use .r32 for L3DT terrains)&lt;br /&gt;
&lt;br /&gt;
 script terrain load &amp;lt;filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Watch [http://archimedix.wordpress.com/2007/11/26/opensim/ this video] for a step-by-step tutorial.&lt;br /&gt;
&lt;br /&gt;
=== Other useless or useful info depending on who reads it ===&lt;br /&gt;
&lt;br /&gt;
* I found out that each point on the grey scale (0 to 255) equals approximately .23 to .25 meters in terrain height. - [[CharlieO]]&lt;br /&gt;
* Also for those who want to manually edit a png file, you need at minimum 3 different shades of grey. and one has to be drastically different than the other 2 in order to have the height show correctly. - [[CharlieO]]&lt;br /&gt;
 example:&lt;br /&gt;
  1) 0,0,0 &lt;br /&gt;
  2) 223, 233, 233 &lt;br /&gt;
  3) 255, 255, 255&lt;br /&gt;
&lt;br /&gt;
==General Setup Tricks==&lt;br /&gt;
=== Changing viewer start webpage in standalone mode ===&lt;br /&gt;
&lt;br /&gt;
In order to change the page that the viewer starts in /opensim/bin/ there is a http_loginform.html.example page.  Removing the .example will make this page be the start webpage which you can edit etc.  Since the login html code is no longer needed this can be modified at will.&lt;br /&gt;
&lt;br /&gt;
=== Making the server remember terrain, prims and other region storage changes after reboot ===&lt;br /&gt;
In order for the server to remember these things you must select a database to be used in the OpenSim.ini file.  For more info on setting this up see [[OpenSim_Database_support]].  The easiest to set up is SqLite which has a guide on the linked page.&lt;/div&gt;</summary>
		<author><name>Oudrun</name></author>	</entry>

	</feed>