Using L3DT

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(About L3DT: ITS A COMPATABILITY LAYER!)
(Quick intro on creating a terrain with L3DT)
Line 19: Line 19:
 
12. Name the file whatever you want, and click OK to save it.<br>
 
12. Name the file whatever you want, and click OK to save it.<br>
 
*** UPDATE New Terrain system requires L3DT export files to have a file extension of .r32 *IMPORTANT*
 
*** UPDATE New Terrain system requires L3DT export files to have a file extension of .r32 *IMPORTANT*
 +
<br>
 +
*** 2008.11.05 Update: With L3DT Standard Version 2.6, at the "Heightfield Size (2/5)" screen (step 3 above), you need to enter 256x256 and set the Horiz. scale to 1.  The next screen "Design map size (3/5)" take the defaults.  Now you are at step 4, above.
 +
<br>
 +
*** 2008.11.05 Update: when exporting the raw file (step 11 above), chose 32-bit floating-point (meters)
 
<br>
 
<br>
 
To load the terrain into opensim:<br>
 
To load the terrain into opensim:<br>

Revision as of 12:39, 5 November 2008

About L3DT

L3DT can be used to generate terrains. The program runs natively under Windows, and can be run under Linux using the Wine compatibility layer(Only the development version!).

Quick intro on creating a terrain with L3DT

To create a terrain for a single region:

1. Create a NEW MAP by clicking on that icon in the title bar.
2. Highlight Design/Inflate, and click Next.
3. Make the size X=4, y=4. This will give you a 256x256 terrain, the same size as a region. Click Next.
4. Play with the sliders in the parameters window. You can just leave the defaults to start with. Click Next.
5. Check Design Map, and click OK.
6. Now click the CALC icon in the menu bar, then click OK.
7. You now have your terrain. If you don't like it, start over and play with the settings.
8. To save it: File=>Export=>Export Map.
9. Highlight Heightfield, and then click OK.
10. Choose File Format RAW, then click the Options button.
11. Double click "Mode", and select "float (meters)", then click OK, and OK again.
12. Name the file whatever you want, and click OK to save it.

      • UPDATE New Terrain system requires L3DT export files to have a file extension of .r32 *IMPORTANT*


      • 2008.11.05 Update: With L3DT Standard Version 2.6, at the "Heightfield Size (2/5)" screen (step 3 above), you need to enter 256x256 and set the Horiz. scale to 1. The next screen "Design map size (3/5)" take the defaults. Now you are at step 4, above.


      • 2008.11.05 Update: when exporting the raw file (step 11 above), chose 32-bit floating-point (meters)


To load the terrain into opensim:

Assume your file is called "terrain.r32".At the region console, type:

terrain load terrain.r32

You now have your new terrain! You can at this point use the terrain add, terrain scale, or terrain multiply to rescale it to your liking.

Personal tools
General
About This Wiki