Questions tagged [panda3d]

Panda3D is an open source 3D Engine originally developed, and still actively maintained, by the Walt Disney VR Studio. Additional development and support for the open source community is provided by the Entertainment Technology Center of Carnegie Mellon University.

Panda3D is a 3D engine: a library of subroutines for 3D rendering and game development. The library is C++ with a set of Python bindings. Game development with Panda3D usually consists of writing a Python or C++ program that controls the Panda3D library.

Panda was created for commercial game development, and its primary users are still commercial game developers. Because of this, Panda3D needs to emphasize four areas: power, speed, completeness, and error tolerance. Everyone knows what power and speed are. But completeness and error tolerance deserve some extra commentary.

Completeness means that Panda3D contains tons of unexciting but essential tools: scene graph browsing, performance monitoring, animation optimizers, and so forth. These things may not be sexy, and as a result, open-source engines often don't have them. But when you're serious about getting work done, and not just playing, these tools need to be there.

Error tolerance is about the fact that all game developers create bugs. When you do, you want your engine to give you a clear error message and help you find the mistake. Too many engines will just crash if you pass the wrong value to a function. Panda3D almost never crashes, and much code is dedicated to the problem of tracking and isolating errors.

Finally, to come back to power and speed: the best way to gauge Panda3D's capabilities is to take a look at the Sample Programs. These are short programs that demonstrate a sampling of Panda3D's capabilities. The screenshots have frame-rates in the upper-right corner, taken on a Radeon X700.

Panda3D was developed by Disney for their massively multiplayer online game, Toontown. It was released as free software in 2002. Panda3D is now developed jointly by Disney and Carnegie Mellon University's Entertainment Technology Center.

Links

187 questions
2
votes
2 answers

Panda3d: pfreeze error

I am trying to compile my game on Mac. When I try to run my script to build the game using pfreeze I get this : Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in…
mgracer
  • 175
  • 1
  • 11
2
votes
1 answer

How to stop an animation after an interval in panda3d?

The code below does not work to my expectations. I want it to walk north if the user presses the "w" key. The Actor, panda does show movement for the first time not completing the animation, it stops and never moves again. Am I using the engine…
user6183967
2
votes
2 answers

Blender3d vs 3DS max; which one is better suited for automation in python?

I am getting started with the development of 3d environments for using in panda3d. As I am new to this, I need to choose a modelling software to create basic geometries, etc. Therefore, which one is better suited for automation through python? 3DS…
relima
  • 3,462
  • 5
  • 34
  • 53
2
votes
2 answers

cannot convert to egg file for panda3d

I am a beginner in panda3d, recently i came across blender 2.77 for modelling. I was disapointed to find that it cannot export egg files supported by panda3d, i searched online and found yabee and chicken but after installing those addons to blender…
user6183967
2
votes
1 answer

OGG music causes rest of "game" to not load, causing a not responding error in the process

Basically, I am experimenting using Panda3D 1.9.2, Python 2.7.12 and pygame 1.9.1, and I'm experimenting by putting together Toontown Rewritten and Disney's Toontown Online assets in an attempt to create something random and see where I can get with…
CoffeetipM8
  • 85
  • 1
  • 7
2
votes
2 answers

Cannot mkdir, file not found

I'm making a game, and I made a log system. It makes a new directory and makes a .log file in it. I released it today only to find that it doesn't work. It works fine for me, yet not to others. I have tried makedirs but to no avail. Here is the…
s00t
  • 23
  • 4
2
votes
1 answer

walking through a building created in google sketchup

I am looking for a way to take a model of a building and allow people to walk through it like a video engine. We are also looking to run this on a viz wall, which requires OpenGL on Linux and be open source. But Something running on windows or…
Jeremy
  • 63
  • 1
  • 7
2
votes
1 answer

panda3d running out of memory

While following this tutorial on how to use panda3d with python and code a simple 3d arcade flight game, I got an error when running the code from Issue 5 loading some 2d GUI Images. The error report in the console said: Out of memory allocating…
xXliolauXx
  • 1,273
  • 1
  • 11
  • 25
2
votes
1 answer

How to make panda3d accept controls faster?

Hi I am trying to make a game on panda3d v 1.8.1 (python) but the controls seem to be very sloppy. One has to keep the keys pressed for a second or two to make things happen. Is there any way to make panda3d accept controls faster ? Here's my code…
infiNity9819
  • 536
  • 2
  • 7
  • 19
2
votes
0 answers

ImportError: No module named pandac.PandaModules

I'm trying to compile a *.exe using a *.py script. http://pastebin.com/qpZz65aq and I get the following error: `ImportError: No module named pandac.PandaModules` If you need further information, please ask.
2
votes
2 answers

Expected an indented block after Importing?

Today I was coding and i ran into this unusual error. Here is my code: from direct.showbase.ShowBase import ShowBase import cogManager class application(ShowBase): def __init__(self): ShowBase.__init__(self) playApplication =…
2
votes
1 answer

Panda3d model rotation

I have a program I'm writing based off of a tutorial: from direct.showbase.ShowBase import ShowBase class MyApp(ShowBase): def __init__(self): ShowBase.__init__(self) # Load the environment model. self.environ =…
Elias Benevedes
  • 363
  • 1
  • 8
  • 26
2
votes
1 answer

Auto-Completion for Panda3d in PyCharm

Does auto-completion for the Panda3d library working with PyCharm? It seems PyCharm cannot automatically create the Python skeletons for this library. I would also be happy if I could at least manually define those stubs in PyCharm. Any ideas how to…
Matthias
  • 9,817
  • 14
  • 66
  • 125
2
votes
1 answer

How to add Chicken exporter in Blender's export menu

(Sorry for my inglish) Hi! I followed the instructions that founded in the chicken's zip but I can't did it. I extracted the files in C:\Program Files\Blender Foundation\Blender\2.63\scripts and in C:\Users\Martin\AppData\Roaming\Blender…
Harry Hache
  • 439
  • 1
  • 4
  • 6
2
votes
1 answer

Use panda3D in 2.7.3 OSX Lion

I have currently Panda3D working in the ppython version that is shipped with Panda3D. But how do I link Panda3D to the python version shipped with OSX Lion 2.7.1? I read things about ~/.bash_profile and I tried the following including the rest of…
Jasper
  • 628
  • 1
  • 9
  • 19
1
2
3
12 13