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
1
vote
3 answers

How does Worldviz Vizard compares to Panda3D and Pygame?

Is anybody familiar with Worldviz-Vizard's 3D engine for python? How does it compare to Panda3D? I have a feeling that it might be easier to learn but far more limited. They only support python 2.4 which also makes me not want to try it.
relima
  • 3,462
  • 5
  • 34
  • 53
1
vote
1 answer

Creating a BulletCollisionShape from an .egg file

I'm writing a game using Panda3D 1.10 using the Bullet Open Source Physics Library 1.5.8. How do I generate a collision shape from an egg file? This is the code I have so far: tree = BulletRigidBodyNode('Tree') tree.setMass(10.0) shape =…
Jacob Barrow
  • 631
  • 1
  • 8
  • 25
1
vote
0 answers

Convolve a sector along a trajectory to make a heat map in python

I have built a VR arena for a fly. Inside the VR world, a fly flies which has objects in it. The VR world is actually built using Panda 3D game engine. I record the trajectory of the fly. I obtain position (x,y) and heading (theta) as function of…
1
vote
2 answers

Closing a Panda3d app without shutting down the whole Process

wrote a small application which is composed of a QT GUI module which in turn initiate an object that inherits from ShowBase class. Problem is, if I close the Panda App, the ShowBase class calls finalizeExit() which in turn shuts the whole process by…
user4241033
1
vote
1 answer

How can I implement a 2D skeletal animation system in my game?

Hey. I want to be able to create a system for skeletal animation in my game. I'm using panda3d as my game engine. I'd like to be able to make simple bone structures and skin them with my sprites. I would prefer to do this with straight code and…
sonicbhoc
  • 434
  • 3
  • 15
1
vote
1 answer

panda3d python import error

I have been searching the web for hours now, found several instances where someone had the same problem, but I seem to be too much of a newb with linux/ubuntu to follow the instructions properly, as none of the given solutions worked. Whenever I try…
xXliolauXx
  • 1,273
  • 1
  • 11
  • 25
1
vote
1 answer

Panda3d error No module named direct.showbase.ShowBase in python 2.7

I already checked ( in stack exchange and other sites) and googled my problem but all solution seems useless. Here's the problem : My computer had win xp and had python2.7 and panda3d (version 1.8.1) installed (python in D: and panda3d in C: ). The…
infiNity9819
  • 536
  • 2
  • 7
  • 19
1
vote
1 answer

Panda3d unable to open directx window

I recently installed panda3d version 1.8.1 which was termed as latest stable release.But when I typed the following code from direct.showbase.ShowBase import ShowBase class MyApp(ShowBase): def __init__(self): …
infiNity9819
  • 536
  • 2
  • 7
  • 19
1
vote
1 answer

Cubemap rendering in panda3d python

I seem to have a problem in rendering a cubemap image onto a cube in panda3d.It appears that al my images seem to diverge to the bottom right vertex to create an colourful but unfortunately unwanted design: The code by which I created the cubes and…
user2592835
  • 1,547
  • 5
  • 18
  • 26
1
vote
1 answer

cx_Freeze Unfreeze. Is it possible? [python]

need help with something... I had this python program which i made. The thing is, i need the source of it, but the thing is, the hdd i had with it is dead , and when i tried to lookup any backups, it wasn't there. The only thing i have the binary,…
1
vote
2 answers

Python Toontown throwing pies error

I'm currently working on a private server for the now closed Disney server, but whenever my client throws a pie it crashes and gives me this error. File "toontown\toon\Toon.py", line 3029, in getTossPieInterval endPos=Point3(0, dist, 0),…
1
vote
2 answers

Accessing a variable defined inside a function Python

I am working on a project and I am running Python 2.7 and Panda3D v1.8.1. I have been unable to find out how to access a variable that was defined in a function. For the setup I have two files. One file manages events and the second file loads…
Chandler
  • 47
  • 7
1
vote
1 answer

Install PIL1.1.7 for Python 27 on 64bit Windows 7 - Wrong Directory Selected

I need to install PIL 1.1.7, particularly the Image and ImageTk modules, for writing Tkinter GUI codes with Python 2.7. When I initiated the installation, although Python 2.7 was detected in the registry, the Python and Installation Directory…
GABAergic
  • 13
  • 2
1
vote
2 answers

Right to left on screen text in panda3d

I have written this sample code in panda3d but I couldn't use right to left language and the letters shown separately. Is there a way to avoid that? # coding=UTF-8 __author__ = 'asus' from direct.showbase.ShowBase import ShowBase from direct.task…
hamidfzm
  • 4,595
  • 8
  • 48
  • 80
1
vote
1 answer

Python display .ply, .stl, .igs, .step image

I am looking for a way to display a .ply, .stl, .step, or .igs in a python window of any sort. The idea is that my students are moving a robot holding a part and i want to show that part also moving in 3d. The formats listed above are the ones that…
Meozaa
  • 95
  • 9