Panda3D Changelog

What's new in Panda3D 1.10.14

Jan 10, 2024
  • API:
  • Accept bytes object in DatagramOutputFile.write_header()
  • Add missing clear_color() method to CardMaker
  • Add file_version properties to BamFile and BamWriter, mirroring BamReader
  • Add missing method for getting current display mode index (#1550)
  • Shader Generator:
  • Add support for perspective points (#1440)
  • Implement remaining missing TexGenAttrib modes (#1437)
  • Fix support for hardware point sprites
  • Support missing texture types: cube map arrays, 1D arrays, buffer textures
  • Rendering:
  • Add texconst_i input for Cg shaders to access TexGenAttrib constants
  • Fix bug when same texture is used with different TexGenAttrib modes
  • OpenGL 3.2+/ES: Correctly handle 4-component texcoords in default shader
  • DX9: fix bugs setting some kinds of shader inputs
  • OpenGL: guard against exceeding max supported vertex attribute stride
  • Add missing handling for 1D array textures in Cg shaders
  • OpenGL: improve handling of SM5 Cg shaders
  • Fix p3d_LightModel.ambient not updating properly
  • Work around wireframe rendering bug in Panfrost drivers
  • Fix assertion error when preparing texture fails
  • Fix image load/store support in GLES 3.1 (set gl-immutable-texture-storage)
  • Windowing:
  • Windows: Fix issues switching fullscreen while maximized (#1469)
  • MacOS: Fix undecorated setting ignored when switching back to windowed mode
  • MacOS: Fix window sizing bug when simultaneously changing undecorated
  • MacOS: Fix black bar when switching to fullscreen with Z-Order set to Top
  • MacOS: Squelch secure restorable state warning on macOS 14 "Sonoma"
  • X11: Fix crash on shutdown when using custom cursor
  • EGL: Fix invalid operation error when using headless pbuffer
  • EGL: Add support for resizing (offscreen) pbuffers
  • Windows: Message loop is no longer disabled when using tk with threaded draw
  • Windows: Fix handling of invalid raw mouse devices
  • Deployment:
  • Fix crash when running executable built with Python 3.11 (#1423)
  • Fix for thirdparty packages that use delvewheel (#1492)
  • Strip .abi3.so suffix from libraries
  • Silently ignore missing hidden imports
  • Add missing hidden imports for setuptools and shapely
  • Show better error message when targeting no-longer-supported platforms
  • Fix issues running pfreeze on macOS
  • Fix crash using on arm64 systems with 16 KiB pages (eg. Asahi Linux)
  • Fix error using bam_model_extensions with bdist_apps
  • Pipeline:
  • Support reading .bmp files with RLE8 compression
  • Fix wrong magfilter being written by egg-palettize (#1585)
  • Fix memory leaks when writing TIFF files
  • Fix hang in .egg loader when `<Collide>` used with `<Line>` (#1515)
  • Add assimp-disable-extensions config var (see #1537)
  • Fix assert/crash when reading multiple recorders from bam file (#1561)
  • Build:
  • Add support for building with Python 3.12
  • MacOS .dmg are now built as HFS+ for 10.9 compatibility (#1502)
  • Don't use RTTI features in headers when building with `-fno-rtti`
  • Fix some new compiler warnings
  • Fix compile errors with some versions of png.h
  • Work around GCC 13.2 bug compiling interrogate-generated code (#1580)
  • Support building with LibreSSL on Windows (#1503)
  • Fix some issues in anticipation of Python 3.13+ (#1523, #1526)
  • More robust parsing of version in setup.cfg (incl. #1539)
  • Avoid using deprecated distutils module (#1549)
  • Add _d suffix to .pyd files when building debug build on Windows (#1566)
  • Miscellaneous:
  • Fix bug causing textures to sometimes be randomly downloaded
  • Fix PStats Python profiling exception when using metaclasses (#1505)
  • Fix segfault when ConnectionRepository is verbose (#1430)
  • Fix broken minusnode icon in dmodels (#1449)
  • Fix wrong delete operator in ARToolKit
  • Fix crash when encountering corruption in OpenAL stream (#1452)
  • Fix SimpleHashMap error reporting at static init time
  • Fix assorted code issues, typos, and Python 2-isms in direct tree
  • Code size reductions for interrogate-generated bindings
  • Assorted docstring corrections and additions
  • Interrogate supports explicit cls parameter for static methods
  • Interrogate: fix enum scope issue
  • Don't assume presence of softspace attribute on files in directnotify
  • Use importlib.metadata (not pkg_resources) for entry points in Python 3.8+

New in Panda3D 1.10.13 (Dec 20, 2022)

  • 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

New in Panda3D 1.10.12 (Sep 3, 2022)

  • Windowing:
  • Windows: Fix origin not respected when switching to windowed mode
  • Rendering:
  • Add `shadow-cube-map-filter` setting to enable cube map shadow filtering
  • 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
  • Offscreen windows in tinydisplay renderer are now resizeable
  • CommonFilters now supports alternative coordinate systems
  • 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
  • Fix building deploy-stub on platforms that use DT_RUNPATH instead of DT_RPATH
  • * `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
  • Fix PStats GPU timing not working with newer NVIDIA drivers
  • Fix false negative in collision test when sphere is fully inside box
  • Resolve segmentation fault when statically linking ffmpeg module
  • Fix repr of LPlane class
  • Remove dependency on ShowBase in FilterManager
  • Many new functions added to interrogatedb module to query additional info
  • Interrogate no longer writes wrappers with rvalue references to interrogatedb
  • Fix assertion when reading bam file with Bullet convex hull shape
  • Fix memory leak when specifying owner of a task
  • 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
  • Experimentally allow building with mimalloc on Windows
  • Makepanda records cache timestamps as integers instead of floats

New in Panda3D 1.10.11 (Jan 7, 2022)

  • Maintenance release containing assorted bug fixes and minor improvements.
  • 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)

New in Panda3D 1.10.10 (Sep 1, 2021)

  • 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

New in Panda3D 1.10.9 (Mar 28, 2021)

  • This is a bugfix release which addresses some severe issues on macOS, as well as
  • A broad range of issues on other platforms, and adds some minor features.
  • 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:
  • 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

New in Panda3D 1.10.8 (Dec 28, 2020)

  • macOS 11 and Apple silicon:
  • Since our last release, Apple has released the new version of their operating system, codenamed “Big Sur”. This release caused some issues with the Panda3D SDK installation, which have now been resolved. “Big Sur” also adds support for the arm64 architecture, used by Apple’s new M1 processor. While existing x86-64 programs continue to be able to run on the new Apple hardware via emulation, better performance can be achieved if the applications are compiled for the arm64 architecture. Since we already supported building for arm64 on other platforms (such as Android and Raspberry Pi), it was not hard for us to extend this support to macOS as well, so is it now possible to build Panda3D 1.10.8 for arm64 on macOS.
  • There are two caveats, however: the Cg Toolkit and FMOD Ex are not available for arm64, so we are unable to offer support for Cg shaders or the FMOD sound module in the arm64 build. For this reason, arm64 support has not yet been included as part of the official macOS installer. This will be remedied in the 1.11.0 release, when these thirdparty packages will be replaced, and we will be able to offer fully functioning native arm64 builds for macOS at that time. However, if you are feeling adventuruous, there is a wheel for Python 3.9.1 including arm64 support available here, albeit without the aforementioned features.
  • Mode-based texture inputs:
  • As an experimental feature, it is now possible to directly address textures by their TextureStage mode in GLSL shaders. Instead of having to use either named shader inputs to assign textures or needing to refer to textures by their index in the stage sorting order, one can now directly refer to p3d_TextureModulate, p3d_TextureAdd, p3d_TextureNormal, etc. to distinguish different types of texture assignments. These may be declared as arrays to handle multiple textures with the same mode. If no textures with these modes are assigned, Panda3D automatically provides a “fallback” texture containing an appropriate default colour, such as an all-white texture for p3d_TextureModulate, an all-black texture for p3d_TextureAdd, and a texture with color (0.5, 0.5, 1) for p3d_TextureNormal. This makes it possible to write shaders that handle these textures regardless of whether these textures are present or not.
  • We would love for you to try this feature and provide your feedback in the discussion forums.
  • Querying system DPI scaling:
  • A new “display zoom” property has been added to GraphicsPipe. This property can be queried to determine the UI scaling that has been configured in the operating system, in order to scale up interfaces based on the monitor’s pixel density. Applications that use aspect2d for GUI positioning generally don’t need to worry about this, other than perhaps to choose an appropriate window size, but applications that use pixel-based positioning will want to consider scaling their UI by this factor in order to properly account for monitors with different DPIs, viewing distances, and users with reading difficulties.
  • A configuration variable called display-zoom has been added to override the value detected from the operating system. This can be used by developers to simulate running their application on monitors with a different DPI, or to allow a user to override the UI scaling on a per-application basis.
  • If the operating system is automatically scaling up the application, such as is the case on macOS or on Windows if dpi-aware false is set, the returned value will simply be 1.0.
  • Multithreaded pipeline fixes:
  • The multithreaded rendering pipeline is a feature that the community finds important for the significant performance gains that it can bring to an application. For that reason we are continuing to improve the stability of this system. A memory leak has been fixed that was particularly prevalent with this system active, as well as a crash that could happen when unplugging a device on macOS. There was an issue with text entered into a DirectEntry flickering with the threaded pipeline active that has now also been resolved. The collision traverser now also releases the GIL during operation, increasing the possibility for parallelism as well as avoiding a potential deadlock in certain circumstances.
  • Other improvements:
  • Fix error with build_apps not working with certain versions of Python
  • Fix sounds resuming on reactivation if stop() was called while inactive (#559)
  • Fix crash caused by some gamepad drivers on Linux (#1066)
  • 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
  • Fix ability to use deployment system when compiling without OpenSSL (#1073)
  • Fix assorted issues with rgbPanel
  • Fix comparison operator of RenderEffects object

New in Panda3D 1.10.5 (Mar 19, 2020)

  • Fix DPI scaling issue in macOS 10.15 “Catalina” (#794)
  • Fix crash on macOS Catalina without “Input Monitoring” permission (#795)
  • macOS installer now installs to /Library/Developer/Panda3D (#760)
  • macOS thirdparty packages are now linked with libc++ (#584)
  • Homebrew Python should now locate Panda libraries correctly (#755)
  • Work around Tk bug cancelling Load Params in Particle Panel on macOS (#811)
  • Fix NaN assertions when particles get very large positions (#822)
  • Add support for Autodesk Maya 2020
  • Fix maya2egg erroring when running from a pip installation (#709)
  • Support DualShock 4 (2nd gen) controller on Windows
  • Support .pz and .gz compressed models in deployment system
  • Support implicit namespace packages in deployment system (#778)
  • Fix issues when using CEF Python on macOS with deployment system
  • Fix deployment system issues reading .pyc files in some Python versions
  • Fix error with distutils package when deploying in a “virtualenv” env (#747)
  • Fix “NameError: name ‘mdef’ is not defined” error when deploying (#721)
  • Deployment system now strips weird -psn_* argument passed to macOS GUI apps
  • Fix custom loader hooks sometimes not working with Actor (#750)
  • Fix defaults for package_data_dirs in deployment system (#779)
  • Fix issues with adding icons to deployed executable (#718)
  • Add PNMImage.quantize() that palettizes using median cut algorithm
  • Fix stereo and MRT FBO rendering in OpenGL ES (#815)
  • RTM_copy_ram mode is now fixed for multiview textures in OpenGL
  • Fix OpenGL multisample FBO issue with 16-bit float buffer (#756)
  • Fix DirectX 9 crash when resizing vertex buffer in certain ways (#824)
  • Workaround for infinite loop in Triangulator for certain polygons (#737)
  • Fix dcparser issue with unpacking uint64 and int64 (#751)
  • Fix ability to compile dcparser outside of the Panda3D codebase (#759)
  • Fix all direct.stdpy.threading2 threads behaving daemonically (#758)
  • direct.stdpy.threading2.Thread instances provide daemon and name properties
  • Workaround for Tkinter crash on Windows when resizing window (#586)
  • Fix possible stack overflow when reading many bytes from a stream (#754)
  • Fix mouse confinement region on Windows not updating on window resize (#727)
  • Fix mouse confinement being lost on Windows when window loses focus (#729)
  • Support adjusting particle birth offset time (#769)
  • Support building against OpenEXR 2.4 on Windows (#799)
  • Fix ability to pass a tuple to loader.loadModel
  • Fix an issue in interrogate with generating C bindings (#722)
  • Fix a variety of ABI compatibility issues with NDEBUG builds
  • Fix static linking of harfbuzz and freetype in makepanda
  • Fix ability to specify –python-incdir and -libdir to makepanda on macOS
  • ls() and bam-info -ls now list included animations
  • Fix white ambient color when loading PBR materials from .bam/cache (#828)
  • Fix inconsistent behavior when passing small values to shader inputs (#827)
  • Fix very rare NVIDIA driver crash when mixing GLSL and Cg shaders
  • Fix issue passing unicode to DirectScrolledList (#752)
  • Fix interrogate parser issue with function-like macro expansion
  • Interrogate now finds types nested in explicitly specialized template class
  • Improve performance reading all data from a file with direct.stdpy.file
  • PandaSystem now records whether libc++ or libstdc++ was used on macOS
  • makepanda.bat now builds against Python 3.7 by default
  • Many improvements to API documentation
  • pandac/input/*.in interrogatedb files are now included in .whl builds
  • Fix division exception in ServerRepository (#762)
  • Fix ShaderBuffer contexts not being cleared at GSG destruction
  • Fix DirectOptionMenu item text scale reset on item unhighlight (#768)
  • Python particle classes now have snake-case aliases
  • Fix crash printing out cached buffer contexts
  • Rudimentary, experimental, low-level handling of digitizer input devices

New in Panda3D 1.10.4 (Aug 20, 2019)

  • This release fixes a regression with DirectScrolledList in 1.10.3, fixes various other bugs, and introduces a few minor features.
  • Fix exception trying to create DirectScrolledList
  • Fix flickering in DirectScrolledFrame and other scissor issues (#681)
  • Experimental support for Python 3.8
  • Support adding icons to deployed applications
  • Support non-affine (eg. projective) transforms in calc_tight_bounds
  • Allow setting notify-output after initial import
  • Fix macOS issue locating Panda3D using Python 2.7.13+ from python.org
  • Support for Maya 2019
  • On Windows, pip is now installed by the installer (#690)
  • Fix Actor.makeSubpart on models with pre-bound animations (#647)
  • Properly interrupt task manager if first task chain raises error (#692)
  • Fix return value of encrypt_string in Python 3 (#684)
  • Support writing loader plug-ins in Python
  • Fix reading multiple p3d_TextureMatrix[] values from GLSL shaders
  • Fix shader error flag not being set if GLSL compilation failed (#622)
  • Add NodePath.replace_texture() convenience method
  • Fix deadlock when building with SIMPLE_THREADS=1 (#704)
  • Fix DirectOptionMenu cancelFrame not working inside scrolled frame (#658)
  • Fix assertion when calling analyze() on geometry with strip cut index
  • Implement fallback in GL renderer when F_sluminance is not supported (#693)
  • Set reasonable limits for sliders in ParticlePanel
  • Fix for DirectEntry autoCapitalize feature on Python 3 (#628)
  • Fix various DirectGUI items not working before ShowBase is instantiated
  • Work around an MSVC compiler bug in the release build
  • PythonUtil.weightedChoice now raises IndexError on empty list
  • Support changing DirectScrollBar width after initialiation (#699)
  • Workaround for Bullet deadlock when adding shape to a scaled body (#689)
  • Support setting DirectEntryScroll entry after initialization (#702)
  • Fix some missing imports in directtools (#698)
  • Fix undefined behavior issue when using musl-libc
  • Update Eigen in Windows thirdparty packages to 3.3.7
  • Update metadata of pip wheels

New in Panda3D 1.10.3 (Aug 20, 2019)

  • This is another bugfix release that addresses a variety of issues in 1.10.2 and further improves the stability.
  • Fix crash when unplugging certain devices on macOS
  • Fix crash on macOS when using RIME input
  • Fix logging issues/crashes in apps deployed with Python 2.7
  • Fix issues when starting in fullscreen on Linux/X11
  • Fix mapping of several gamepads including Trust GXT 24
  • Fix Linux crash when no input devices are present
  • Unbreak support for matrix arrays in vertex data in OpenGL
  • Allow creating multisample FBO in OpenGL with non-MS host window
  • Support playing and looping compressed Ogg and WAV audio files
  • Fix generation of CollisionBox for transformed geometry in .egg
  • Fix Bullet rigid body transform not updating after reparenting
  • Fix sporadic color scales with lighting and custom GLSL shader
  • Prevent faulty shaders from shutting down GSG on some drivers
  • Allow None as either argument to OdeJoint.attach()
  • Fix BufferViewer when main window is not opened right away
  • Properly detect extension of pz/gz compressed video/audio files
  • Fix for invalid behavior of SparseArray methods to clear bits
  • FilterManager now allows overriding framebuffer properties
  • Fix detection of core-only OpenGL profile on some drivers
  • Add gl-forward-compatible config var for OpenGL context creation
  • Add paste-emit-keystrokes variable to disable Ctrl+V on Windows
  • Fix in-place |= operator on Panda types (such as SparseArray)
  • Fix rare FFmpeg "bad src image pointers" errors after seek
  • Fix uses of types.InstanceType in some obscure direct functions
  • Fix capsule-into-sphere collision test in degenerate case
  • KeyboardButton.ascii_key now also accepts a str character
  • Fix errors in various Tkinter DIRECT widgets
  • Expose save_egg_file/save_egg_data functions in Python API
  • Fix assertion error in BoundingBox.set_min_max
  • Fix typo in CollisionTraverser.respect_prev_transform property
  • Properly install Python bindings when building FreeBSD installer

New in Panda3D 1.10.2 (Aug 20, 2019)

  • This release fixes several more bugs, including a few regressions in 1.10.1. Upgrading is highly recommended.
  • Fix regression on Windows causing freezes and instability
  • Fix a memory leak issue in Python applications
  • Fix crash reading unaligned float4 column in GeomVertexReader
  • Fixes for switching to fullscreen at runtime on Windows and Linux
  • Fix incorrect display mode listing in some Linux distributions
  • Fix threading crash on Linux when using get_keyboard_map()
  • Support "from __future__ import division" for Panda types
  • Support building with Visual Studio 2019 in makepanda
  • Work around Assimp crash when loading multiple .ply models
  • On Windows, a Python 3-compatible version of Pmw is included
  • Fix ParticlePanel spam when hovering over File menu items
  • TexMemWatcher has been fixed for Python 3
  • Prevent macOS window getting stuck after base.destroy()
  • Fix assertion setting mass before shape with Bullet debug build
  • Don't error if DirectScrolledFrame is destroyed twice
  • Fix reference count corruption accessing task.__dict__
  • Fix writing to SequenceNode frame_rate property
  • Fix collider sort not copied when copying CollisionNode
  • Add OpenCollective backer file

New in Panda3D 1.10.1 (Mar 1, 2019)

  • This is a major release with significant changes. Please review the
  • changes when upgrading. The list below is by no means exhaustive, but
  • should contain the most important changes.
  • General:
  • Experimental ability to build for Android
  • New input framework to natively support gamepads, joysticks, etc.
  • Multi-threaded render pipeline is a lot more stable now
  • New setuptools-based deployment pipeline
  • Improvements to mouselook smoothness
  • Cache is now at $XDG_CACHE_HOME/panda3d (~/.cache/panda3d), not ~/.panda3d
  • Addition of unit test suite
  • Many improvements to thread safety
  • Many performance improvements
  • Tons of bugfixes
  • Big style cleanup of C++ source code
  • Python API:
  • Complete support for Python 3
  • Support for coroutines and async/await
  • Property interfaces have been added for many settings
  • More flexible handling for keyboard arguments in C++ APIs
  • Python bindings are completely separated out of the C++ libraries.
  • Interrogate binding generator has many improvements.
  • Use of pandac.PandaModules is discouraged, use panda3d.core et al
  • Use of libRocket is discouraged due to lack of Python 3 support
  • Tasks are now sorted in addition order when lacking a sort value
  • Fixes iris/fade transitions for extreme aspect ratios
  • WeakNodePath is now exposed to Python
  • WindowProperties.size(x, y) deprecated; use WindowProperties(size=(x, y))
  • Calling bare run() is deprecated, use base.run() instead
  • downcastTo*() methods have been removed, they were already no-ops
  • Rendering:
  • Add new shader-based terrain rendering method (ShaderTerrainMesh)
  • The default ColorAttrib mode is now T_vertex
  • The ColorAttrib T_off mode now properly disables vertex colors entirely
  • Make handling of color attributes more consistent between renderers
  • Ability to create an OpenGL core profile context; set “gl-version 3 2”
  • Experimental support for reverse-Z rendering for best depth precision
  • sRGB framebuffers supported more widely
  • Support for infinite near/far clip in lens
  • Add some PBR material parameters to material class
  • Addition of more built-in GLSL shader inputs; see manual.
  • Add p3d_FragData[] GLSL output for MRT in GLSL 1.30
  • Add flag enabling vertex shader control over point size
  • Support signed ints and double-precision floats in vertex data with GLSL
  • Support unsigned 11/10/10-bit floating-point textures and vertex data
  • Support for SSBOs via ShaderBuffer class
  • Support OpenGL FBO buffers without any attachments
  • Support passing uint variables to GLSL shader
  • Allow rendering objects with empty vertex data (for vertex pulling)
  • Add LogicOpAttrib, for supporting logical operator blending
  • Improvements to OpenGL ES support
  • Support for geometry with adjacency information
  • Change default alpha blending to improve blending rendered result
  • New method for obtaining native OpenGL texture object
  • Support windowless offscreen rendering on macOS
  • Panda resets OpenGL state better before and after draw callbacks
  • OpenGL renderer better supports debugging tools like apitrace
  • Support fixed-depth billboards, useful for 2D tags that don’t change size
  • Shader generator:
  • Significant performance improvements
  • Support for point light shadows
  • Hardware skinning support
  • Changes to match fixed-function pipeline better
  • Fixes for normal vector normalization
  • Support multiple normal maps (uses Reoriented Normal Mapping)
  • Tracks modifications to materials and texture stages automatically
  • Lighting:
  • Allow specifying light color based on color temperature
  • Setting specular color of a light separately is deprecated
  • New GLSL inputs to make implementing lighting in shaders much easier
  • Add representation for sphere light and rectangle light
  • Efficiency improvements for passing light information to shader
  • Interocular distance for shadow cameras now always defaults to 0
  • Add low-level lighting module from RenderPipeline
  • Textures:
  • Support cube map arrays
  • Support buffer textures
  • Many more texture formats supported
  • BC4 and BC5 compression modes supported
  • Proper depth textures supported in DirectX 9 renderer
  • set_ram_image(_as) directly supports buffer protocol
  • TexturePeeker supports more formats and component types
  • Text:
  • Dramatic improvements to text rendering performance
  • Support for HarfBuzz for higher-quality text shaping and kerning
  • Support for right-to-left text
  • Support for signed-distance-field rendering in egg-mkfont
  • Audio/video:
  • The default unit for audio is now 1 meter for each Panda unit.
  • Native .flac loader
  • Support videos with alpha channel in ffmpeg
  • OpenAL stability improvements, especially on macOS
  • Support loading .opus files with libopusfile
  • Fix various memory leaks
  • Physics / collisions:
  • CollisionTube is renamed to CollisionCapsule.
  • Box-box collision test is improved to work well with the Pusher
  • More box tests for collision system: box-into-plane, box-into-poly
  • Capsule (tube) can be used as “from” shape into plane, sphere, capsule, box
  • Bullet objects are serializable to .bam files.
  • Bullet bindings are now thread safe.
  • Bullet debug drawer is more efficient; no longer inherits GeomNode.
  • Various fixes to bullet vehicle wheel synchronization
  • PhysX bindings are deprecated.
  • Pipeline / loading:
  • Support for Assimp library to load a broad variety of model formats
  • Ability to specify min-lod, max-lod, lod-bias in .egg file
  • Egg file materials support PBR-style material parameterization
  • Support loading more DDS files, including DX10-style ones
  • Add support for OpenEXR and HDR textures
  • Support line/point thickness in bam2egg
  • bam2egg no longer inserts a vestigial ModelNode at the top
  • bam2egg supports depth test, offset, cull bin attributes
  • Accept a .gz file wherever a .pz file is accepted
  • egg-palettize supports mirror and border-color wrap modes
  • More robust checks against memory corruptions when loading bad .bam files
  • Support for Maya 2017 and 2018
  • Support preprocessing GLSL shaders created with Shader.make
  • Build:
  • We now require using MSVC 2015 or 2017 to compile on Windows.
  • At least GCC 4.8 is now required.
  • With GCC/clang, enabling C++11 is now required.
  • Allow building with more recent ffmpeg versions
  • Support for old FFMpeg versions (before 1.1) dropped.
  • The ppremake build system has been removed.
  • Support for OpenSSL versions before 0.9.7 has been dropped.
  • C++:
  • Use of NULL is replaced with nullptr
  • WeakPointerTo now requires use of lock() method for thread safety
  • Mutex et al now satisfy C++11 Lockable constraints
  • Panda headers no longer contain `using namespace std;`
  • PN_int32 et al have been removed, use stdint.h types instead
  • The need to link with pystub and add Python include dirs is removed.

New in Panda3D 1.8.1 (Jun 26, 2014)

  • Fix a host of issues related to GLSL shaders
  • Fix incorrect registry entry for Python in Windows installer
  • pdeploy generated binaries with wrong architecture on Linux
  • Fix runtime error in pdeploy when building for Windows
  • Support for Maya 2013
  • WM_CLASS can be set using x-wm-class and x-wm-class-name
  • No longer crashes when Xrandr is not supported
  • Aux normals are now also normalized when no lights are applied
  • PackageInstaller didn't add packages to system paths
  • Allow disabling custom cursor on Windows
  • Fix incorrect panning of 3D audio
  • Fix omission of textures of non-standard format in ShaderGenerator
  • Fix compile issue with newer gcc versions
  • Fix circular reference held by ActorNode
  • Window is now correctly centered on Windows
  • Fix confusion with depth range of Lens::project()
  • Now successfully compiles against recent SSL versions on Windows
  • Fix incorrect Cg TEXUNIT0 binding during the first frame
  • TextNode::set_text_scale now correctly scales spaces as well
  • Expose AudioLoadRequest to Python (for async audio loading)
  • Support for the libRocket debugger
  • Fix newline entry in libRocket

New in Panda3D 1.8.0 (Jun 26, 2014)

  • True threading support now enabled in the default build
  • Pipelined rendering: app, cull, and draw can run in parallel, each in their own thread
  • Web plugin is more robust, and better supports Safari and Chrome
  • Plugin runs properly when the username contains non-ASCII characters on Windows
  • Added appRunner.p3dFilename and appRunner.p3dUrl to provide p3d location
  • Multifiles (and p3d files) now make a distinction between binary and text files
  • OccluderNode added for explicit occlusion culling
  • Ambient occlusion generation for terrain
  • Fixed bug where Windows installer wipes %PATH% when it's too long
  • Added fog support to the shader generator
  • Added normal_gloss texture mode
  • Added a custom color option to the cartoon filter
  • Support for texture arrays in shaders
  • Better shader support in pandadx9
  • Fix some issues with cube map buffers
  • Can be compiled to use double-precision floats throughout, instead of the default of single-precision floats. (Graphics drivers still use single-precision floats, of course.)
  • Can be compiled with the optional Eigen library to provide SSE2 support
  • Can be compiled with SpeedTree support
  • Can be compiled on MSVS2010, and/or Win64. (These builds not provided by default.)
  • Support for the Bullet physics engine
  • Support for the libRocket GUI library
  • Support for stereo/multiview textures
  • Substantial performance improvements to movie textures
  • TGA files with alpha channel now load correctly
  • New "Ramdisk" mount type available for the VFS
  • The VFS is now writable for ramdisk files and true on-disk files
  • pdeploy -i generates a custom icon for the installed game
  • wx and tk work better on OSX
  • Panda windows can be embedded within wxPython windows on all platforms (including OSX) with the new WxPandaWindow class
  • Added base.pixel2d for pixel-based 2-D coordinates
  • Python-based swizzling of Panda vectors, e.g. vec2.xyxy
  • Python programmers can now optionally use the original unmangled C++ name for methods and classes, e.g. model.set_pos(LPoint3f(1, 2, 3)).
  • Command-line filename globbing now supported on Win32, e.g. egg-texture-cards *.png
  • DirectGui works with nonstandard coordinate-system in effect
  • Egg loader handles double-sided polygons a little differently by default now, for better render performance but more memory usage (use "egg-emulate-bface 0" to restore the old behavior if needed).

New in Panda3D 1.7.2 (Jun 26, 2014)

  • Fix crash on GLX implementations that have no FBConfig support
  • Un-break shadow samplers in Cg shaders
  • Pdeployed apps on Windows no longer show a console window
  • Fix relative file paths for license files in pdeploy
  • Ppatcher no longer writes out faulty checksums
  • Fix plugin failure to read from cache
  • Include missing X11 extension libs in runtime distribution
  • Fix disappearing windows with CEGUI's OpenGL renderer
  • Fixes for makepanda on FreeBSD
  • Fix LightRampAttrib crash
  • Fix bug with two-parameter Lens::set_fov

New in Panda3D 1.7.1 (Jun 26, 2014)

  • Many improvements and bugfixes to pdeploy
  • Vectors now support swizzle/write masks (e.g vec.xz)
  • Fixes for depth buffer instabilities on Windows
  • Custom cursor support in X11
  • Static functions that return a list are now properly wrapped
  • ODE objects now have getId() exposed to Python
  • NodePath.findMaterial now works properly
  • Remove unnecessary dependency on GLU
  • Arithmetic operators to PNMImage
  • Various OpenGL ES-related bugfixes
  • Support for EGL and OpenGL ES in makepanda
  • Fix a crash with the Maya converters
  • Include missing p3d tools on Windows
  • Include tinyxml as part of the source
  • Updates to PandAI
  • Compile issues with latest OpenSSL fixed
  • Fix static-init ordering issues with OpenSSL
  • Several other bugfixes and features not listed here

New in Panda3D 1.7.0 (Jun 26, 2014)

  • Support for running Panda3D apps in a browser via web plugin
  • Fully automatic shadow mapping
  • Easy to use distribution and packaging framework
  • Integrated support for NVIDIA PhysX
  • Support for GLSL shaders
  • Geometry shaders, both in Cg and GLSL
  • Improved Cg support
  • Hardware geometry instancing support
  • Runtime fullscreen toggle
  • Unix/X11 resolution querying/switching support
  • Experimental Unix/X11 support for relative mouse mode (via xf86dga)
  • New, cleaner import conventions, replacing PandaModules
  • Parallax mapping
  • Support for OpenGL ES 1 and 2
  • Experimental Screen Space Ambient Occlusion
  • New collision solid: box
  • Working FreeBSD support
  • Blur / Sharpen postprocessing filter
  • Many improvements to the Shader Generator
  • Fixes and improvements to DistributedObject network system
  • New AI libraries
  • Added MeshDrawer2D
  • Most Panda objects now work with the pickle/cPickle and copy modules.
  • Windows build now compiled for Python 2.6
  • Tons of new features and bugfixes

New in Panda3D 1.6.2 (Jun 26, 2014)

  • Fixed a static-init issue in ptloader on Windows
  • Fixed texture scaling issue when using buffers
  • x2egg is no longer broken
  • Fixed issue with flickering colors in Shader Generator
  • Eggcacher now uses less RAM
  • Missing 'models' dirs in packpanda games fixed
  • Eggcacher step in Panda3D installer is now optional
  • Fixes broken shortcut links in Start Menu on Windows
  • Shader Generator now supports clip planes
  • Bug with combine modes in Shader Generator fixed
  • Fixed bug with Texture::make_copy()
  • Bug with Actor LOD fixed
  • Fixed bug with missing geometry in Collada converter
  • OdeUtil.collide instability fixed
  • OdeBody setData/getData methods exposed to Python

New in Panda3D 1.6.1 (Apr 29, 2009)

  • Threading layer is now enabled by default
  • cTrav.showCollisions fixed
  • Fixed broken MovieTexture
  • OpenAL is now stable on Linux, too
  • OpenAL now supports dynamic playrate changing
  • MayaPandaTool now handles NURBS correctly
  • Fixed particle panel and directtools bugs
  • Fix crash with collada exporter on Windows
  • ARToolkit jittering fixed
  • Now possible to override shader vertex/fragment profiles
  • Maya exporter fixed on OSX
  • Fixed depth texture crash for padded textures
  • Fixed bug that made OdeUtil.collide return empty geoms
  • Fixed crash with render.flattenStrong() when using trackball
  • Several improvements to the ODE layer
  • Performance improvements to GeoMipTerrain
  • GeoMipTerrain.setBorderStitching to fix seams between terrains
  • installpanda.py for installing Panda on Linux without deb/rpm
  • Several other minor bugfixes