Inworld Data

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Robot: Replacing 'OpenSim' to 'OpenSimulator', which is the precise name)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Managing inventory==
+
__NOTOC__
 +
{{Quicklinks}}
 +
<br />
  
===Libraries.xml===
+
== Textures ==
Folders and items which will appear in the standard common library for all avatars can be configured here. The root folder (currently called OpenSim Library) is hardcoded, but you can add your own configuration of folders and items directly beneath this, in addition to (or instead of) the contents of the default OpenSim library.  
+
=== Creating a custom library ===
 +
* Download the [http://www.tellim.com/texture_cd.tar.gz blender texture cd] (as an example)
 +
* Prepare your imagefiles. You can use the [[jp2 batch converter]](linux only for now) to batch-process a big texture-library
 +
* Copy the jp2 files(including directory-structures) into the /opt/opensim/library directory
 +
* Create the appropriate xml storage files using the [[assets generator|Asset Generator]] script
 +
* Edit the opensim inventory library reference file
 +
nano /opt/opensim/production/bin/inventory/Libraries.xml
 +
* Add the inventory reference
 +
<Section Name="OpenSimulator Custom Library">
 +
  <Key Name="foldersFile" Value="MyCoolOpenSimLibrary/3DDCInventoryFolders.xml"/>
 +
  <Key Name="itemsFile" Value="MyCoolOpenSimLibrary/3DDCInventoryItems.xml"/>
 +
</Section>
 +
* Edit the opensim assets library reference file
 +
nano /opt/opensim/production/bin/assets/AssetSets.xml
 +
* Add the asset reference
 +
<Section Name="OpenSimulator Custom Asset Set">
 +
  <Key Name="file" Value="MyCoolOpenSimAssetSet/3DDCAssetSet.xml"/>
 +
</Section>
 +
* Restart OpenSimulator
 +
* Check out if the textures are rendered correctly in the viewer
 +
* More background information (in horrible mailing list form) [https://lists.berlios.de/pipermail/opensim-users/2008-January/000047.html]
 +
=== Free Assets ===
 +
* [[Free Assets]] - Free items, textures, heightmaps and scripts.
  
 +
== Terrain ==
 +
* [[Using L3DT|Use L3DT to create a custom terrain]]
  
To add a new library, edit Libraries.xml.  The entry in here needs to point to two further xml files, one which details your library inventory folders and another which details your library inventory items.  Each inventory item will need to be associated with an asset.  Assets are configured separately in the bin/assets directory. If you are running in grid mode, any library you add must be present in both your grid servers installation and in every region installation, otherwise library items will fail in the regions where the inventory configuration is not present.  The reasons for this are historical and will probably be lifted in a future revision.
+
[[Category:Users]]
 
+
 
+
Files in the attic directory are currently unused.
+
 
+
===Instructions===
+
[https://lists.berlios.de/pipermail/opensim-users/2008-January/000047.html A link the mailing list entry describing the xml structure for including library scripts (and other items)]
+
 
+
[http://www.dreamlandgrid.com/genassets.pl genassets.pl]
+
 
+
Perl script that generates assetset, inventory folders, and inventory items files that can be used to create a custom library.  Takes a directory tree of jp2 and lsl scripts and creates the mirrored structure in inventory under OpenSim Library.  See usage instructions inside script.
+
 
+
==Database Support==
+
* [[OpenSim_Database_support|OpenSim Database Support]]
+
 
+
==Library Collection==
+
* [[Free_Assets|Free Assets]] - Free items, textures, heightmaps and scripts.
+

Latest revision as of 22:40, 3 March 2012


[edit] Textures

[edit] Creating a custom library

  • Download the blender texture cd (as an example)
  • Prepare your imagefiles. You can use the jp2 batch converter(linux only for now) to batch-process a big texture-library
  • Copy the jp2 files(including directory-structures) into the /opt/opensim/library directory
  • Create the appropriate xml storage files using the Asset Generator script
  • Edit the opensim inventory library reference file
nano /opt/opensim/production/bin/inventory/Libraries.xml
  • Add the inventory reference
<Section Name="OpenSimulator Custom Library">
 <Key Name="foldersFile" Value="MyCoolOpenSimLibrary/3DDCInventoryFolders.xml"/>
 <Key Name="itemsFile" Value="MyCoolOpenSimLibrary/3DDCInventoryItems.xml"/>
</Section> 
  • Edit the opensim assets library reference file
nano /opt/opensim/production/bin/assets/AssetSets.xml
  • Add the asset reference
<Section Name="OpenSimulator Custom Asset Set">
 <Key Name="file" Value="MyCoolOpenSimAssetSet/3DDCAssetSet.xml"/>
</Section>
  • Restart OpenSimulator
  • Check out if the textures are rendered correctly in the viewer
  • More background information (in horrible mailing list form) [1]

[edit] Free Assets

  • Free Assets - Free items, textures, heightmaps and scripts.

[edit] Terrain

Personal tools
General
About This Wiki