collada-dom-2.2 viewer (ビルドだけ)

Collada(.dae) の Viewer Windows版
以下のソース
http://sourceforge.net/projects/collada-dom/files/Collada%20DOM/Collada%20DOM%202.2/
をVisual Studio 2005 でビルドしたものです。
nVIDIA Cg Toolkit は、
http://www.nvidia.co.jp/object/cg_2_0_may08.html
を使用しました。実行するには、このToolkitをインストールする必要があります。
既に新しいバージョンのCgがインストールされている場合、Cg2.0のbinフォルダー内の
dllをviewer.exeと同じフォルダーに置くと動作します。

幾つかの環境で動作を確認しましたが、
別途 VC++ 2005(VC80) Redistributable Runtime Libraryを
インストールする必要はありませんでした。

あと、DevIL.dllが必要だというダイアログが出るようなら
Developer's Image Library から、ダウンロードしてください。Ver.1.7.8で動作しました。

Download (.exe)バイナリ

動作画面


操作方法

コマンドラインからファイル名を指定して起動します。
例)
>viewer duck.dae

サンプルのCOLLADAファイルは、ソースの
collada-dom/viewer/bin/samples.zip
に入っています。

Keybroad:		  
Tab         Next camera
M           Increase key press and mouse responsiveness by a factor of 25%
N           Decrease key press and mouse responsiveness by a factor of 25%
            Note: M & N key presses affect the responsiveness of W/S/A/D/X/Space keys, left mouse click, right mouse click and mouse wheel
            
Q           Toggle Wireframe
K           Show node hierarchy with lines
L           Toggle Lighting mode
P           Toggle animation
F1          Toggle full screen

W           Move camera closer to the focus point, zoom in
S           Move camera away from the focus point, zoom out
A           Move camera and focus point to the left
D           Move camera and focus point to the right
Space       Move camera and focus point up
X           Move camera and focus point down
F           Change triangle/quad culling setting; rotate between frontface-culling/no-culling/backface-culling

Mouse:
Wheel Up            Move camera closer to the focus point, zoom in
Wheel Down          Move camera away from the focus point, zoom out
Left Click Move     Rotate camera up, down, left and right
Right Click Move    Move camera and focus point up, down, left, right
Middle Click        Next camera


ソースの著作権について

MITライセンス。
Copyright 2006 Sony Computer Entertainment Inc.

Presented by Future on netyou