Panda3d

Latest version: v1.10.14

Safety actively analyzes 618281 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.10.13

This is a significant release containing many important bug fixes and a couple of interesting new features. I highly recommend reading the [release announcement](https://www.panda3d.org/blog/sdk-1-10-13-release/) on the blog for an overview of the changes. Binary builds are available on the [download page](https://www.panda3d.org/download/sdk-1-10-13/), or you can of course simply upgrade using `pip install -U panda3d` if you have installed Panda3D with pip.

Rendering
* Fix single texture stage limit when `gl-version 3 2` or higher is set (1404)
* Fix some render-to-texture bugs with multithreaded pipeline (incl. 1364)
* Fix failure to unset divisor after rendering with hardware instancing
* Add "MSAA" filter to CommonFilters class as convenience to enable MSAA
* Fix multisample FBOs with MRT resolving aux target into color target
* Fix shader generator not responding to fog color changes
* Fix OpenGL error when downloading GL_LUMINANCE8 texture

Windowing
* Fix incorrect "without" event generation when mouse leaves window (1400)
* Windows: Fix lost "up" events when dragging cursor outside window while multiple mouse buttons are pressed down (1396)
* macOS: Fix crash with threading-model on newer macOS versions (1286)
* macOS: Fix black screen when going fullscreen on Apple M1-based macs (1316)
* macOS: Fix window overlapping Dock when requesting very large height
* macOS: Improve application termination handling, now sends proper exit events
* X11: tinydisplay handles window resizes more efficiently
* X11: Work around window not rendering at first on swaywm (1087)

Deployment
* Not all code was being built with optimize level 2
* Add `keep_docstrings` option to switch to optimize level 1 (1341)
* Add `prefer_discrete_gpu` option to force dedicated GPU on Windows (680)
* Add `bam_model_extensions` for converting non-egg models to .bam (714)
* Work around autodiscovery error when using `setuptools>=61.0.0` (1394)
* Default Linux target to `manylinux2014_x86_64` on Python 3.11+

PStats
* Add support for Python profiling with `pstats-python-profiler` Config.prc var
* Fix PStats crash at launch from pip installs in newer Linux distros (1391)
* Performance improvements to time-based strip chart views
* Time-based strip charts now can show start/stop count in corner of graphs
* Optimize client performance when sending a large number of samples
* Fix dropped frames by changing value for `pstats-max-queue-size` from 1 to 4
* Server accept clients using PStats protocol version 2.3

Assimp
* Fix assertion when loading meshes with multiple primitive types
* Add `assimp-collapse-dummy-root-node` option to remove root node (see 366)
* Import custom object properties as tags
* Add support for additional texture maps, including PBR textures
* Support reading tangent and binormal vectors
* Improve performance when loading geometry
* Fix problems reading external files (see 366)
* Support reading alpha mode when loading .glTF models
* Add support for texture transforms
* Add support for texture wrapping modes
* Fix memory corruption bugs

Build
* Fixes to `pview.desktop` file on Linux
* makepanda: Fix problems when building on arm64 on macOS without `--arch` flag
* makepanda: Fix detection issues with newer macOS / XCode versions
* makepanda: Fix motiontrail header files not being copied
* Windows: Fix HTTPClient not working when nativenet module is disabled
* macOS: Fix OpenCV library refusing to load in arm64 build (1393)
* Fix compiler error when compiling for e2k (MCST Elbrus 2000) (1367)

Miscellaneous
* Add new motion trails sample program
* `MotionTrail.add_vertex()` method now directly accepts a vertex position
* Significant performance optimization of C++-based motion trail implementation
* Fix race condition when destructing/constructing NodePaths in thread (1366)
* Add implementation of capsule-into-polygon collision test (1369)
* Fix texture transforms sometimes not being flattened (1392)
* Fix support for `pragma include <file.glsl>` in GLSL shaders
* Fix `ShaderBuffer.prepare()` not doing anything
* Implement deepcopy for PointerToArray
* Fix Texture deepcopy keeping a reference to the original RAM image
* Fix bf-cbc encryption no longer working when building with OpenSSL 3.0
* PandaNode bounds_type property was erroneously marked read-only
* Fix warnings when copying OdeTriMeshGeom objects
* Fix a crash when using `Notify.set_ostream_ptr()` from Python (1371)
* Fix GarbageReport not working with Python 3 (1304)
* Make `mat.cols[n]` and `mat.rows[n]` assignable
* Fix `ExecutionEnvironment.args` being empty on Linux
* Add various useful functions to interrogatedb module
* Fix Python 3 issues unpacking uint types in Python 3 (1380)
* Fix interrogate syntax error with C++11-style attributes in declarators
* Fix double-precision color values not being clamped by GeomVertexWriter
* Fix regression with BufferViewer in double-precision build (1365)
* Fix `PandaNode.nested_vertices` not updating properly
* Prevent Panda calculating bounding volume of Geom with custom bounding volume
* Add `do_events()` and `process_event()` snake_case aliases in eventMgr
* Support second arg of None in `replace_texture()` / `replace_material()`
* Support `os.fspath()` for ConfigVariableFilename objects (1406)
* rplight: Fix PSSM calculation failing with infinite far distance (1397)
* Remove spurious print in `direct.showutil.Effects.createBounce()` (1383)
* Fix assorted compiler warnings

1.10.12

This is a maintenance release containing primarily bug fixes. As such, it is not expected to contain regressions or backward-incompatible changes, and it is a recommended upgrade for all users who are on lower versions. Head to the [download page](https://www.panda3d.org/download/sdk-1-10-12/) to get the latest binaries, or upgrade using `pip install -U panda3d` for installations that were done using pip.

Windowing
* Windows: Fix origin not respected when switching to windowed mode
* macOS: Fix origin not being updated when resizing window (1312)
* macOS: Fix off-by-one errors with mouse cursor position (1317)
* macOS: Fix issues with confined mouse mode (1317)
* macOS: Fix events being suppressed when moving the mouse pointer (1317)
* macOS: Invert horizontal scroll, set `cocoa-invert-wheel-x true` to revert

Rendering
* Add `shadow-cube-map-filter` setting to enable cube map shadow filtering (1332)
* Support floating-point FBOs in OpenGL ES 2+
* Fix texture format selection in OpenGL with T_half_float component type
* Added `egl-device-index` config var to select EGL device (1306)
* Offscreen windows in tinydisplay renderer are now resizeable (1322)
* CommonFilters now supports alternative coordinate systems (1289)
* Fix BufferViewer frame when using a different coordinate system

Deployment
* Fix _bootlocale error in deployed application on Windows with Python 3.10
* Include _sysconfigdata module properly when using sysconfig module (1326)
* Fix building deploy-stub on platforms that use DT_RUNPATH instead of DT_RPATH (1358)
* `sys.flags.optimize` is now set to 2 in Python 3.2 and above
* Fix import errors when using scipy

Miscellaneous
* `Texture::get_ram_image_as()` fixed for 3D textures (1277)
* Fix PStats GPU timing not working with newer NVIDIA drivers (1320)
* Fix false negative in collision test when sphere is fully inside box (1335)
* Resolve segmentation fault when statically linking ffmpeg module (1340)
* Fix issue with failed mmap when using WebcamVideo on Linux (1299)
* macOS: Keyboard/mouse devices are no longer enumerated by default
* Fix repr of LPlane class (1248)
* Remove dependency on ShowBase in FilterManager (1302)
* Many new functions added to interrogatedb module to query additional info
* Interrogate no longer writes wrappers with rvalue references to interrogatedb
* PStats on Linux: Fix mouse motion detected outside strip chart graph area
* Fix assertion when reading bam file with Bullet convex hull shape (1251)
* Fix memory leak when specifying owner of a task (1328)
* Add additional helpful debug/spam prints to display code

Build
* Support building with Python 3.11
* Support building with OpenSSL 1.1.1 on Windows
* Support building with OpenEXR 3.0 or 3.1 on Windows
* Fix errors when compiling Panda headers with MinGW
* Allow compiling Panda headers on Windows without NOMINMAX set
* Fix wheel platform tag on manylinux aarch64
* Experimentally allow building with mimalloc on Windows
* Makepanda records cache timestamps as integers instead of floats
* Makepanda can now also build tinydisplay on Linux without X11 (1288)
* Fix naming of built wheels when building for macOS 12

1.10.11

This is another maintenance release containing bug fixes and minor improvements. A full list of changes is included below.

Since the new release is not expected to contain regressions or backward-incompatible changes, it is a recommended upgrade for all users on lower releases. Head to the [download page](https://www.panda3d.org/download/sdk-1-10-11/) to get the latest binaries, or upgrade using `pip install -U panda3d`.

Rendering
* Fix erratic shadow bug with multiple lights from gltf/blend2bam (1153)
* Fix erratic behavior of HW skinning shaders on non-animated models (1207)
* Fix errors with compressed luminance textures in DirectX 9 (1198)
* Implement screenshotting multisample backbuffer in DirectX 9 (1225)

Texture Loading
* Don't load texture from disk when loading .bam if preloading is off (1208)
* Fix TextureReloadRequest not working properly when mipmapping is disabled
* Add `TexturePool.get_texture()` method for querying textures in pool
* Fix crash when opening a .txo, .dds or .ktx file fails
* Improve error message when calling `tex.write()` with unknown extension

Input
* Generate horizontal scroll wheel events on Windows
* Generate events for mouse buttons 4 and 5 on X11
* Generate events for lmeta, rmeta and menu keys on Windows
* Add raw event (`raw-<`) for key between shift and Z on ISO keyboards
* Gracefully handle invalid raw input device data on Windows
* Correctly handle negative axis input from Windows raw input devices (1218)
* FrSky RC controller is now registered as flight stick (1218)

Deployment
* Support building with tkinter on all supported platforms (780)
* Fix issue with zipimport module not being packaged
* Fix grayscale icons becoming blue when scaled automatically
* Automatically include cacert.pem when depending on certifi
* Suppress assorted spurious missing module warnings
* Targeting `linux_x86_64` / `linux_i686` also allows use of manylinux wheels

Build
* Add support for Maya 2022 (1213)
* Support building with Visual Studio 2022
* Support building with macOS 11.3 SDK (and work around clang crash)
* Support building with Windows 11 SDK
* Build Ubuntu .deb files with bindings for multiple Python 3 versions
* Support compilation with Assimp 5.x (1212)
* Support building on `manylinux_2_24`

Miscellaneous
* Fix nodes with same tag key but different value getting flattened together
* `taskMgr.step()` now restores previous SIGINT handler afterwards (1180)
* Add `base.clock` as alias for globalClock
* FilterManager mul parameter now accepts floating-point values (1231)
* Assorted minor API documentation improvements
* Fix memory leak getting Bullet persistent manifolds from Python (1193)
* Fix assertion in PythonLoaderFileType with debug Python build
* Add missing property interface to PlaneNode
* Fix `prepare_scene()` not properly invoking the Shader Generator
* Add name property to AICharacter class (1205)
* Add `bullet-split-impulse` configuration variable (1201)
* Fix slider thumb entering dragging state on keyboard button press (1188)
* Allow OnscreenImage to be created before ShowBase is created (1209)
* Fix `manager`, `t`, `play_rate`, `duration` properties of Sequence/Parallel (1202)
* Expose ButtonEvent API to Python (UNSTABLE API, will be changed soon)

1.10.10

This is a maintenance release, containing mostly minor bug fixes. Upgrading is recommended. Please head to the [download page](https://www.panda3d.org/download/sdk-1-10-10/) for the binary builds, or upgrade using `pip install -U panda3d`.

This release also provides support for the upcoming Python 3.10 version. This support is still somewhat experimental, so please let us know if you encounter any issues.

The full release notes are as follows:

- Round refresh rates when choosing display mode on macOS (1144)
- Vectors now support floor division
- It is now possible to use `round()`, `ceil()` and `floor()` with vector types
- Add `RenderState::get_unused_states()`
- Fix assertion error in `RenderState::get_num_unused_states()`
- Fix Assimp loader not importing normal vectors correctly (1163)
- Fix error when trying to render DirectGUI in offscreen mode (1174)
- Fix crash when resizing window in multi-window DirectX 9 application (1167)
- Fixes to enable compilation with recent OpenEXR and FFMpeg versions
- Fix draw callback being called twice if cull callback calls `upcall()`
- Improve error message when display module fails to load
- Fix writing/reading BitArray to/from bam files on 64-bit systems (1181)
- evdev input devices (such as gamepads) are now supported in FreeBSD as well
- Panda no longer tries to compress buffer textures when compression is enabled
- Fix `Geom::make_lines_in_place()` (& `points`, `patches`) leaving invalid state
- Fix memory leak when cleaning up FilterManager (1166)
- Fix memory leak deleting multisample OpenGL FBOs (1166)
- Fix auto-binding of SSBOs sometimes causing overlapping bindings (1176)
- `PSSMCameraRig::update()` now accepts a camera node directly
- Support copying depth buffer for 32-bit depth with 8-bit stencil (1142)
- Prevent trying to copy depth from non-depth buffer in OpenGL renderer (1142)
- Fixes to format selection for OpenGL renderbuffers (1137, 1141)
- `gl-depth-zero-to-one` is now supported in OpenGL ES 2+ (if driver supports)
- Maya models can contain more than three eggObjectTypes (1134)
- Fix black screen on Linux when switching fullscreen without a WM active
- Fix Linux crash when trying to load a directory instead of a file (1140)
- Fix crash when loading an invalid font
- Fix a very obscure unintended DirectGUI behavior change in 1.10.9

1.10.9

This is a bugfix release which addresses some severe issues on macOS, a graphical issue on Windows with AMD RDNA cards, as well as a broad range of issues on other platforms, and adds some minor features.

Read the [announcement](https://www.panda3d.org/blog/sdk-1-10-9-release/) on our blog, or go straight to the [download page](https://www.panda3d.org/download/sdk-1-10-9/) for the binary builds.

Shaders
* Some macOS builds were erroneously not built with Cg shader support (1119)
* Show error for unrecognized p3d_TextureXYZ GLSL shader inputs
* Fix Cg shader bug when using multiple GraphicsStateGuardian objects (1117)
* New filled wireframe mode that respects vertex shaders (1124)
* Fix undefined behavior when using non-nearest filtering on isampler/usampler
* Harmless shader linking warnings on macOS are now suppressed

Windowing
* Fix mouse confinement activating on Windows for non-foreground window (1115)
* Fix occasional failure with switching to fullscreen on macOS (1039)
* Fix parented window being offset if undecorated flag isn't set on Windows

Rendering
* Works around driver bugs causing flickering and black graphics on AMD RDNA cards
* Better support for headless OpenGL on Linux via EGL-based fallback (1086)
* EGL implementation can now fall back to alternative EGL devices
* Fix ability to create multisample FBO when using EGL (1089)
* Fix copy-RAM and copy-texture modes for multisample-enabled buffers (1129)
* FilterManager now respects depth-bits specified in Config.prc
* Auto-convert vertex data down from 64-bit float to 32-bit in OpenGL ES

Texturing
* Add missing 16-bpc and 32-bpc integer texture formats
* Support `Texture::set_ram_image_as()` for 3D and multiview textures (1095)
* TexturePeeker now supports cube maps (1098)
* TexturePeeker now supports integer texture formats

GUI / Text
* Workarounds for disappearing text and GUI items in multithreaded pipeline
* Fix generated accent marks for some fonts appearing flipped
* Included static fonts now include dotless i glyph
* Fix DirectOptionMenu issues when changing items from item callback (1125)

Python API
* Fix some Python 3 compatibility issues
* Improvements to `direct.stdpy.pickle` pickle, esp. for Python 3
* Fix `direct.stdpy.pickle` sometimes duplicating Panda objects
* Add pickle support to various Panda classes
* AsyncFuture can now store an arbitrary Python object as result
* AsyncFuture.gather() now schedules coroutines on current task chain
* Coroutine exceptions are no longer suppressed in optimized builds
* Add ability to `await` all interval objects inside a coroutine (909)
* Fix garbled data when doing `base.win.properties.size` et al.
* Fix Filename division operator in Python 3
* Add Pythonic property syntax to various Panda classes
* Add optional `delay=` argument to `taskMgr.add()`
* Fix CollisionHandler's again_patterns property

Physics / Collisions
* Fix missing import in nodePath.subdivideCollisions() (1084)
* Support pickling of CollisionTraverser and CollisionHandler objects (1090)
* Improve CollisionBox debug visualization
* Fix broken GlobalForceGroup module
* Fix writing representation of AngularVectorForce
* Better handling for some edge cases in PhysicalNode
* Support bam serialization of BulletGhostNode objects (1099)

Deployment
* Fix app immediately exiting on Windows if log_filename is not set
* Allow generating log files with date/time in filename (1103)
* Automatically removes aux-display Config.prc lines for excluded plug-ins
* No longer defaults to FMOD audio on macOS unless FMOD is explicitly bundled
* Fix every app pulling in pep517 and numpy when building on some Linux distros
* Fix building with pytz and pandas requirements
* Some deterministic build support with PYTHONHASHSEED=0 and SOURCE_DATE_EPOCH
* Fix harmless warnings about missing dependencies
* Fix libbz2, libreadline and liblzma libraries being erroneously excluded

Build / C++
* Some macOS builds were erroneously not built with Cg shader support (1119)
* Fix code signatures being missing from arm64 wheels on macOS (1123)
* Windows builds now include missing DirectX 9 DLL (1034)
* Windows installer no longer pops up message box in silent mode (1088)
* Fix compatibility of Panda headers with C++17 and C++20 compilers
* Support reproducible builds when SOURCE_DATE_EPOCH is set
* Interrogate supports `__truediv__` and `__floordiv__` special methods
* makepanda now looks for linux-libs-arm64 thirdparty directory in aarch64 build

Miscellaneous
* Assorted memory leaks fixed
* Disable `vorbis-seek-lap`, which caused popping in ogg sounds (1108)
* Fix crash when playing video using older FFMpeg versions (1085)
* Fix flattening/egg loader bug messing up line strip geometry (1122)
* Fix egg lexer state not being cleaned up after error
* multify respects SOURCE_DATE_EPOCH (but -T0 should be preferred)
* Fix egg loader hanging when encountering unterminated quote or C-style comment
* VirtualFileSystem::read_file() is now implemented for HTTP mounts
* Fix regression causing crash in DIRECT tools
* Fix repeatedly clicking object in DIRECT tools cause explosion of scaling node

1.10.8

Recommended maintenance release.

Read the [announcement](https://www.panda3d.org/blog/sdk-1-10-8-release/) on our blog, or go straight to the [download page](https://www.panda3d.org/download/sdk-1-10-8/) for the binary builds.

* Support building for macOS 11 "Big Sur" and "Apple Silicon" (arm64)
* Fix a memory leak, particularly noticeable with multithreaded pipeline (1077)
* Fix crash on macOS when unplugging device with threading active (1082)
* Fix error with build_apps not working with certain versions of Python
* Fix DirectEntry/PGEntry flickering in the multithreaded pipeline (1070)
* Fix sounds resuming on reactivation if stop() was called while inactive (559)
* Collision traverser now releases GIL during traversal (1033)
* Fix crash caused by some gamepad drivers on Linux (1066)
* Add `GraphicsPipe::get_display_zoom()` for querying system DPI scaling
* Skinning-enabled shaders can now properly render unskinned models as well
* BitMask, SparseArray, BitArray types can now be pickled (886)
* VFSImporter now properly detects source file encodings in Python 3
* Workaround for lighting bug with scenes imported using panda3d-gltf/blend2bam
* Fix compilation error with Bullet 2.90+
* Assimp library was updated in Windows thirdparty packages (1020)
* libCg is now shipped as library instead of framework on macOS (1079)
* Fix some erroneous warnings about missing modules in build_apps
* Add warnings to build_apps when forgetting dependencies in requirements.txt
* Add experimental `TextureStage::M_emission` mode
* Add experimental `p3d_TextureNormal`, `p3d_TextureEmission`, etc. GLSL inputs
* Fix ability to use deployment system when compiling without OpenSSL (1073)
* Fix assorted issues with rgbPanel
* Fix comparison operator of RenderEffects object

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.