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
0
votes
1 answer

How can I "attach" two OdeBodies together in panda3d?

I'm looking to firmly "attach" two bodies in panda3d so that their position and rotation do not change relative to each other, even over a distance. I have looked into joints, but none seem to do the trick. Is there any way to do this? Also, as a…
sgfw
  • 285
  • 2
  • 14
0
votes
1 answer

Panda 3D Python import error on OSX

I have been messing around with Python/Panda3D and trying to get my first file to run. I am on OSX and after installing Panda3D I tried to run this file: import direct.directbase.DirectStart run() That was followed by this on the Terminal output: $…
colbyn
  • 53
  • 6
0
votes
1 answer

Execute a command over multiple files

so I am wanting to convert a large number of files that all have entirely unique names using a SINGLE program that is run through command prompt. Here is the command for converting one file: bam2egg.exe Filename.bam Filename.egg I want it so I can…
0
votes
2 answers

Can't use GeoMipMap in Panda3D

I'm on to a very new 3D video Game project using Panda3D, and i try to understand the basics of terrain loading, that's why i tried the Panda3D tutorial ( https://www.panda3d.org/manual/index.php/Geometrical_MipMapping), telling to type this in…
Arthur Dy
  • 1
  • 2
0
votes
2 answers

How to use Panda3d and Pygame together

I am new to game development and am trying to develop a game with panda3d. Can we directly use Pygame modules along with Panda3d ones?
Akash21795
  • 61
  • 1
  • 12
0
votes
1 answer

Panda3D's setInstanceCount(n) with Python

I've been looking for the answer for almost 2 days now and found nothing. I'm building a game with Panda3d engine and Python, and I wanted the floor to be tiled, so I was loading the 'grass' model as many times as I needed. When I play the game,…
Tetsudou
  • 224
  • 1
  • 14
0
votes
0 answers

There are some missing modules: ['matplotlib.patches', 'matplotlib.path', 'matplotlib.pylab', 'matplotlib.pyplot']

I have a problem to create .p3d file using packp3d. The problem is that: when I try generate the .p3d file, I get this warning: There are some missing modules: ['matplotlib.patches', 'matplotlib.path', 'matplotlib.pylab', 'matplotlib.pyplot'] If I…
0
votes
0 answers

Really annoying error [python/p3d]

I have this part in my code right here which somehow orginates from Panda 1.7.2/Python 2.4: Factions = tuple(lambda [outmost-iterable]: for x in [outmost-iterable]: AvatarType(faction = x)(range(9))) (Undead, Navy, Creature, Townfolk, Pirate,…
0
votes
1 answer

Speicherzugriffsfehler (Speicherabzug geschrieben) - memory-access-error (core dumped)

lately I was searching for a graphic library to use with python. While testing panda3d and pyglet I could not even run the examples. I don't exactly know if this is due to the same problem, but it seems to me that is has a common…
Max
  • 66
  • 1
  • 9
0
votes
1 answer

Custom Decode Script: EOL while scanning string literal

i made a script to decode a file made a few years ago, and I've run into an issue whilst doing my second decode test. My code: #!/usr/bin/python # -*- coding: utf-8 -*- from decoder.encodings import * #Toontown Online Encoded Script…
Crowded
  • 31
  • 3
0
votes
1 answer

Problems with creating windows installer for panda3d application using pdeploy

Some time ago I've wrote my first game using Panda3d game engine and now I wish to share it with my friends. Actually, I know how to do it: I've generated .p3d multifile and run pdeploy -s -N "Cobra" -v 0.2 cobra.p3d installer in my shell. I…
Montreal
  • 2,143
  • 5
  • 18
  • 28
0
votes
3 answers

Code converting from 2.4 to 2.7

I have something from 2.4 and i'd like to convert it for 2.7 but the problem is, i crash everytime at this string: MovieCasts = tuple(lambda [outmost-iterable]: for x in [outmost-iterable]: SyntaxError: invalid syntax is there a counterpart to…
0
votes
1 answer

Real-time Geometry Rendering with Panda3D -- Efficient?

I'm considering attempting a game built using Panda3D where no objects are built using a 3D editor. It would all be made and rendered using geometric functions. This includes multiple characters running around, spells being cast and buildings and…
Bitani
  • 73
  • 1
  • 7
0
votes
1 answer

Panda3D & Python Error: IOError Could not load Model File(s)

Im trying to create a Panda3D with Python Scene, When I try to run my Python Code, I get this: http://tinypic.com/r/15duueg/8 Here's my code: from direct.actor.Actor import Actor from pandac.PandaModules import * from direct.task import Task import…
0
votes
0 answers

Python Panda3D - Render using Coordinates

I have encountered an error, i'm trying to render a character using coordinates of the character and then using the code reparentTo(render), however i get the following error: "TypeError: must be string or buffer, not None". Traceback: File…
Simpson
  • 42
  • 7