OSDN Git Service

add site document.
authorousttrue <ousttrue@gmail.com>
Wed, 11 Aug 2010 23:38:42 +0000 (08:38 +0900)
committerousttrue <ousttrue@gmail.com>
Wed, 11 Aug 2010 23:38:42 +0000 (08:38 +0900)
doc/Makefile [new file with mode: 0644]
doc/make.bat [new file with mode: 0644]
doc/source/blender.rst [new file with mode: 0644]
doc/source/c++.rst [new file with mode: 0644]
doc/source/conf.py [new file with mode: 0644]
doc/source/index.rst [new file with mode: 0644]
doc/source/plugins.png [new file with mode: 0755]

diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644 (file)
index 0000000..a40abe1
--- /dev/null
@@ -0,0 +1,130 @@
+# Makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS    =
+SPHINXBUILD   = sphinx-build
+PAPER         =
+BUILDDIR      = build
+
+# Internal variables.
+PAPEROPT_a4     = -D latex_paper_size=a4
+PAPEROPT_letter = -D latex_paper_size=letter
+ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
+
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
+
+help:
+       @echo "Please use \`make <target>' where <target> is one of"
+       @echo "  html       to make standalone HTML files"
+       @echo "  dirhtml    to make HTML files named index.html in directories"
+       @echo "  singlehtml to make a single large HTML file"
+       @echo "  pickle     to make pickle files"
+       @echo "  json       to make JSON files"
+       @echo "  htmlhelp   to make HTML files and a HTML help project"
+       @echo "  qthelp     to make HTML files and a qthelp project"
+       @echo "  devhelp    to make HTML files and a Devhelp project"
+       @echo "  epub       to make an epub"
+       @echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+       @echo "  latexpdf   to make LaTeX files and run them through pdflatex"
+       @echo "  text       to make text files"
+       @echo "  man        to make manual pages"
+       @echo "  changes    to make an overview of all changed/added/deprecated items"
+       @echo "  linkcheck  to check all external links for integrity"
+       @echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
+
+clean:
+       -rm -rf $(BUILDDIR)/*
+
+html:
+       $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+       @echo
+       @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
+
+dirhtml:
+       $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
+       @echo
+       @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
+
+singlehtml:
+       $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
+       @echo
+       @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
+
+pickle:
+       $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
+       @echo
+       @echo "Build finished; now you can process the pickle files."
+
+json:
+       $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
+       @echo
+       @echo "Build finished; now you can process the JSON files."
+
+htmlhelp:
+       $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
+       @echo
+       @echo "Build finished; now you can run HTML Help Workshop with the" \
+             ".hhp project file in $(BUILDDIR)/htmlhelp."
+
+qthelp:
+       $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
+       @echo
+       @echo "Build finished; now you can run "qcollectiongenerator" with the" \
+             ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
+       @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/MeshIO.qhcp"
+       @echo "To view the help file:"
+       @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/MeshIO.qhc"
+
+devhelp:
+       $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
+       @echo
+       @echo "Build finished."
+       @echo "To view the help file:"
+       @echo "# mkdir -p $$HOME/.local/share/devhelp/MeshIO"
+       @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/MeshIO"
+       @echo "# devhelp"
+
+epub:
+       $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
+       @echo
+       @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+
+latex:
+       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+       @echo
+       @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
+       @echo "Run \`make' in that directory to run these through (pdf)latex" \
+             "(use \`make latexpdf' here to do that automatically)."
+
+latexpdf:
+       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+       @echo "Running LaTeX files through pdflatex..."
+       make -C $(BUILDDIR)/latex all-pdf
+       @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+
+text:
+       $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
+       @echo
+       @echo "Build finished. The text files are in $(BUILDDIR)/text."
+
+man:
+       $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
+       @echo
+       @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
+
+changes:
+       $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
+       @echo
+       @echo "The overview file is in $(BUILDDIR)/changes."
+
+linkcheck:
+       $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
+       @echo
+       @echo "Link check complete; look for any errors in the above output " \
+             "or in $(BUILDDIR)/linkcheck/output.txt."
+
+doctest:
+       $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
+       @echo "Testing of doctests in the sources finished, look at the " \
+             "results in $(BUILDDIR)/doctest/output.txt."
diff --git a/doc/make.bat b/doc/make.bat
new file mode 100644 (file)
index 0000000..d046aa9
--- /dev/null
@@ -0,0 +1,155 @@
+@ECHO OFF
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+       set SPHINXBUILD=sphinx-build
+)
+set BUILDDIR=build
+set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source
+if NOT "%PAPER%" == "" (
+       set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
+)
+
+if "%1" == "" goto help
+
+if "%1" == "help" (
+       :help
+       echo.Please use `make ^<target^>` where ^<target^> is one of
+       echo.  html       to make standalone HTML files
+       echo.  dirhtml    to make HTML files named index.html in directories
+       echo.  singlehtml to make a single large HTML file
+       echo.  pickle     to make pickle files
+       echo.  json       to make JSON files
+       echo.  htmlhelp   to make HTML files and a HTML help project
+       echo.  qthelp     to make HTML files and a qthelp project
+       echo.  devhelp    to make HTML files and a Devhelp project
+       echo.  epub       to make an epub
+       echo.  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter
+       echo.  text       to make text files
+       echo.  man        to make manual pages
+       echo.  changes    to make an overview over all changed/added/deprecated items
+       echo.  linkcheck  to check all external links for integrity
+       echo.  doctest    to run all doctests embedded in the documentation if enabled
+       goto end
+)
+
+if "%1" == "clean" (
+       for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
+       del /q /s %BUILDDIR%\*
+       goto end
+)
+
+if "%1" == "html" (
+       %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
+       echo.
+       echo.Build finished. The HTML pages are in %BUILDDIR%/html.
+       goto end
+)
+
+if "%1" == "dirhtml" (
+       %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
+       echo.
+       echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
+       goto end
+)
+
+if "%1" == "singlehtml" (
+       %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
+       echo.
+       echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
+       goto end
+)
+
+if "%1" == "pickle" (
+       %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
+       echo.
+       echo.Build finished; now you can process the pickle files.
+       goto end
+)
+
+if "%1" == "json" (
+       %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
+       echo.
+       echo.Build finished; now you can process the JSON files.
+       goto end
+)
+
+if "%1" == "htmlhelp" (
+       %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
+       echo.
+       echo.Build finished; now you can run HTML Help Workshop with the ^
+.hhp project file in %BUILDDIR%/htmlhelp.
+       goto end
+)
+
+if "%1" == "qthelp" (
+       %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
+       echo.
+       echo.Build finished; now you can run "qcollectiongenerator" with the ^
+.qhcp project file in %BUILDDIR%/qthelp, like this:
+       echo.^> qcollectiongenerator %BUILDDIR%\qthelp\MeshIO.qhcp
+       echo.To view the help file:
+       echo.^> assistant -collectionFile %BUILDDIR%\qthelp\MeshIO.ghc
+       goto end
+)
+
+if "%1" == "devhelp" (
+       %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
+       echo.
+       echo.Build finished.
+       goto end
+)
+
+if "%1" == "epub" (
+       %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
+       echo.
+       echo.Build finished. The epub file is in %BUILDDIR%/epub.
+       goto end
+)
+
+if "%1" == "latex" (
+       %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
+       echo.
+       echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
+       goto end
+)
+
+if "%1" == "text" (
+       %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
+       echo.
+       echo.Build finished. The text files are in %BUILDDIR%/text.
+       goto end
+)
+
+if "%1" == "man" (
+       %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
+       echo.
+       echo.Build finished. The manual pages are in %BUILDDIR%/man.
+       goto end
+)
+
+if "%1" == "changes" (
+       %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
+       echo.
+       echo.The overview file is in %BUILDDIR%/changes.
+       goto end
+)
+
+if "%1" == "linkcheck" (
+       %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
+       echo.
+       echo.Link check complete; look for any errors in the above output ^
+or in %BUILDDIR%/linkcheck/output.txt.
+       goto end
+)
+
+if "%1" == "doctest" (
+       %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
+       echo.
+       echo.Testing of doctests in the sources finished, look at the ^
+results in %BUILDDIR%/doctest/output.txt.
+       goto end
+)
+
+:end
diff --git a/doc/source/blender.rst b/doc/source/blender.rst
new file mode 100644 (file)
index 0000000..c2abe4b
--- /dev/null
@@ -0,0 +1,218 @@
+=======
+Blender
+=======
+
+Blender2.53に対応。
+
+meshioライブラリのpythonバインディングに同梱しています。
+
+Cモジュール無しでも動く代替モジュールを同梱しました(1.02)。
+
+履歴
+----
+
+.. list-table:: 履歴
+    :widths: 100 2000
+    :header-rows: 1
+
+    * - Ver
+      - 更新
+    * - 1.02
+      - blender2.53でCモジュールを読ませるのにいろいろ問題があるので、pythonのみで代替モジュール作って追加した。[[BR]]pmdの剛体を未実装。[[BR]]リポジトリにビルド用に不足しているファイルなどを追加した。
+    * - 1.00 
+      - blender2.53に対応した。
+    * - 0.15
+      - mqo_exportでapply modifierオプションを追加(2.5のみ)[[BR]]pmd_exportで面法線じゃなくて頂点法線をエクスポート。uvのバグ修正。など
+    * - 0.14
+      - bone groupでボーンの表示枠を保持するようにした。toontextureを保持するようにした。[[BR]]sphereマップの互換性を高めた。pmd_exportのモーフィングバグを退治した。など
+    * - 0.13
+      - pmd_importのsphereマップに対応。pmd_exportでテクスチャに対応
+    * - 0.12
+      - 中身リファクタリング。pmd_importとmqo_importのmaterial調整、透明テクスチャ。pmd_exportでのmaterial順を修正
+    * - 0.11
+      - pmd_importのconstraintの名前の保存方法を変更。pmd_exportもそれにあわせて変更。[[BR]]pmd_import, mqo_importのsmoothing周りを修正。mqo_importのsmoothingの角度判定はまだ。[[BR]]pmd_importの面の表裏を修正。
+    * - 0.10
+      - mqoエクスポートの表面反転を修正。mqoインポート・エクスポートのscaleが動作するように修正。pkg作成を修正
+    * - 0.9
+      - 20種類ほど読み込んで微調整した。また、pkgの作成ミス。ほんとすまん
+    * - 0.8
+      - ボーンエクスポート修正。剛体バグ修正。pmdの更新に追随できていないのでvmd_importを一時はずし
+    * - 0.7
+      - 不足ファイルの追加。剛体実装
+    * - 0.6
+      - 前後のバージョンで必要なファイル(bl24.pyとbl25.py)が抜けてました。すまん
+
+
+Blender2.53プラグインの使い方
+-----------------------------
+
+python3向けバインディングをインストールするとC:\Python31\blender25にインポータ、エクスポータがコピーされます。
+これらのファイルをディレクトリごと2.53/scripts/addonsにコピーしてください。
+
+meshio(Cモジュール)は無くても動くようになりました。
+前バージョンでコピーされている場合は削除してしまってください。
+
+1.02でのファイル配置はこうです。
+
+::
+
+    C:\blender-2.53-beta-windows32
+      +blender.exe
+      +2.53
+        +scripts
+          +addons
+            +bl25.py
+            +io_import_scene_mqo.py
+            +io_export_scene_mqo.py
+            +io_import_scene_pmd.py
+            +io_export_scene_pmd.py
+            +pymeshio
+              +__init__.py
+              +enlishmap.py
+              +mmd.py
+              +mqo.py
+
+ファイルのコピーが終わったらBlenderを起動して、Fileメニューから[User preference]ウィンドウを開いて[addons]タブを選択。
+pmd, mqoのインポータ・エクスポータの右側のチェックボックスをオンにして、[save defaults]。
+ファイルメニューのImportまたはExportにオンにしたAddOnが表示されるようになります。
+
+.. image:: plugins.png
+         
+
+日本語パスの扱いについて
+^^^^^^^^^^^^^^^^^^^^^^^^
+
+Blenderのファイルセレクタで日本語を含むパスを選択すると
+::
+
+ UnicodeDecodeError: 'utf8' codec can't decode byte 0x83 in position 32: unexpected code byte
+
+となります。
+内部的にsjisを含む日本語パスをpython3に渡すときのエラーです。
+日本語を含まないディレクトリにpmdとテクスチャをコピーして、pmdファイル名も日本語を含まないようにしてください。
+
+表示設定
+^^^^^^^^
+3D View で「N」キーでトグルする右側のメニューのディスプレイパネルの中[[BR]]
+Shadingで「GLSL」を選択する。[[BR]]
+3D Viewを「Textured」にする。[[BR]]
+シーンにLampを置いてタイプを「Sun」にする。[[BR]]
+[[BR]]
+この状態で見やすいように調整しています。
+
+
+Blender2.4プラグインの使い方
+----------------------------
+
+python2向けバインディングをインストールするとC:\Python26\blender24にインポータ、エクスポータがコピーされます。
+これらのファイルを.blender/scriptsにコピーしてください。
+
+日本語パスの扱いについて
+^^^^^^^^^^^^^^^^^^^^^^^^
+
+文字化けしてファイルセレクタから選ぶことが困難ですが選択できればうごくはず。
+
+表示設定
+^^^^^^^^
+
+GAME - Blender GLSL Material[[BR]]
+にして[[BR]]
+GAME - GLSL Material Settings - Enable Lighting[[BR]]
+を切る。[[BR]]
+そいで、3D Viewを Textured にした状態で見やすいように調整しとります。
+
+
+mqo
+---
+
+頂点・面
+^^^^^^^^
+
+ほぼ1対1に対応。
+Blender側に1メッシュにつき16マテリアルの制限があるので16以降のマテリアルインデックスが捨ててる(その面のマテリアルが無くなる)。
+
+マテリアル
+^^^^^^^^^^
+
+shader=1(Constant)
+++++++++++++++++++
+
+FRESNEL
+
+それ以外
+++++++++
+
+LAMBERT
+
+pmd 
+---
+
+頂点・面
+^^^^^^^^
+
+ほぼ1対1に対応。
+Blender側に1メッシュにつき16マテリアルの制限があるのでメッシュを分割するときがある。
+このためはじめにモーフィングのある頂点を含むマテリアルだけを集めて1つめのメッシュとして、
+残りを16マテリアル毎にメッシュを作るようにした。
+頂点・面共に順番が維持されない。
+
+ToDo
+++++
+
+エクスポート時の法線
+
+マテリアル
+^^^^^^^^^^
+
+* sph[[BR]]
+* mapping Normal[[BR]]
+* projection Sphere[[BR]]
+
+* spa[[BR]]
+* mapping Normal[[BR]]
+* projection Sphere[[BR]]
+* blend Add[[BR]]
+
+UV
+^^
+
+ToDo
+++++
+
+インポート時の一部UV回転(blenderの0インデックス問題っぽい)
+
+ボーンとボーンウェイト
+^^^^^^^^^^^^^^^^^^^^^^
+名前は、pmdのボーン名を標準モデルの英語名に基づいて作ったマッピングで英語に変換している。
+変換表に無かったらそのまま。
+ボーンウェイトは、頂点グループに保存している。
+Blenderの頂点ウェイトは影響ボーン数の制限が無いので、エクスポート時は上位2つまでを選択するようにしている。
+先端ボーンをボーンレイヤー2に送り込んで非表示にしている。
+IKは[use tail]のチェックをはずしている。[[BR]]
+表示枠をボーングループで代用。
+
+モーフ
+^^^^^^
+シェイプキー。
+名前は、pmdの表情名を標準モデルの英語名に基づいて作ったマッピングで英語に変換している。
+変換表に無かったらそのまま。
+確認作業用にpinを有効にしている。
+
+トゥーンテクスチャ
+^^^^^^^^^^^^^^^^^^
+
+ToonTexturesというオブジェクトに10個のトゥーンテクスチャを保持
+
+剛体
+^^^^
+
+名前は日本語のまま。Blender2.5を改造して日本語フォントを選択すればちゃんと表示されるのだが・・・
+どうするか保留中。
+オブジェクトのトランスフォームが剛体のサイズ、位置、オイラー角を保持している。
+そのほかのパラメタータはカスタムプロパティに保存。
+
+制約(constraint)
+^^^^^^^^^^^^^^^^
+オブジェクトのトランスフォームに位置を保存している。
+そのほかのパラメータ(名前も)はカスタムプロパティに保存。
+
diff --git a/doc/source/c++.rst b/doc/source/c++.rst
new file mode 100644 (file)
index 0000000..9b33e4d
--- /dev/null
@@ -0,0 +1,35 @@
+.. highlight:: c++
+
+C++ライブラリの使い方
+=====================
+
+:: 
+
+    #include <meshio.h>
+    #include <iostream>
+
+
+    int main(int argc, char **argv)
+    {
+        using namespace meshio;
+
+        if(argc<2){
+            std::wcout << "usage: " << argv[0] << " {mqo file}" << std::endl;
+            return -1;
+        }
+        mqo::IO io;
+        if(!io.read(argv[1])){
+            std::wcout << "fail to read " << argv[1] << std::endl;
+            return -1;
+        }
+
+        for(std::vector<mqo::Material>::iterator it=io.materials.begin();
+                it!=io.materials.end();
+                ++it)
+        {
+            std::wcout << it->getName() << std::endl;
+        }
+
+        return 0;
+    }
+
diff --git a/doc/source/conf.py b/doc/source/conf.py
new file mode 100644 (file)
index 0000000..66b7882
--- /dev/null
@@ -0,0 +1,216 @@
+# -*- coding: utf-8 -*-
+#
+# MeshIO documentation build configuration file, created by
+# sphinx-quickstart on Wed Aug 11 22:41:07 2010.
+#
+# This file is execfile()d with the current directory set to its containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+import sys, os
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+#sys.path.insert(0, os.path.abspath('.'))
+
+# -- General configuration -----------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be extensions
+# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+extensions = []
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+#source_encoding = 'utf-8-sig'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'MeshIO'
+copyright = u'2010, ousttrue'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+version = '1.0'
+# The full version, including alpha/beta/rc tags.
+release = '1.0'
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#language = None
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+#today = ''
+# Else, today_fmt is used as the format for a strftime call.
+#today_fmt = '%B %d, %Y'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+exclude_patterns = []
+
+# The reST default role (used for this markup: `text`) to use for all documents.
+#default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+#add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+#add_module_names = True
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+#show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# A list of ignored prefixes for module index sorting.
+#modindex_common_prefix = []
+
+
+# -- Options for HTML output ---------------------------------------------------
+
+# The theme to use for HTML and HTML Help pages.  See the documentation for
+# a list of builtin themes.
+html_theme = 'default'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further.  For a list of options available for each theme, see the
+# documentation.
+#html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+#html_theme_path = []
+
+# The name for this set of Sphinx documents.  If None, it defaults to
+# "<project> v<release> documentation".
+#html_title = None
+
+# A shorter title for the navigation bar.  Default is the same as html_title.
+#html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+#html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+#html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = ['_static']
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+#html_last_updated_fmt = '%b %d, %Y'
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+#html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+#html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+#html_additional_pages = {}
+
+# If false, no module index is generated.
+#html_domain_indices = True
+
+# If false, no index is generated.
+#html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+#html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+#html_show_sourcelink = True
+
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
+#html_show_sphinx = True
+
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
+#html_show_copyright = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a <link> tag referring to it.  The value of this option must be the
+# base URL from which the finished HTML is served.
+#html_use_opensearch = ''
+
+# This is the file name suffix for HTML files (e.g. ".xhtml").
+#html_file_suffix = None
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'MeshIOdoc'
+
+
+# -- Options for LaTeX output --------------------------------------------------
+
+# The paper size ('letter' or 'a4').
+#latex_paper_size = 'letter'
+
+# The font size ('10pt', '11pt' or '12pt').
+#latex_font_size = '10pt'
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title, author, documentclass [howto/manual]).
+latex_documents = [
+  ('index', 'MeshIO.tex', u'MeshIO Documentation',
+   u'ousttrue', 'manual'),
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+#latex_logo = None
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+#latex_use_parts = False
+
+# If true, show page references after internal links.
+#latex_show_pagerefs = False
+
+# If true, show URL addresses after external links.
+#latex_show_urls = False
+
+# Additional stuff for the LaTeX preamble.
+#latex_preamble = ''
+
+# Documents to append as an appendix to all manuals.
+#latex_appendices = []
+
+# If false, no module index is generated.
+#latex_domain_indices = True
+
+
+# -- Options for manual page output --------------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+    ('index', 'meshio', u'MeshIO Documentation',
+     [u'ousttrue'], 1)
+]
diff --git a/doc/source/index.rst b/doc/source/index.rst
new file mode 100644 (file)
index 0000000..50b49d4
--- /dev/null
@@ -0,0 +1,49 @@
+.. MeshIO documentation master file, created by
+   sphinx-quickstart on Wed Aug 11 22:41:07 2010.
+   You can adapt this file completely to your liking, but it should at least
+   contain the root `toctree` directive.
+
+##########
+MeshIO
+##########
+
+ポリゴンメッシュ読み込みライブラリ。
+
+********
+Download
+********
+
+`Download <http://sourceforge.jp/projects/meshio/releases/>`_
+
+**********
+Repository
+**********
+snapshotからソースアーカイブをダウンロードできます。
+
+http://git.sourceforge.jp/view?p=meshio/MeshIO.git;a=tree
+
+****
+機能
+****
+
+.. toctree::
+   :maxdepth: 2
+
+   blender
+   c++
+
+****
+作者
+****
+ツッコミはこちらへ
+
+http://d.hatena.ne.jp/ousttrue/
+
+******************
+Indices and tables
+******************
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
+
diff --git a/doc/source/plugins.png b/doc/source/plugins.png
new file mode 100755 (executable)
index 0000000..8d59889
Binary files /dev/null and b/doc/source/plugins.png differ