flagflag  If you want to see English page, please click "English" Button at Left.
12: 2015-05-06 (水) 01:40:08 iseki ソース 現: 2018-11-14 (水) 11:10:13 iseki ソース
Line 1: Line 1:
-** OARCONV [#w9a5caae] +** OAR Converter for Unity3D [#w9a5caae] 
-- This system converts from OAR of OpenSim to Collada files. +- This system converts from [[OAR]] of OpenSim to Collada files for [[Unity3D]]
-- If you need more quality, please use [[Tipodean's service>http://www.tipodean.com/converte​r/index.html]]. I think that system of Tipodean would be better quality than our system.+- This software was developed by [[Fumi Iseki>Fumi.Hax]], ''[[Austin Tate>http://www.aiai.ed.ac.uk/~bat/]]'',​ Daichi Mizumaki and Kohe Suzuki 
 +-- Copyright (c) 2014 Fumi.Iseki, Austin Tate, D.Mizumaki and K.Suzuki, http://www.nsl.tuis.ac.jp/xoops/modules/​xpwiki/?OAR%20Converter , All rights reserved. 
 +- %%If you need more quality, please use [[Tipodean's service>http://www.tipodean.com/converte​r/index.html]]. I think that system of Tipodean would be better quality than our system. %%  Tipodean is lost? 
 +- [[Howto Build Unity Appli >./Unity3D]] 
 +- Latest Version is 1.4.4 
 +#br
 +**** for MS Windows [#j6251fd6]
 +- Windows UI is available now. Please see [[OARConvWin]].
 +#br
 +*** Change Log [#n096cc75]
 +- [[Change Log of Old Version>./Change Log]]
#br #br
 +
 +**** v1.4.x [#h972db58]
 +- v1.4.4
 +-- fix "tree rotation bug" that tree does not rotation. re-generate tree images
 +
 +- v1.4.3
 +-- correct Gray Scale Sculpt Image
 +
 +-v1.4.2
 +-- support MS Windws
 +
 +- v1.4.1
 +-- fix memory leak of STLTool, for VS C++
 +
 +- v1.4.0
 +-- BREP (Boundary Representation) is used for vertexes arrangement. The data (dae file) size decreases.
 +-- support of output of STL file(s) using BREP
 +--- STLView: http://www.nsl.tuis.ac.jp/xoops/modules/​d3downloads/index.php?page=singlefile&ci​d=7&lid=4
 +#br
 +
 +*** Attention [#u6c728fc]
 +Japanese Text
 +- 全てのデータが問題なく変換できる訳ではありません.正確に変換できないオブジェクトがあります.
 +- 最大限の変換効果を得るには,エディタ拡張の [[SelectOARShader>http://www.nsl.tuis.ac​.jp/svn/linux/oarconv/trunk/Unity3D/Edit​or/SelectOARShader.cs]] を経由して Unityにインポートする必要があります.
 +- その他,こちらで把握していない問題点が多数存在するものと思われます.
 +- SL Viewer は真に偉大なソフトウェアです (とても真似できん!)
 +#br
 +
 +**** Not Support (そもそもコーディングしていない機能) [#y0a5b55f]
 +- サーポートしていないシェーディング方法があります(バンプマップ,スペキュラマップなど).
 +- フレキシブルプリム,リンデンツリーはサポートしていません.
 +- スクリプト(パーティクルシステム)はサポートしてません.
 +- 水面・水中はサポートしていません.Unityのアセットを使用してください.
 +#br
 +
 +**** Known Bugs (能力限界) [#g556f6ad]
 +- テクスチャが(正確に)読み込めない場合があります.
 +- アルファチャネルが正確に表示されない場合があります(アルファブレンディングなど).
 +- 一部テクスチャが正確に貼り付けられない場合があります(チューブプリムの側面など).
 +#br
 +
 +** Version 1.4 [#qc579508]
*** Functions. [#wc153255] *** Functions. [#wc153255]
-| Normal Prim | maybe OK |Test is not enough | +| Normal Prim | OK |But Test is not enough | 
-| Sculpted Prim | %%OK%% Middling | |+| Sculpted Prim | OK |But Test is not enough |
| Mesh | OK |Textures are limited to 32 pieces | | Mesh | OK |Textures are limited to 32 pieces |
-| Tree & Grass | not Well | |+| Tree & Grass | Middling |Linden Tree is not supported | 
 +| Flexible Prim | No | |
| Terrain | Middling |Terrain Texture is not well | | Terrain | Middling |Terrain Texture is not well |
| Var Region | OK | | | Var Region | OK | |
| Mega Region | Middling |Regions of non-root useless | | Mega Region | Middling |Regions of non-root useless |
-| Avatar | No | | +| Avatar/NPC | No | | 
-| Particle System | No | |+| Script/Particle System | No | | 
 +| Media | No | |
| Water | No |Water level of Terrain will be 0m | | Water | No |Water level of Terrain will be 0m |
| Others | No | | | Others | No | |
Line 23: Line 77:
*** Download [#f6b9aa88] *** Download [#f6b9aa88]
-- OAR Converter Source Code: http://www.nsl.tuis.ac.jp/xoops/modules/​d3downloads/index.php?page=singlefile&ci​d=4&lid=43 +- [[OAR Converter Binary v1.4.0 (for x86_64 Linux)>http://www.nsl.tuis.ac.jp/xoops/m​odules/d3downloads/index.php?page=single​file&cid=4&lid=46]] 
- +- [[OAR Converter Source Code v1.4.0 (for Linux)>http://www.nsl.tuis.ac.jp/xoops/modules/​d3downloads/index.php?page=singlefile&ci​d=4&lid=43]] 
-- Subversion Repository+#br 
 +- Subversion Repository (Latest Source Code)
-- JunkBox_Lib: http://www.nsl.tuis.ac.jp/svn/linux/Junk​Box_Lib/branches/OARConv -- JunkBox_Lib: http://www.nsl.tuis.ac.jp/svn/linux/Junk​Box_Lib/branches/OARConv
-- oarconv main: http://www.nsl.tuis.ac.jp/svn/linux/oarc​onv/trunk -- oarconv main: http://www.nsl.tuis.ac.jp/svn/linux/oarc​onv/trunk
 +#br
 +- ''[[for MS Windows>OARConvWin]] ''
 +#br
 +- ''%%We do not distribute binary code, sorry. Please compile it by yourself.%%''
 +- Please see [[UnityChan License (Japanese Text)>http://unity-chan.com/contents/lic​ense_jp/]]
-- We do not distribute binary code, sorry. Please compile it by yourself.+- [[STLView for STL files at Windows by Fumi.Iseki>http://www.nsl.tuis.ac.jp/xoo​ps/modules/d3downloads/index.php?page=singlefile&cid=7&lid=4]]
#br #br
-*** Install [#t5fa69f9]+*** Install from Binary [#t5fa69f9] 
 +**** If you are root [#i4f6cdac] 
 +- Please extract zip file and execute make command. 
 +- Require sudo command by distribution. 
 + # unzip oarconv_bin-x.y.z.zip 
 + # cd oarconv 
 + # make install 
 +- If /etc/ld.so.conf does not include /usr/local/lib, please insert ''/usr/local/lib'' to ''/etc/ld.so.conf'' . And execute ''ldconfig'' command. 
 +#br 
 + 
 +**** If you are not root [#id60ff9a] 
 +- Please exrtract zip file at your home directory. 
 +- And please use ''~/oarconv/oarconv.sh'' shell script instead of ~/oarconv/bin/oarconv command 
 + $ cd 
 + $ unzip oarconv_bin-x.y.z.zip 
 +#br 
 + 
 +*** Install from Source Code [#t5fa69f9] 
**** Needed External Libraries [#zd40935b] **** Needed External Libraries [#zd40935b]
- zlib devel package - zlib devel package
-- If you can use yum command, please execute ''yum install zlib-devel'' command. -- If you can use yum command, please execute ''yum install zlib-devel'' command.
-- libjpeg devel package + # yum install zlib-devel -y 
--- If you can use yum command, please execute ''yum install libjpeg-devel'' command. + 
-- [[OpenJpeg]] (2.0 or 2.1) http://www.openjpeg.org/ +- [[OpenJpeg]] (v1.2) http://www.openjpeg.org/ 
--- Please install openjpeg to ''/usr/local'' +-- https://github.com/uclouvain/openjpeg/archive/version.1.2.tar.gz 
-- http://downloads.sourceforge.net/project/openjpeg.mirror/2.0.1/openjpeg-2.0.1.tar.gz +-- do not execute ''cmake .'' 
-- http://downloads.sourceforge.net/project/openjpeg.mirror/2.1.0/openjpeg-2.1.0.tar.gz+ # wget https://github.com/uclouvain/openjpeg/archive/version.1.2.tar.gz 
 + # tar zxfv version.1.2.tar.gz 
 + # cd openjpeg-version.1.2 
 + # make 
 + # make install 
 +#br
- # wget https://openjpeg.googlecode.com/files/openjpeg-2.0.0.tar.gz +- [[OpenJpeg]] (v2.x) http://www.openjpeg.org/ (This is a option, but we strongly recommend to install.) 
- # tar zxfv openjpeg-2.0.0.tar.gz +-- We recommend to install ''v2.1'', too. 
- # cd openjpeg-2.0.0+--- Why you install two versions of OpenJpeg? 
 +--- Because there is a case v1.x can not read newer Jpeg2000. 
 +-- https://github.com/uclouvain/openjpeg/ar​chive/version.2.1.tar.gz 
 + # wget https://github.com/uclouvain/openjpeg/archive/version.2.1.tar.gz 
 + # tar zxfv version.2.1.tar.gz 
 + # cd openjpeg-version.2.1
 # cmake .  # cmake .
 # make  # make
Line 55: Line 143:
 # tar zfxv oarconv-x.y.z.tar.gz  # tar zfxv oarconv-x.y.z.tar.gz
 # cd oarconv-x.y.z  # cd oarconv-x.y.z
- # ./configure --enable-jpeg --enable-openjpeg=2.0      (if you installed openjpeg-2.1, use --enable-openjpeg=2.1) + # ./configure --enable-openjpeg
- # make+
 # cd C++Lib  # cd C++Lib
 # make  # make
Line 74: Line 161:
 % mkdir OAR  % mkdir OAR
 % cd OAR  % cd OAR
- % zcat (any directory)/oarfile.oar |tar xfv -+ % tar zxfv (any directory)/oarfile.oar
 % cd ..  % cd ..
- % oarconv -i OAR -o DAE -d+ % oarconv -i OAR -o DAE
-- only xxxx.xml is converted+- convert only xxxx.xml object
- % oarconv -i OAR -o DAE -f OAR/objects/xxxx.xml -d+ % oarconv -i OAR -o DAE -f OAR/objects/xxxx.xml
 +- convert only terrain data
 + %  oarconv -i OAR -o DAE -e 0
 +
 +- get a STL file of one object
 + % oarconv -i ABYSS -o STL -f ABYSS/objects/Venus_428-154-3720__e633f4​2c-abb2-498b-aadb-ea6781506f98.xml -b
#br #br
**** Help message [#a90ff5f4] **** Help message [#a90ff5f4]
- oarconv [-i OAR directory] [-o output directory] [-a adding assets directores that separated by ':'] [-f object xml file] 
-         [-s terrain texture scale] [-t convert image file type] [-c convert command from jp2 to other image file] 
-         [-q] [-d] [-v] [-h] 
 + 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]
 +         [-b] [-p] [-d] [-v] [-h]
 + 
   -i : specify OAR directory. default is ./    -i : specify OAR directory. default is ./
-   -f : specify object xml file. only specified file is converted. 
   -o : specify output directory. default is ./DAE/    -o : specify output directory. default is ./DAE/
-   -a : specify adding assets directores that separated by ':'. default is ./assets/ +   -f : specify object xml file. only specified file is converted. 
-   -t : specify convert image file type (file extension). default is .tga +   -a : specify adding assets directories that separated by ':'. default is /usr/local/share/oarconv/assets/:./assets/ 
-   -c : specify convert command from jp2 to other image file. default is "/usr/local/bin/opj_decompress -i %s -o %s >/dev/null 2>&1" +   -t : specify terrain texture scale. default is 7.000000 
-   -s : specify terrain texture scale. default is 7.000000 +   -c : specify external convert command from jp2 to other image. default is "/usr/local/bin/opj_decompress -i %s -o %s >/dev/null 2>&1" 
-   -q : high quarity mode for Sculpted Prims. need more time and more memory.+   -s : specify start number of xml file. default is 0
 +   -e : specify end number of xml file. 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 
 +   -b : output STL file(s) using BREP. 
 +   -p : when linked objects include phantom even one, saved to Phantom directory.
   -d : debug mode. display debug information.    -d : debug mode. display debug information.
   -v : display version information.    -v : display version information.
   -h : display this help messages.    -h : display this help messages.
 + 
 ex.) oarconv -i OAR -a /usr/local/opensim/bin/assets/TexturesAs​setSet:./assets -d  ex.) oarconv -i OAR -a /usr/local/opensim/bin/assets/TexturesAs​setSet:./assets -d
#br #br
Line 105: Line 205:
*** Bugs or Limitations [#l7c6d7ff] *** Bugs or Limitations [#l7c6d7ff]
**** oarconv [#h97c83df] **** oarconv [#h97c83df]
-- Planar Texture is not supported. +- %%Planar Texture is not supported.%% 
-- 時々,Sculpted Prim が崩れる.+- Texture Bumpmap is not supported.
#br #br
**** Unity3D [#r79cdfe6] **** Unity3D [#r79cdfe6]
-- Unity3D does not read some parameters from collada file. ex. specular, transparency, emission and  ambient. +- Unity3D does not read some parameters from collada file. ex. light, glow, %%specular, bright%%
-#br +- %%コライダー設定(物理設定)は読み込まれない.%%
- +
-**** OpenJpeg [#xdb6b9c2] +
-- OpenJpeg2 often outputs the following messages. However, this does not need to care+
--- WARNING in tgt_create tree->numnodes == 0, no tree created.+
#br #br
Line 122: Line 218:
-- oarconv treats BumpMap as extra tag. -- oarconv treats BumpMap as extra tag.
 +#br
 +
 +*** Trouble Shooting [#s3f53a84]
 +**** Error messages:  "OARTool::ConvertTexture: ERROR: texture ..... convert error (-21, 127)." [#s73c3046]
 +- OpenJpeg v1.x can not convert those textures. Please install OpenJpeg v2.x, too.
#br #br
*** Demo [#m41bf72b] *** Demo [#m41bf72b]
-- http://youtu.be/eOd5Vsb85q4+- http://youtu.be/eOd5Vsb85q4 (OLD by v1.0) 
 +- https://youtu.be/LUhqNJHLCuM (NEW by v.1.2.0) 
 +- http://moon-light.nsl.tuis.ac.jp/unity/G​ardenOasis/GardenOasis.html  with Unity Chan 
 +- http://moon-light.nsl.tuis.ac.jp/unity/B​02/B02.html  with SD Unity Chan
#br #br
-*** License. [#t9bbafac] +*** License [#t9bbafac] 
-- This is Japanese Text+- OAR Converter is provided under the following BSD type license.
-このソフトウェアに含まれるライブラリのライセンスの効力がこのソフトウェアにもおよぶ場合は,そのライセンスに従います. + OAR Converter Copyright (c) 2014-2016 Fumi.Iseki, Austin Tate, D.Mizumaki and K.Suzuki, 
-この限りでない場合は,以下のライセンスに従います.+ http://www.nsl.tuis.ac.jp/, 
 + All rights reserved. 
 +  
 +  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 
 +  
 + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 
 + * 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. 
 + * Neither the name of the OAR Converter nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 
 + * Please respect the copyright of content providers when using OAR Converter. 
 +  
 +  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 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.
-このソフトウェアは非商用に限りフリーで使用できます.再配布,改造等も非商用であれば作者に断り無く行うことができます. ただし,再配布(改造後の再配布も含む)する場合は,元の配布物を完全に配布し,以下のコピーライトを必ず明記してください. 
-''OAR Converter: Copyright (C) 2014 Fumi.Iseki and K.Suzuki'' 
-商用(このソフトウェアを使用したサービスで対価を得る場合も含む)で使用する場合は iseki@solar-system.tuis.ac.jp  までご連絡をください.(使用状況をお知らせください) 
#br #br
Line 151: Line 262:
- This system uses OpenJpeg command and library. see also http://www.openjpeg.org/ - This system uses OpenJpeg command and library. see also http://www.openjpeg.org/
- This system uses zlib library. http://www.zlib.net/ - This system uses zlib library. http://www.zlib.net/
-- This software is based in part on the work of the Independent JPEG Group. http://www.ijg.org/ 
- This software is based on JunkBox Library. http://www.nsl.tuis.ac.jp/xoops/modules/​xpwiki/?Junk%20Box%20Library - This software is based on JunkBox Library. http://www.nsl.tuis.ac.jp/xoops/modules/​xpwiki/?Junk%20Box%20Library


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

90 人のユーザが現在オンラインです。 (27 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 90

もっと...

アクセスカウンタ

今日 : 1506815068150681506815068
昨日 : 1529415294152941529415294
総計 : 2340976823409768234097682340976823409768234097682340976823409768
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com