Normal Prim | OK | |
Sculpted Prim | OK | |
Mesh | OK | Textures are limited to 32 pieces |
Tree & Grass | Middling | Linden Tree is not supported. Some planar objects are used as substitutes. |
Flexible Prim | Middling | Become a normal object |
Terrain | Middling | Terrain Texture is not well |
Var Region | OK | |
Mega Region | Middling | Regions of non-root useless |
Avatar/NPC | No | |
Script/Particle System | No | |
Media | No | |
Water | No | Water level of Terrain will be 0m |
Others | No |
Sorry Japanese Text
# dnf install zlib-devel -y
# wget https://github.com/uclouvain/openjpeg/archive/refs/tags/v2.5.2.tar.gz # tar zxfv version.2.5.tar.gz # cd openjpeg-version.2.5 # cmake . # make # make install
# git clone https://github.com/JunkBox-Library/JunkBox_Lib.git # cd JunkBox_Lib # ./config.sh # ./configure --enable-jpeg --enable-openjpeg=/usr/local:2.5 # make # cd C++Lib # make # cd ../.. # git clone https://github.com/MTSGJ/oarconv # cd oarconv # make
% oarconv -h
% mkdir OAR % cd OAR % tar zxfv (any directory)/oarfile.oar % cd .. % oarconv -i OAR -o DAE
% oarconv -i OAR -o DAE -f OAR/objects/xxxx.xml
% oarconv -i OAR -o DAE -e 0
% oarconv -i ABYSS -o STL -f ABYSS/objects/Venus_428-154-3720__e633f42c-abb2-498b-aadb-ea6781506f98.xml -b
% oarconv -i OAR -a /usr/local/opensim/bin/assets/TexturesAssetSet:./assets --dae --unity --joint
# oarconv -i OAR -a /usr/local/opensim/bin/assets/TexturesAssetSet:./assets --obj --ue --dg -d
oarconv [-i OAR_directory] [-o output_directory] [-a adding_assets_directories_that_separated_by_':'] [-f object_xml_file] [-t terrain_texture_scale] [-c external_convert_command_of_jp2] [-s start_no.] [-e end_no.] [-x shift_of_x_direction] [-y shift_of_y_direction] [-z shift_of_z_direction] [--dae | --obj | --gltf | --glb | --stl] [--unity | --ue] [--dg | --nooffset] [--joint] [-d] [-v] [-h | --help] -i : specify OAR directory. default is ./ -o : specify output directory. default is DAE/ -f : specify object xml file. only specified file is converted. -a : specify adding assets directories that separated by ':'. default is /usr/local/share/oarconv/assets/:./assets/ -t : specify Terrain texture scale. default is 7.000000 -c : specify external convert command from jp2 to other image. default is "/usr/local/bin/j2k_to_image -i "%s" -o "%s" >/dev/null 2>&1" -s : specify start number of xml file. default is 0. -e : specify end number of xml file. count from zero. default is -1 (minus number means infinity). -x : specify shift of x direction of all objects. default is 0.0 -y : specify shift of y direction of all objects. default is 0.0 -z : specify shift of z direction of all objects. default is 0.0 --dae : output Collada DAE file(s). --obj : output Wavefront OBJ file(s). --gltf: output glTF file(s). --glb : output glb file(s). --stl : output STL ASCII file(s). --unity : for Unity Engine. --ue : for Unreal Engine. --dg : degenerate shift data to the origin. --tga : use TGA file as texture. --png : use PNG file as texture. (default) --nooffset : same for --dg --joint : Process Joints -d : debug mode. display debug information. -v : display version information. -h : display this help messages. --help : display this help messages. ex.) oarconv -i OAR -a /usr/local/opensim/bin:./assets --dae --unity --joint --tga ex.) oarconv -i OAR -a /usr/local/opensim/bin/assets/TexturesAssetSet:./assets --obj --ue --dg -d ex.) oarconv -i OAR -s 0 -e 0 --dae --unity # output terrain data only
License of OAR Converter OAR Converter Copyright (c) 2014-2016 Fumi.Iseki, Austin Tate, D.Mizumaki and K.Suzuki, https://www.nsl.tuis.ac.jp/ All rights reserved. BSD 3-Clause License Copyright (c) 2023, Metaverse Technology Study Group of Japan Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This software is not guaranteed at all.
The author doesn't assume the responsibility for the problem that occurs along with use, remodeling, and the re-distribution of this software at all.
Please use everything by the self-responsibility.