Library Preparation
From OpenSimulator
(Difference between revisions)
Line 4: | Line 4: | ||
* 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 (jp2 files with 16,32,64,128,256,512,1024 resolution and aspect ratio's 1:1,1:2,1:4,1:8,1:16,1:32,etc. are supported) | * Prepare your imagefiles (jp2 files with 16,32,64,128,256,512,1024 resolution and aspect ratio's 1:1,1:2,1:4,1:8,1:16,1:32,etc. are supported) | ||
+ | * Copy the jp2 files(including directory-structures) into the /opt/opensim/library directory | ||
==Terrain== | ==Terrain== | ||
* [[Using_L3DT|Use L3DT to create a custom terrain]] | * [[Using_L3DT|Use L3DT to create a custom terrain]] |
Revision as of 11:31, 15 March 2008
Textures
Converting Textures
The jp2 files used by the Secondlife client, are actually j2k files. These can be encoded by image_to_j2k from openjpeg. There is a script(linux only for now), that does all the work for you. It uses imageMagick and image_to_j2k to make valid input files and converts them to j2k fileformat. It then renames the j2k file to jp2 extension, so these can be used within the viewer.
- Download the blender texture cd (as an example)
- Prepare your imagefiles (jp2 files with 16,32,64,128,256,512,1024 resolution and aspect ratio's 1:1,1:2,1:4,1:8,1:16,1:32,etc. are supported)
- Copy the jp2 files(including directory-structures) into the /opt/opensim/library directory