Inworld Data

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Adding textures to the OpenSim Library)
m (Adding textures to the OpenSim Library)
Line 1: Line 1:
 
==Adding textures to the OpenSim Library==
 
==Adding textures to the OpenSim Library==
 
* Download the [http://www.tellim.com/texture_cd.tar.gz blender texture cd] (as an example)
 
* 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|jp2 batch converter]] to batch-process a directorylist, containing regular jpg's
+
* Prepare your imagefiles. You can use the [[jp2_batch_converter|jp2 batch converter]](linux only for now) to batch-process a big texture-library
 
* Copy the jp2 files into the /opt/opensim/library directory
 
* Copy the jp2 files into the /opt/opensim/library directory
 
* Create the appropriate xml storage files using the [[assets_generator|Asset Generator]] script
 
* Create the appropriate xml storage files using the [[assets_generator|Asset Generator]] script

Revision as of 04:37, 21 February 2008

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 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>


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