flagflag  If you want to see English page, please click "English" Button at Left.
16: 2015-08-22 (土) 17:00:19 iseki ソース 現: 2018-11-14 (水) 11:10:13 iseki ソース
Line 1: Line 1:
-** OARCONV for Unity3D [#w9a5caae]+** OAR Converter for Unity3D [#w9a5caae]
- This system converts from [[OAR]] of OpenSim to Collada files for [[Unity3D]]. - 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]] - [[Howto Build Unity Appli >./Unity3D]]
 +- Latest Version is 1.4.4
#br #br
-*** Version 1.2 [#b2989113+**** for MS Windows [#j6251fd6
-- It is more high Quality compared to previous version! +- Windows UI is available now. Please see [[OARConvWin]]. 
-- It is not almost require manual operation on Unity3D+#br 
-- [[UnityChan>http://unity-chan.com/]] is supported+ 
-- Auto selection of Shader and import of parameters using [[SelectOARShader>http://www.nsl.tuis.ac.jp/svn/linux/oarconv/trunk/Unity3D/Editor/SelectOARShader.cs]]+*** Change Log [#n096cc75] 
 +- [[Change Log of Old Version>./Change Log]] 
 +#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&cid=7&lid=4
#br #br
*** Attention [#u6c728fc] *** Attention [#u6c728fc]
 +Japanese Text
- 全てのデータが問題なく変換できる訳ではありません.正確に変換できないオブジェクトがあります. - 全てのデータが問題なく変換できる訳ではありません.正確に変換できないオブジェクトがあります.
- 最大限の変換効果を得るには,エディタ拡張の [[SelectOARShader>http://www.nsl.tuis.ac​.jp/svn/linux/oarconv/trunk/Unity3D/Edit​or/SelectOARShader.cs]] を経由して Unityにインポートする必要があります. - 最大限の変換効果を得るには,エディタ拡張の [[SelectOARShader>http://www.nsl.tuis.ac​.jp/svn/linux/oarconv/trunk/Unity3D/Edit​or/SelectOARShader.cs]] を経由して Unityにインポートする必要があります.
Line 32: Line 56:
#br #br
-** Version 1.2 [#qc579508]+** Version 1.4 [#qc579508]
*** Functions. [#wc153255] *** Functions. [#wc153255]
Line 45: Line 69:
| Avatar/NPC | No | | | Avatar/NPC | No | |
| Script/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 52: 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
Line 67: Line 116:
 # yum install zlib-devel -y  # yum install zlib-devel -y
-- [[OpenJpeg]] (1.2 or 1.4) http://www.openjpeg.org/ +- [[OpenJpeg]] (v1.2) http://www.openjpeg.org/
--- We recommend to install v1.2, because OpenSim use v1.2 +
--- We recommend to install ''v2.1'', too. +
---- Why you install two versions of OpenJpeg? +
---- Because there is a case v1.2 can not read newer Jpeg2000, and there is a case v2.1 can not read older Jpeg2000.+
-- https://github.com/uclouvain/openjpeg/ar​chive/version.1.2.tar.gz -- https://github.com/uclouvain/openjpeg/ar​chive/version.1.2.tar.gz
--- https://github.com/uclouvain/openjpeg/archive/version.2​.1.tar.gz +-- do not execute ''cmake .''
 # wget https://github.com/uclouvain/openjpeg/ar​chive/version.1.2.tar.gz  # wget https://github.com/uclouvain/openjpeg/ar​chive/version.1.2.tar.gz
 # tar zxfv version.1.2.tar.gz  # tar zxfv version.1.2.tar.gz
 # cd openjpeg-version.1.2  # cd openjpeg-version.1.2
- # cmake . 
 # make  # make
 # make install  # make install
- # cd ..+#br 
 + 
 +- [[OpenJpeg]] (v2.x) http://www.openjpeg.org/ (This is a option, but we strongly recommend to install.) 
 +-- We recommend to install ''v2.1'', too. 
 +--- 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/ar​chive/version.2.1.tar.gz  # wget https://github.com/uclouvain/openjpeg/ar​chive/version.2.1.tar.gz
 # tar zxfv version.2.1.tar.gz  # tar zxfv version.2.1.tar.gz
Line 88: Line 137:
 # make  # make
 # make install  # make install
- # cd .. 
**** Compile & Install [#tf329e06] **** Compile & Install [#tf329e06]
Line 95: 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-openjpeg=1.2      (if you use v1.4, please specify -enable-openjpeg=1.4) + # ./configure --enable-openjpeg
- # make+
 # cd C++Lib  # cd C++Lib
 # make  # make
Line 122: Line 169:
- convert only terrain data - convert only terrain data
- %  oarconv -i OAR -o DAE -s 0 -e 0+ %  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] 
-         [-t terrain texture scale] [-m material quality num (0-3)] [-c external convert command of jp2] 
-         [-m material quality num (0-3)] [-s start no.] [-e end no.] [-p] [-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 /usr/local/share/oarconv/assets/:./asset​s/+   -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/:./asset​s/
   -t : specify terrain texture scale. default is 7.000000    -t : specify terrain texture scale. default is 7.000000
-   -m : specify material quality 0 - 3. default is 1. when 3 is specified, very large number of textures are generated. 
   -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"    -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"
   -s : specify start number of xml file. default is 0.    -s : specify start number of xml file. default is 0.
   -e : specify end number of xml file. default is -1 (minus number means infinity).    -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.    -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 154: Line 210:
**** Unity3D [#r79cdfe6] **** Unity3D [#r79cdfe6]
-- Unity3D does not read some parameters from collada file. ex. %%specular,%% emission %%and  ambient%%.+- Unity3D does not read some parameters from collada file. ex. light, glow, %%specular, bright%%.
- %%コライダー設定(物理設定)は読み込まれない.%% - %%コライダー設定(物理設定)は読み込まれない.%%
#br #br
Line 162: 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/G​ardenOasis/GardenOasis.html  with Unity Chan
- http://moon-light.nsl.tuis.ac.jp/unity/B​02/B02.html  with SD 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 193: 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
<今日>

オンライン状況

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

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

もっと...

アクセスカウンタ

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