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

setup visual studio express for arm

I'd like to compile panda3d for arm and downloaded the c++ version visual studio express. Sadly the last time I used c++ is about 4 years ago. I googled how to get the project to compile to arm but I only found…
lhk
  • 27,458
  • 30
  • 122
  • 201
1
vote
1 answer

Integrate Rails and Python

This might sound like a vague question, but i wanted to know if there is to integrate Python code into my rails application. More specifically, if i had a game coded with something like pygame (and it might be pushing too far to say panda3d), how…
Kevin
  • 1,574
  • 4
  • 19
  • 45
1
vote
0 answers

python direct.actor.Actor animations are strechy

unsmooth animation to fix animations and render proper model. When i run animation it become to strechy like shown in image, so i want it to run without any strechiness. from ursina import * from direct.actor.Actor import Actor app =…
1
vote
0 answers

Exporting gltf animation file from blender to panda3d

I am making a game using panda3d but every time I try to animate the actor, the all file becomes distorted. I'm using characters from Blender. I tried using both bam and gltf files but they are both giving distorted results. I'm expecting to see the…
1
vote
1 answer

Does anybody know how to load the frameanimation3d in ursina faster?

When trying to make an animation in Ursina Engine you can call a frameanimation3d function but it requires an obj file for each frame. So if there are 100 .obj files to load, the game will be slower. Is there maybe a way to load all these files…
iceneoon
  • 21
  • 3
1
vote
1 answer

Ursina Engine: Black screen flickers when I use `mouse.locked`, what is that?

I want to make a 1st person game and the whole problem started by making an accessible inventory. Whenever I used mouse.locked (no matter if i do mouse.locked = True or mouse.locked = False) (it basically makes possible to move the cursor around the…
Dave J
  • 19
  • 6
1
vote
1 answer

What is the path of Config.prc files in Panda3D

I am new in Panda3D and I want to change my window size to fullscreen through .prc files. How can I do it?
1
vote
1 answer

Panda3d ShowBase multiple Instances

I am currently trying to write a simulator using panda3d. While prototyping I came across a fairly annoying problem. When closing the panda3d window and trying to run a new instance (I am using Spyder as an IDE) it throws an "Exception: Attempt to…
Astraeus
  • 61
  • 9
1
vote
1 answer

Ursina.build can't find modules?

I was reading This, when it said I was supposed to use the command python -m ursina.build to compile my project. When I launched the .bat file I got this error package_folder:…
1
vote
0 answers

Panda3D-simplepbr running problem(FileNotFoundError: [Errno 2] No such file or directory)

I'm using macbook2019 monterey, Python 3.10.0, Panda3D 1.10.11 After I installed the panda3d-simplepbr, I try to run my program. Here is my code: import sys import simplepbr from direct.showbase.ShowBase import ShowBase class MyApp(ShowBase): …
1
vote
0 answers

How to make a label above an entity ursina python

I have a zombie and i want a label above it about its hp and the name. It's working but if i go far away i want the label to be resized to the scale of the zombie in the camera. I know there is a screen_position variable in every entity but there's…
csdaniel
  • 11
  • 3
1
vote
1 answer

Causes of Panda3D GeomVertex Writer/Rewriter type error when using the same syntax and object types as in the documentation?

I am completely new to Panda3D on Python and trying to edit a 3D mesh in-place to move its vertices following the user's inputs. I am using the GeomVertexRewriter or GeomVertexReader + GeomVertexWriter APIs (I tried both), as suggested in the…
Emma N
  • 11
  • 3
1
vote
1 answer

Panda3d globalClock.getDt() function does not work, do I need to import something?

I've been watching a tutorial on how to use Panda3d. I cannot get globalClock to not have red squigglies in Pycharm. I'd love some help; do I need to import something? Here is my code: from panda3d.core import loadPrcFileData confVars =…
Amanda Sun
  • 11
  • 2
1
vote
1 answer

pybind11 custom type segmentation fault

I try to write python bindings with pybind11. Since I also need non simple python types I have to create custom type casters. My problem is that whenever I call get_point from python the LPoint2d will be returned but the following command will lead…
1
vote
1 answer

Why my render gets stripy shadows when rendering in panda3d?

I'm using Panda3D to render .obj files for a project related to 3D printing. For the project I need to parse a GCODE (a file that 3d printers use to print a model) and generate a .obj with that file. I have successfully achieved generating the .obj/…
1 2
3
12 13