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

PANDA3D: Sound Error

I can't seem to be able to execute mon Main.py because it's giving me this error: Traceback (most recent call last): File "main.py", line 383, in gamebase = GameBase() File "main.py", line 278, in __init__ …
0
votes
1 answer

Panda3D - Setting date

I am trying to make that every screenshot file end with a date. It does work, but the problem is that when i take a new screenshot, its always the same date. Heres the code class ScrShot(object): def Screenie(self): file_name =…
0
votes
1 answer

Error on Panda3D

i am trying to make a screenshot function, but everytime i try, it gives me this error: Traceback (most recent call last): File "C:\Panda3D-1.8.1\direct\showbase\EventManager.py", line 61, in eventLoop Task self.doEvents() File…
0
votes
0 answers

Panda 3D updating end HPR in Lerp interval

So Panda3D has this option to update the starting position of a Lerp interval by using the parameter "bakeInStart", if we set it equal to 0. However, I can't find a solution to overcome this problem, which is updating the end HPR (yaw, pitch, roll)…
Marco_O
  • 99
  • 1
  • 8
0
votes
3 answers

Python: Server Emulator for Toontown

Alright, so i'm making a server for Disney's now closed game Toontown Online, But i have run into a problem after i added this coding in. The game NEEDS this part, it is essential to the game, without it, the game will not send the client,…
0
votes
3 answers

Howto connect two programs with Twisted

I have an echoserver in Twisted that needs to get input from an echoclient. The echocient is a GUI (Panda3D). The client just sends a short message when a button is clicked. So I have messages to send at irregular times (only when button is…
user2279550
  • 45
  • 1
  • 6
0
votes
1 answer

Unable to open lib python. Project Panda3D. VS

I have just started a project c++ with Panda3D. ( Visual Studio 2010 ) With a simple HelloWorld, I add paths etc. No compile error except : an error just appeared : error LNK1104: cannot open file 'python27_d.lib' And I have no idea how to fix…
F4Ke
  • 1,631
  • 1
  • 20
  • 49
0
votes
1 answer

Implementing my own Lens in Panda3D

Background I'm trying to implement a highly non-linear lens to do lens distortion in Panda3D for a complex projection setup. I want to use this implementation following this approach. The question Can I do it in Python (and if so, how, what am I…
Johannes Bauer
  • 462
  • 5
  • 15
0
votes
1 answer

Cursor position stops working after cursor leaves window

I a pretty new to panda3d, and I came across a problem that I have no idea how to fix. I am trying to control the camera using the cursor's location, but every time it the cursor leaves the application window, and reenters it the program stops…
Anthony
  • 670
  • 6
  • 20
0
votes
1 answer

Panda 3d Collada help c++

So I'm new to Panda 3D in c++ and I have created collada files or dae files to show in panda 3d. When I view them in pview, they show up without color or texture. So if I press the L hotkey, color and texture shows up. I know this has to do with…
0
votes
1 answer

Panda3D: How to configure mouse buttons for camera control?

By default, the mouse buttons are assigned to camera control as: Left: Translate Right: Zoom Scroll/middle: Rotate How do I change these mouse button bindings so that I want this?: Scroll/middle: Zoom Left: Rotate Right: Translate I can see that…
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
0
votes
1 answer

Panda3d startingwindow works or works not without reason

This is my code, in the main method, there is just one line: game.initShowBase() The code of THIS function is then: def initShowBase(): global myShowBase myShowBase = ShowBase(False) startwindowThread = threading.Thread(target =…
newnewbie
  • 993
  • 2
  • 11
  • 26
0
votes
2 answers

Panda3D: How to rotate object so that its X-axis points to a location in space?

I have an object (say fromObj) stored in NodePath at a 3D point location (say fromPoint). Its heading-pitch-roll (HPR) is (0,0,0). I want to rotate it such that its X-axis points to another point toPoint in space. I just want to compute the HPR that…
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
0
votes
1 answer

Panda3D: How to orient BulletGenericConstraint?

By default, the BulletGenericConstraint in Panda3D is oriented along positive X axis. The setAngularLimit method can be used to set only along X, Y or Z axis. How do I join two bodies which do not lie orthogonal to any of the axis by a…
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
0
votes
1 answer

panda3d - key.accept does funny things

I am using panda3d for a game, however, I am having some difficulties with accept: def acceptKeys(self): base.accept("arrowLeft", self.setKeys, ["arrowLeft",1]) base.accept("arrowRight", self.setKeys, ["arrowRight",1]) …
newnewbie
  • 993
  • 2
  • 11
  • 26
1 2 3
12
13