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 to make a executable using Panda3D and Pyinstaller in Python?

I'm trying to make an executable with this code(only for testing): from panda3d.core import loadPrcFile from direct.showbase.ShowBase import ShowBase class Game(ShowBase): def __init__(self): ShowBase.__init__(self) def main() ->…
Br0k3nS0u1
  • 51
  • 5
0
votes
1 answer

(Python) Panda3D loads solid color instead of full texture

I am trying to add a simple grass texture on my imported plane. Instead of loading the full texture, it loads a solid color. Any help is appreciated. Here is the texture: Here is the result: Here is my code from direct.showbase.ShowBase import…
Sokmixtp
  • 57
  • 5
0
votes
0 answers

problem in render using point light in panda 3D

I am getting problems with point light render. What is the mistake? I am using Panda3D version 1.10.9. I first thought the texture might be transparent but it's JPG. The 3D Model What is causing the problem? The code is as follows: from…
0
votes
1 answer

How can I load models and sounds into my distributable?

I have been trying to learn Panda3D through making a game through this Tutorial: https://arsthaumaturgis.github.io/Panda3DTutorial.io/ I have managed to complete Lessons 1-15, and the game works fine through a command prompt; however, when I use…
0
votes
1 answer

Ursina FirstPersonController Change Collider Not Working

My Issue I am using the Panda3D wrapper for Python to run some 1st person game tests. I would like the collider of the ursina camera type called the FirstPersonController to extend its collider over the sprite. I have tried (without really knowing…
SamTheProgrammer
  • 1,051
  • 1
  • 10
  • 28
0
votes
2 answers

Why can't I load a .OBJ file into Python Ursina?

I am using the python Ursina engine. I want to import a .OBJ file, but it never works, yet no errors are raised. I have tried: from ursina import * from ursina.mesh_importer import * app = Ursina() model123 =…
SamTheProgrammer
  • 1,051
  • 1
  • 10
  • 28
0
votes
2 answers

Is it possible to create physics simulation (with Bullet Physics Engine and Panda3D) without the `render` object

Is it possible to create physics simulation without the render object? I tried but it prints the identity matrices: from panda3d.bullet import BulletWorld from panda3d.core import Vec3 from panda3d.bullet import BulletBoxShape from panda3d.bullet…
8Observer8
  • 868
  • 10
  • 17
0
votes
1 answer

Using 3d obj files and textures in Ursina for python

I am trying to load a 3d object into a program written with Ursina. I am able to load the 3d file, and I can load the textures, but they won't load together. I'm sure there is something I am misunderstanding about the 3d file as I am pretty new to…
Samantha Garcia
  • 490
  • 6
  • 13
0
votes
1 answer

Best for 3D network visualization: panda3d or Crystal Space 3D?

I am interested in creating a 3D visualization of network packets. A few years ago these things sold for tens of thousands of dollars, but now I think that I can hack one together in a few hours using an open source 3D kit. I've looked around and…
vy32
  • 28,461
  • 37
  • 122
  • 246
0
votes
2 answers

Your Config.prc file must name at least one valid panda display library via load-display or aux-display. error

I am using panda3d and have come across a bug in my code. I can't seem to find whats wrong. Here it is: /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/panda3d/etc/Confauto.prc :util: Reading…
Ryan joshi
  • 31
  • 3
0
votes
1 answer

How to make an inclined plane in ODE?

I am wondering how to make an inclined plane using ODE that a block will slide down. I don't want the plane to be infinite; ideally I want objects to fall off the edge of it so I probably actually need a large flat box. I know how to make basic…
eggbert
  • 3,105
  • 5
  • 30
  • 39
0
votes
1 answer

Panda3D: name 'self' is not defined || name 'worldNP' is not defined

I was trying to follow Panda3D's documentation towards their Bullet Physics. So far, their tutorial worked good at first, so I wanted to try their code example for character movement. When I replicated and modified their code to my workspace,…
0
votes
0 answers

Creating an explosion in panda3d and blender

hi im quite new to panda3d and python (1year)and iv been trying for longer then 4months to find out how to create a simple mesh explosion in panda 3d. iv created lots of different explosions using blender and they all look good and work fine in…
0
votes
1 answer

Error when importing WindowProporties in Python

I installed Panda3D with this command: pip3 install panda3d==1.10.6 Then I made main.py: from direct.showbase.ShowBase import ShowBase from panda3d.core import WindowProporties class Game(ShowBase): def __init__(self): …
0
votes
0 answers

How to convert bam file to egg file?

i tried to use a 3D model on panda3d by this code: model = loader.loadModel("modelPath.bam"); model.reparentTo(render); but the model just didn't appear, think it didn't work because it was bam file. I've been using python for a long time but i'm…
the doctor
  • 81
  • 1
  • 1
  • 2