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

Panda3d Blender created room does not display properly

Edit: Not sure what I did but it worked still the walls don't display correctly.... Using Panda3d and python I have created a small room with a couple objects in blender and modified an example from Panda3d to do so and it worked for a bit but has…
Zimm3r
  • 3,369
  • 5
  • 35
  • 53
1
vote
2 answers

panda3d - how to restart a game

I have a game, written in Python, and I use Panda3d. Now I want to have a possibility for restart, that is, I want to press a button with the result that the main is executed again, just as if the current instance of the game had never existed. Is…
newnewbie
  • 993
  • 2
  • 11
  • 26
1
vote
1 answer

ColorF: what header or library defines ColorF?

I'm trying to build the Solar-System (C++) Panda3D example for version 1.8. The problem I'm having is that when I compile it I get an error: clr; g++ -c ./solar_system/tut_solar_system.cpp -o ss.o -fPIC -L/usr/lib/panda3d -I/usr/include/python2.7…
SaburoutaMishima
  • 269
  • 4
  • 15
1
vote
1 answer

Panda3D and load_model c++

I am new to panda3d and am trying the hello world. I have gotten the program to run with just: PandaFramework framework; framework.open_framework(argc, argv); WindowFramework *window =…
1
vote
1 answer

Thread working apparently without any reference to the code

My Code is: class Client(DirectObject, object): ''' Clientclass. This class processes the keys which the user presses to the host and gets the data from the host, which are to be set in a dummy version of the model ''' seed= "" id = None def…
user1862770
  • 307
  • 1
  • 4
  • 13
1
vote
1 answer

Panda3D doesn't take in latest model

i've been really frustrated with Panda3d so far with the importation of models. Panda3d will only import a model once and will never update ever again (even after changing the name of the .egg file) I first imported a model (let's call it version…
kassarin
  • 27
  • 5
1
vote
2 answers

file .egg doesn't exist

I am trying execute a python script which uses PANDA3D library. I have this error : ERROR: the path '\c\virtual-vision-simulator_master\media\scenes\office_floor\skybox.egg' doesn't exist' I have checked and the file exist in this path.
mariem
  • 11
  • 3
1
vote
2 answers

Game engines in terms of collision detection (3d)

After coding simple 3d applications in webGL, I decided to start a serious 3d programming experience with C++ and a game engine. Thinking all the difficulties I may encounter, I want to prefer to choose the game engine with the most efficient and…
tolga
  • 2,462
  • 4
  • 31
  • 57
1
vote
2 answers

Running Panda3D on Python 2.6

I just got Panda3D for the first time. I deleted the included Python version. In my Python dir, I put a file panda.pth that looks like this: C:\Panda3D-1.6.2 C:\Panda3D-1.6.2\bin But when I run import direct.directbase.DirectStart, I get: Traceback…
Ram Rachum
  • 84,019
  • 84
  • 236
  • 374
1
vote
2 answers

Panda3D and Python, render only one frame and other questions

I would like to use Panda3D for my personal project, but after reading the documentation and some example sourcecodes, I still have a few questions: How can I render just one frame and save it in a file? In fact I would need to render 2 different…
gaborous
  • 15,832
  • 10
  • 83
  • 102
1
vote
1 answer

How do you use setRamImage in panda3d?

Edit: A minimal failing test case is now on github here: https://github.com/shadowmint/Panda-setRamImage-problem -- I have a C library that passes an unsigned char * pointer back to python with RGB pixel data in it. The python api to do this is: #…
Doug
  • 32,844
  • 38
  • 166
  • 222
0
votes
1 answer

numpy: point sum

>>> from pandac.PandaModules import Vec3 >>> import numpy >>> l = [] >>> l.append( Vec3(1,1,1) ) >>> l.append( Vec3(1,1,1) ) >>> l.append( Vec3(1,1,1) ) >>> Vec3(1,1,1)+Vec3(1,1,1) Vec3(2, 2, 2) >>> sum(l) Traceback (most recent call last): File…
nkint
  • 11,513
  • 31
  • 103
  • 174
0
votes
0 answers

Python Panda3D weird cube render

I am trying to render a simple red-colored cube in Panda3D, but instead of a 3D cube, I encounter a red rectangle in my window: Red Rectangle. Obviously, this might seem correct because of the way how perspective lenses work... but whenever I try to…
0
votes
1 answer

How to build ursina project via nuitka?

I'm trying to build my ursina project with Nuitka, but it doesn't work, what should I do? Can you please attach the command?
Zorome
  • 106
  • 8
0
votes
0 answers

Why I always get same error while trying to package a Python3 Kivy app to APK Android using Buildozer?

This is what I do on terminal for packing my Python3/Kivy app to APK: buildozer init and then: buildozer android debug deploy run Everything goes fine until I get following error message: from panda3d.core import * ImportError:…
Tommy
  • 101
  • 8