LoginSignup
2
3

More than 5 years have passed since last update.

Ubuntuに3DレンダリングエンジンPanda3Dをインストール

Last updated at Posted at 2018-05-17
実行した環境

Ubuntu Stdio 18.04LTS
Python 2.7.15rc1

確認
$ pip search panda3d
Panda3D (1.9.4)            - Latest stable release, Python 2 only
cefpanda (0.1)             - Panda3D-friendly wrapper around cefpython
panda3d_inputmapper (0.1)  - Simple input mapper to use with Panda3D
vext.panda3d (0.6.1)       - Use system panda3d from a virtualenv <ーvext.panda3dのビルドホイールに失敗しました
panda3d_pman (0.1)         - A Python package to help bootstrap and manage Panda3D applications
render_pipeline (2.0)      - Physically Based Rendering and Deferred Shading for the Panda3D Game Engine <ーrender_pipelineの要件を満たすバージョンが見つかりませんでした(バージョン:から)

$ pip3 search panda3d  # Python 2 onlyということなのでインストールしていない
Panda3D (1.9.4)            - Latest stable release, Python 2 only
vext.panda3d (0.6.1)       - Use system panda3d from a virtualenv
panda3d_inputmapper (0.1)  - Simple input mapper to use with Panda3D
cefpanda (0.1)             - Panda3D-friendly wrapper around cefpython
panda3d_pman (0.1)         - A Python package to help bootstrap and manage Panda3D applications
render_pipeline (2.0)      - Physically Based Rendering and Deferred Shading for the Panda3D Game Engine
インストール
$ pip install Panda3D cefpanda panda3d_inputmapper panda3d_pman

vext.panda3d
render_pipeline
がエラーでインストールできないためか??、サンプルプログラムの一部(多数??)にエラーがでます。

インストール失敗

Panda3Dの古いVerはPython2専用で、最新VerはPython3で使用出来るようですが、ことごとく失敗しました。
ネットで情報を集めようとしましたが、海外のサイトでもほとんど見つけることが出来ませんでした。

ダウンロード(サンプルプログラムは使用できました。マニュアルも使用できるかも知れません。)
https://www.panda3d.org/download.php?platform=ubuntu&version=1.8.0&sdk

https://www.rosehosting.com/blog/how-to-install-panda3d-on-ubuntu-10-04/
Ubuntu 10.04にPanda3Dをインストールする方法(この中でインストールしているパッケージは現在のUbuntuにはありませんでした。)

海綿のような物が、階段の上から転げ落ちていきます。

image.png

http://www.cadnav.com/
上記のサイトでPanda3Dで使用出来る3Dモデルが無料でダウンロード出来る。
*.objのファイルをダウンロードして、
3次元のゲームエンジン Panda 3d を使ってみる
https://www.kunihikokaneko.com/dblab/python3d/panda3d.html
にあるサンプルプログラムで簡単にモデルをマウス・カーソルキーで移動・回転等ができる。

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3