Inworld Data: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Phrearch No edit summary |
imported>Phrearch No edit summary |
||
| Line 1: | Line 1: | ||
== | ==Adding textures to the OpenSim Library== | ||
* Download the [http://www.tellim.com/texture_cd.tar.gz blender texture cd] (as an example) | |||
* Create jpeg2000 files from regular jpg files, using a perl [[jp2_batch_converter|jp2 batch converter]] (based on Jasper) | |||
* Copy the jp2 files 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="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=== | ===Instructions=== | ||
Revision as of 15:02, 20 February 2008
Adding textures to the OpenSim Library
- Download the blender texture cd (as an example)
- Create jpeg2000 files from regular jpg files, using a perl jp2 batch converter (based on Jasper)
- 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
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.