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

How to change the window size in Panda3D?

A Panda3D program opens with a certain window size. I cannot find any call in GraphicsWindow to set or change the window size. How do I change the window size?
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
4
votes
1 answer

panda 3d importing module error

I'm trying to learn panda 3d, but I'm getting this error importerror no module named direct.showbase.showbase I'm using the latest versions of panda 3d 1.7.2, python 2.7 on windows xp, how to fix the error?
Lynob
  • 5,059
  • 15
  • 64
  • 114
4
votes
4 answers

3rd Person POV for Game Ursina

I am trying to make an rpg-style game with ursina. I want to have the camera always follow the back of the character. I tried using camera.look_at(player) but I couldn't get the camera to rotate to the back of the character when it rotated. app =…
Cyber-Yosh
  • 57
  • 1
  • 6
3
votes
2 answers

how to make python ursina engine's cube texture

I am wondering about how to make a simple cube texture in the Python Panda3D wrapper, ursina engine library. Here's the code that I have tried. from ursina import * app = Ursina() window.fps_counter.enabled = False class Voxel(Button): def…
elsso0202
  • 33
  • 1
  • 3
3
votes
0 answers

Apply texture on a certain part of a mesh

I am using Pandas3D 1.10 (with Python 3.6) and I am trying to generate terrain on the fly. Currently, I was able to perform this: Now, my idea is to add textures to this terrain. I plan to add different textures for different kinds of ground and…
Ender Look
  • 2,303
  • 2
  • 17
  • 41
3
votes
1 answer

How to draw onscreen controls in panda 3d?

I want to make a game in panda3d with support for touch because I want it to be playable on my windows tablet also without attaching a keyboard. What I want to do is, find a way to draw 2d shapes that don't change when the camera is rotated. I want…
Thomas
  • 478
  • 4
  • 14
3
votes
1 answer

Models/background in Panda3D

When I load any egg file as a model in Panda3D, the background's colour remains white. The colours of the texture/background doesn't appear even on using lights. Why does this happen? Also, from where can I find egg files to use as models/actors in…
pnk6
  • 276
  • 3
  • 15
2
votes
2 answers

Panda3d Robotics

The title makes it obvious, is this a good idea? I've been looking for a robotics simulator in languages i know (i know ruby best, then c++, then python -- want to strengthen here--, forget about javascript, but i know it). i found something…
jack
  • 454
  • 2
  • 8
  • 22
2
votes
1 answer

Ursina Fog doesn't work correctly with first person camera

Basically, I am trying to make it seem like the player is underwater using fog, but, even though the fog "works", it seems to change in opacity based on what direction you are facing and where you are on the map instead of remaining the same. import…
clodon2
  • 39
  • 4
2
votes
1 answer

PyInstaller executable not working with panda3d. No graphics pipe availabe

I am having an issue with a program, which uses panda3d. It works perfectly when executed as a pythonscript, but the version, which is compiled (or rather packaged) by PyInstaller throws the exception below. :display(warning): Unable to load…
ductTapeIsMagic
  • 113
  • 1
  • 8
2
votes
2 answers

No color with Panda3d

I realize a simple model of 2 colors (black horn with a yellow support) with Blender 3.0.0 which I export in * .0bj. When I open it with the 3D viewer I can see the colors appear. But, when I call it in Python (I use Pycharm 2021.3 and the 3D engine…
Tornado09
  • 21
  • 1
2
votes
2 answers

Ursina Entity Default Cube blend2bam not rendering

I opened blender took the default cube. Saved it in the directory as cube1.blend. Used the CLI tool blend2bam and made it into cube1.bam in the same directory. Ursina Entity seems to recognize it but won't render or at least I can't find it and…
Roger
  • 107
  • 6
2
votes
2 answers

How to move camera forward in panda3d?

I am beginner in Panda3D module, so I am playing around. I want to move the camera forward on the press of "w". So I did this in the init class. self.accept('w', self.forward) Now I am clueless about what I should write in the forward function.
GjdGr8
  • 133
  • 1
  • 1
  • 7
2
votes
1 answer

Running Panda3D in separate thread

Unfortunately I'm a beginner in Python and Panda3D. What I did so far is trying out the Panda3D functionality and building some example worlds with the code ending like this: base = ShowBase() world = World() base.run() Is it possible to start…
pythom2
  • 21
  • 2
2
votes
1 answer

How base object controls the camera in Panda3d

I was toying around with creating custom geometry in Panda3d engine. And next code works 100% correct. class FooBarTriangle(ShowBase): def __init__(self): super(self).__init__() self.disable_mouse() …
Montreal
  • 2,143
  • 5
  • 18
  • 28
1
2 3
12 13