Skip to content

Releases: panda3d/panda3d

SDK 1.10.15

08 Nov 11:45
@rdb rdb
Compare
Choose a tag to compare

This release adds support for Python 3.13, adds support for the Khronos PBR Neutral tone mapping operator, and contains a wide range of significant bug fixes. Upgrading is highly recommended. Builds are available on the download page.

Windowing

  • Fix regression related to fullscreen switching on Windows (#1594)
  • Fix issues related to fullscreen switching corner cases on macOS
  • Fix keyUp event being eaten when switching fullscreen modes on macOS
  • Support UTF-8 window titles on X11
  • Fix wrong error message on X11 if xf86dga extension is not found

Rendering

  • Add "Khronos PBR Neutral" tone mapping operator to HDR filter (#1659)
  • OpenGL: Fix offscreen buffer clearing if back buffers are requested
  • DirectX 9: Fix crash on window event after window close
  • DirectX 9: Fix support for r32f and rgba32f textures
  • DirectX 9: Fix crash when copying inverted framebuffer to texture RAM
  • DirectX 9: Fix buffer crash if main window has no depth buffer

Text

  • Fix handling of surrogate pairs in text on Windows (#1629)
  • Fix disabling text-native-antialias setting not working properly
  • Fix small-caps not working with text-use-harfbuzz enabled (#1666)
  • Show error instead of crash if glyph does not fit in page (#1626)
  • Update docstring for set_text_color() (#1621)

GUI

  • Fix crash when PGEntry removes itself with background focus (#1650)
  • Fix PGEntry::get_cursor_Y(), which always returned 0.0 (#1633)
  • Now makes copies of mutable default values in DirectGUI constructor (#1587)

Deployment

  • Fix wrong relative paths with bam_model_extensions (#1642)
  • Add bam_embed_textures option to embed textures in .bam files
  • Don't warn about missing ld-linux library on aarch64 Linux
  • build_apps dist hooks no longer import Panda3D (#1624)

Miscellaneous

  • Fix major memory leak on M1/M2/M3 Macs
  • Fix seeking in OpenAL sounds not working on macOS in some cases (#1607)
  • Fix direct.stdpy.glob not finding files in VFS (#1675)
  • Improve printing of floating-point linmath objects (#1671)
  • Fix VFS mount points not being listed as directories (#1244)
  • Fix splits occurring in RopeNode geometry (#1325)
  • Fix DistancePhasedNode exception at module clean-up time
  • Fix magfilter on KW_mipmap in egg-palettize (#1631)
  • Fix creating LerpFunctionInterval from functools.partial (#1623)
  • Fix "no attribute notifier" in FSM.requestNext/Prev (#1644)
  • Fix file_texture_mode property on BamWriter being read-only
  • TransformState getters no longer return references to temporary (#1625)

Build

  • Assorted build fixes for Python 3.13 and 3.13t
  • Fix assorted compiler warnings
  • Build fix for newer FFmpeg versions
  • Add --ignore option to test_wheel.py to allow ignoring tests
  • Update Eigen to 3.2.10 (fixes binder2nd error when building with C++17)
  • Fix non-determinism in Python bindings (#1651)
  • Fix preprocessor issues in interrogate (#1635)

SDK 1.10.14

10 Jan 20:09
@rdb rdb
Compare
Choose a tag to compare

This release adds support for Python 3.12 and furthermore contains significant bug fixes, and also implements some missing features in the shader generator. Builds are available on the download page.

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+

SDK 1.10.13

20 Dec 15:58
@rdb rdb
Compare
Choose a tag to compare

This is a significant release containing many important bug fixes and a couple of interesting new features. I highly recommend reading the release announcement on the blog for an overview of the changes. Binary builds are available on the download page, 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

SDK 1.10.12

02 Sep 21:01
@rdb rdb
Compare
Choose a tag to compare

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

SDK 1.10.11

07 Jan 15:24
@rdb rdb
Compare
Choose a tag to compare

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 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)

SDK 1.10.10

31 Aug 11:33
@rdb rdb
Compare
Choose a tag to compare

This is a maintenance release, containing mostly minor bug fixes. Upgrading is recommended. Please head to the download page 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

SDK 1.10.9

26 Mar 19:31
@rdb rdb
Compare
Choose a tag to compare

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 on our blog, or go straight to the download page 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

SDK 1.10.8

28 Dec 15:42
@rdb rdb
Compare
Choose a tag to compare

Recommended maintenance release.

Read the announcement on our blog, or go straight to the download page 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

SDK 1.10.7

18 Sep 11:16
@rdb rdb
Compare
Choose a tag to compare

This is primarily a bugfix release, but includes a few new features as well.

Read the announcement on our blog, or go straight to the download page for the binary builds.

Rendering

  • Add High Dynamic Range filter with ACES tone mapping to CommonFilters
  • Add sRGB filter to CommonFilters (to be used as fallback to framebuffer-srgb)
  • Fix (shadow) buffer no longer working after host buffer is destroyed (#890)
  • Fix rare bug with shader parameters not being set right across render passes
  • Fog density passed to shader now defaults to 0 when no fog is applied
  • Don't check sampler/light type mismatch for non-shadow-casting lights (#942)
  • Shader generator now makes use of Material alpha values if present (#912)
  • Support sRGB textures and framebuffers in OpenGL ES 2 renderer

Asset Loading

  • Egg files can now be loaded with sRGB texture formats automatically
  • Fix maya2egg regression not creating animations properly (#1004)
  • Fix FMOD issue reading sounds from read-write-opened multifiles (#1002)

Stability

  • Fix faulty collision detection when sphere is under polygon (#907)
  • Fix PStats misreporting an exploding number of RenderState/TransformState
  • Fix memory leak when removing a task that is awaiting a non-Panda future
  • Optimize RenderState cache for case where texture is replaced repeatedly
  • PNMImage add_sub_image() / mult_sub_image() now properly adds offset (#903)
  • Fix some ServerRepository issues in Python 3
  • Fix has_tags() still returning true after clearing all Python tags (#936)
  • Fix crash in BitArray.has_any_of()
  • Fix errors in PythonUtil.detectLeaks() and PythonUtil.report()
  • Fix runtime error during ControlManager deletion (#884)
  • Some error messages in nativenet are changed to debug messages
  • Fix TexMemWatcher crash when graphics memory reaches 1 GB (#975)
  • Fix a Triangulator crash dealing with certain invalid polygons (#985)
  • Fix in MultiplexStreamBuf::Output::write_string() (#902)
  • Fix a buffer overrun on FreeBSD when extracting very long command-line args

Input and Windowing

  • M_confined mouse mode on Windows now confines mouse to client rectangle
  • Fix incorrect handling of shift modifier on macOS (#959)
  • Fix erroneous dpad_*-up events when emulating a dpad on Linux (#973)
  • Fix tab handling in DirectEntry with certain versions of Windows CRT (#994)
  • Fix parented window receiving WS_POPUP style on Windows (#915)

Deployment

  • macOS app bundle now performs chdir into Resources folder upon launch
  • No longer defaults to FMOD audio on macOS unless FMOD is explicitly bundled
  • Improvements to Config.prc handling (strip comments, sort files, etc.)
  • Line buffering is now used on Windows when writing to log files (#947)
  • stdout/stderr output streams are now flushed on exit (#946)
  • Build paths are now properly stripped from compiled Python code (#991)
  • Update to support a change in location of numpy/Pillow libraries (#914)
  • Fix libffi-7.dll not being included in official wheels
  • PYTHONINSPECT mechanism is no longer enabled when building with optimizations
  • A few unnecessary warning messages are squelched
  • Windows builds now include previously missing CRT dlls

API

  • Add pickle support to Datagram class
  • Unexpose a crashing CollisionPolygon constructor and method (#908)
  • FilterManager has new parameter to control framebuffer clamping
  • Add snake_case aliases for functions in DirectGuiGlobals
  • Global delete operator is now safe to call with a null pointer
  • Improvements to API reference documentation

Build

  • Fix issues building with development versions Python 3.9 and 3.10
  • Fix an ABI incompatibility issue with MouseWatcher in NDEBUG builds
  • Fix incorrect NaN/inf detection in double-precision release builds (#987)
  • interrogate C++ parser supports arbitrary constant expressions in bitfields
  • interrogate C++ parser supports sizeof with constant expression

SDK 1.10.6

19 Mar 19:22
@rdb rdb
Compare
Choose a tag to compare

This is a recommended bugfix release that adds additional stability fixes.

Read the announcement on our blog, or go straight to the download page for the binary builds.

Stability

  • Fix deployment system to work properly with pip 20
  • Fix multithreading crash when garbage collecting render states (#499)
  • Fix crashes when hotplugging USB device on macOS Catalina (#847)
  • Fix crash when using Python OpenSSL module with wheel build of Panda3D (#851)
  • Fix a memory leak in task system in Python 3 (#873)
  • Fix detection for convex angles in visible geometry in collision system (#879)
  • Fix regression in 1.10.4 when overriding verticalScroll_frameSize (#864)
  • Fix DirectScrolledList scrollTo error in Python 3 (#880)

Shaders

  • Fix OpenGL shaders not being properly applied across multiple buffers
  • Proper handling of texture rotations applied to normal maps (#808)
  • //Cg profile no longer affects subsequent shader loads (#863)
  • Add support for custom vertex columns when munging points to quads (#870)
  • Workaround for GLSL p3d_TextureMatrix[] input giving GL error on macOS (#846)
  • Fix ShaderTerrainMesh disappearing when enabling compressed-textures

Input

  • Fix MouseWatcherRegion leave event sometimes being fired twice (#858)
  • Fix odd behavior when pressing multiple mouse buttons during capture (#843)
  • Fix support for dead key input on some X11 servers
  • Fix raw key events being sent down repeatedly when holding key on X11 (#874)
  • Numpad keys are no longer included in get_keyboard_map() on X11
  • Add labels to some keys in get_keyboard_map() on X11
  • Properly use cursor hotspot when loading custom cursor on macOS (#845)
  • Loading custom cursor on macOS now properly resolves against model-path

Animation

  • unloadAnims no longer removes all control effects, only for given anims (#853)
  • AnimChannelScalarTable (for morph animations) is now exposed to Python
  • It's now possible to create a CharacterSlider with default value

Pipeline

  • Fix assertion errors when model-cache-dir cannot be created (#790)
  • Textures with clear colors are no longer stripped from bam files (#844)
  • Support texture clear colors in bam files (requires bam-version 6 45 in PRC)
  • Fix bam2egg skinning bug for models with default poses on joints
  • bam2egg supports multitexturing and multiple UV sets

Build system

  • Add missing --cggl-incdir and --cggl-libdir options in makepanda
  • Reduce library size by not exporting symbols of linked static libraries
  • Wheels no longer unnecessarily include libpythonX.Y.a (#839)
  • makepanda now auto-disables plug-ins in Config.prc that were not compiled in
  • Fix refcounting of returned ReferenceCount-like objects in interrogate
  • Fix inability to build a .whl on Ubuntu
  • Fix erratic build failure in dcParser code
  • Fix compilation using Windows 8.1 SDK