Panda3D手册:附带的示例程序
The Panda3D Distribution includes quite a few sample programs. The following is a list of what's included, and which features of the engine each sample demonstrates. If you are just learning Panda3D, take a look at the ones marked as "Beginner" difficulty.
Panda3D 安装包中附带有许多示例程序。下面的列表中列出的这些程序演示了引擎的各种功能。如果您是出学者,请先看带有 “新手” 标志的程序。
To run a sample program, you need to install Panda3D. If you're a Windows user, you'll find the sample programs in your Start Menu. If you're a Linux user, you'll find the sample programs in /usr/share/panda3d. On Mac OS X, you'll find them in /Applications/Panda3D/X.X.X/samples.
运行示例程序前要先安装好 Panda3D 。如果您是 Windows 用户,您可以在开始菜单里找到示例程序。如果您是 Linux 用户,您可以在 /usr/share/panda3d 中找到示例程序。在 Mac OS X 下,您可以在 /Applications/Panda3D/X.X.X/samples 中找到。
Sample Programs: Asteroids 小行星
|
Sample Programs: Ball in Maze 迷宫中的球
|
Sample Programs: Boxing Robots 拳击机器人
|
Sample Programs: Carousel 旋转木马
|
Sample Programs: Cartoon Shader 卡通渲染
|
Sample Programs: Chessboard 棋盘
|
Sample Programs: Disco Lights 迪斯科的灯光
|
Sample Programs: Distortion 畸变
|
Sample Programs: Fireflies 萤火虫
|
Sample Programs: Fractal Plants 分形植物
|
Sample Programs: Glow Filter 发光滤镜
|
Sample Programs: Infinite Tunnel 无限隧道
|
Sample Programs: Looking and Gripping 寻找和握住
|
Sample Programs: Media Player 媒体播放器
|
Sample Programs: Motion Trails 运动轨迹
|
Sample Programs: Music Box 八音盒
|
Sample Programs: Normal Mapping 法线贴图
|
|
Sample Programs: Procedural Cube 生成立方体
|
Sample Programs: Roaming Ralph 漫游的拉尔夫
|
|
Sample Programs: Solar System 太阳系
|
Sample Programs: Teapot on TV 电视里面有茶壶
|
Sample Programs: Texture Swapping 交换纹理
|
我试着将示例程序中的注释翻译了一下,您可以在这里下载注释经过简单翻译的源代码。感谢 Ubuntu 提供的网络空间。