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

FileNotFoundError with blend2bam

So I tried converting a .blend file to .bam with blend2bam as suggested by the official Panda3D page but I am getting a FileNotFoundError. I am using Windows with Python3.7 (from the Panda3D install). I tried a lot of possibilities of how one could…
le_lemon
  • 107
  • 1
  • 11
0
votes
1 answer

Python geo-maps + 3D engine for a multi-user web application

I am looking for a 3D engine for Python but have no idea which one to choose. I know that similar questions have been posted about this in the past but they seem to be quite dated now. I thought people might know of new environments out there. The…
Yair
  • 859
  • 2
  • 12
  • 27
0
votes
1 answer

Simple plane intersection using Panda3D

While messing around with Panda3D to see if I can use it in order to solve some simple geometric problems, I've got this littel test done: def def_planes_intersect(): """Intersects the plane defined by the xy and xz axis'.""" xy = Plane() …
0
votes
1 answer

panda3d and GeoMipTerrain - loading textures on a terrain

I'm currently trying to create a GeoMipTerrain from heightmap png file and then apply texture to it, here's my code: from direct.showbase.ShowBase import ShowBase from panda3d.core import GeoMipTerrain, Texture class MyApp(ShowBase): def…
Zeerooth
  • 23
  • 1
  • 4
0
votes
1 answer

C++ Executable cannot find library at runtime, even though it's in /usr/lib (On Linux)

I'm creating a game in c++ with the Panda3D framework on Ubuntu. All of the Panda3D shared libraries are in /usr/lib/panda3d and all of the headers are in /usr/include/panda3d. I'm compiling with SCons, but I've tried it with gcc and it's the same,…
MadScientist
  • 59
  • 1
  • 8
0
votes
0 answers

How do i fix "TypeError: an integer is required"

Trying to allow type a name, and when i try and type a name it crashes the game and gives me this "Type Error: an integer is required" and i have looked at other source codes for the same game and this is what they did to fix it is they added…
zing145
  • 41
  • 5
0
votes
1 answer

Is there a way to export a series of scenes rendered in Panda3D as individual image files?

I am attempting to use a Python script to artificially generate a training set for an image recognition neural net by rendering a 3D model in a variety of scenes using Panda3D. I have written the code to successfully render the object I'm training…
L0tad
  • 574
  • 3
  • 15
0
votes
0 answers

OpenGL version issue with Panda3d

I am trying to get Panda3d set up and running correctly. I keep getting this error when I try to render a model with the 'pview' method, :display:gsg:glgsg(warning): Driver possibly misreported GL_VERSION! Unable to detect correct OpenGL…
Mitchell Leefers
  • 170
  • 1
  • 13
0
votes
1 answer

Toggling a button in panda3d

How would you put a button in the ‘down’ state on the first click and in the ‘normal’ state on the second click? And would you make this out of a DirectButton or a DirectCheckButton? This is what I’ve tried so far. from direct.showbase.ShowBase…
moo5e
  • 63
  • 1
  • 7
0
votes
1 answer

Accessing ShowBase from other classes

I would like to access ShowBase and its attributes from other class defined outside the ShowBase. The code below shows the problem exactly from direct.showbase.ShowBase import ShowBase from direct.gui.DirectGui import * class Core(ShowBase): …
moo5e
  • 63
  • 1
  • 7
0
votes
0 answers

Could not load texture: Guide.png

What I want is to load a picture in the Panda3D, but it can't run for the reason of could not load the texture. I really don't know why for the code could run well in the other environment. This is the error information.
llz
  • 11
  • 1
0
votes
2 answers

What might I be doing wrong that Panda3D won't properly import ShowBase?

Trying to get up and running with Panda3D. I can't seem to get anything going with the ShowBase class. I use the following code, as instructed by the website: from direct.showbase.ShowBase import ShowBase class myApp(ShowBase): def…
0
votes
0 answers

Creating application logic with PyQt and Panda3D

I have three separate scripts that I'm trying to get working together as a simple application. I want to be able to click a button in the QMainWindow and have the current display change to a Panda3D window nested in a PyQt Widget, with one button…
0
votes
1 answer

How do I change the texture of a particular Geom in a GeomNode?

Some context: I'm dynamically generating some tile-based graphics by creating a Geom for each tile (containing only a couple of tris), then combining all Geoms into a single GeomNode for the whole map. According to the panda3d docs, one of the uses…
ash
  • 5,139
  • 2
  • 27
  • 39
0
votes
1 answer

How to use loaded model as collide solid in Panda3D?

I am new to panda3d, and I'm currently working on a small project which needs to make collision detection on customized models. In panda3d manual and sample projects, I can only find instructions on how to attach panda3d predefined collide…
csjedi
  • 3
  • 2