Inworld Data

From OpenSimulator

Revision as of 05:40, 21 February 2008 by Phrearch (Talk | contribs)

Jump to: navigation, search

Contents

Adding textures to the OpenSim 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="OpenSim 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="OpenSim Custom Asset Set">
 <Key Name="file" Value="MyCoolOpenSimAssetSet/3DDCAssetSet.xml"/>
</Section>
  • Restart OpenSim
  • Check out if the textures are rendered correctly in the viewer

Instructions

A link the mailing list entry describing the xml structure for including library scripts (and other items)

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

Library Collection

  • Free Assets - Free items, textures, heightmaps and scripts.
Personal tools
General
About This Wiki