Recent Releases of panda3d
panda3d - SDK 1.10.15
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 bammodelextensions (#1642)
- Add bamembedtextures 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 filetexturemode 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
--ignoreoption 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)
- C++
Published by rdb over 1 year ago
panda3d - SDK 1.10.14
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 bammodelextensions 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+
- C++
Published by rdb about 2 years ago
panda3d - SDK 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 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 2or 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_docstringsoption to switch to optimize level 1 (#1341) - Add
prefer_discrete_gpuoption to force dedicated GPU on Windows (#680) - Add
bam_model_extensionsfor converting non-egg models to .bam (#714) - Work around autodiscovery error when using
setuptools>=61.0.0(#1394) - Default Linux target to
manylinux2014_x86_64on Python 3.11+
PStats
- Add support for Python profiling with
pstats-python-profilerConfig.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-sizefrom 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-nodeoption 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.desktopfile on Linux - makepanda: Fix problems when building on arm64 on macOS without
--archflag - 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]andmat.rows[n]assignable - Fix
ExecutionEnvironment.argsbeing 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_verticesnot updating properly - Prevent Panda calculating bounding volume of Geom with custom bounding volume
- Add
do_events()andprocess_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
- C++
Published by rdb about 3 years ago
panda3d - SDK 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 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 trueto revert
Rendering
- Add
shadow-cube-map-filtersetting to enable cube map shadow filtering (#1332) - Support floating-point FBOs in OpenGL ES 2+
- Fix texture format selection in OpenGL with Thalffloat component type
- Added
egl-device-indexconfig 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 DTRUNPATH instead of DTRPATH (#1358)
sys.flags.optimizeis 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
- C++
Published by rdb over 3 years ago
panda3d - SDK 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 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_i686also 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.clockas 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-impulseconfiguration 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,durationproperties of Sequence/Parallel (#1202) - Expose ButtonEvent API to Python (UNSTABLE API, will be changed soon)
- C++
Published by rdb about 4 years ago
panda3d - SDK 1.10.10
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()andfloor()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-oneis 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
- C++
Published by rdb over 4 years ago
panda3d - SDK 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 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 logfilename 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 SOURCEDATE_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 SOURCEDATEEPOCH 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 SOURCEDATEEPOCH (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
- C++
Published by rdb almost 5 years ago
panda3d - SDK 1.10.8
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_emissionmode - 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
- C++
Published by rdb about 5 years ago
panda3d - SDK 1.10.7
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 addsubimage() / multsubimage() 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.hasanyof()
- 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
- C++
Published by rdb over 5 years ago
panda3d - SDK 1.10.6
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 profileno 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-dircannot 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 45in PRC) - Fix bam2egg skinning bug for models with default poses on joints
- bam2egg supports multitexturing and multiple UV sets
Build system
- Add missing
--cggl-incdirand--cggl-libdiroptions 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
- C++
Published by rdb almost 6 years ago
panda3d - SDK 1.10.5
This is a recommended bugfix release, especially for macOS users.
Read the announcement on our blog, or go straight to the download page for the binary builds.
- 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 packagedatadirs 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)
- RTMcopyram 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-incdirand -libdir to makepanda on macOS ls()andbam-info -lsnow 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/*.ininterrogatedb 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
- C++
Published by rdb about 6 years ago
panda3d - SDK 1.10.4.1
This release fixes only one critical regression in 1.10.4: calling destroy() on a DirectGUI item would cause an exception.
Read the announcement on our blog, or go straight to the download page for the binary builds.
- C++
Published by rdb over 6 years ago
panda3d - SDK 1.10.4
Read the announcement on our blog, or go straight to the download page for the binary builds.
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 calctightbounds
- 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_sluminanceis 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.weightedChoicenow 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
- C++
Published by rdb over 6 years ago
panda3d - SDK 1.10.3
This is another bugfix release that addresses a variety of issues in 1.10.2 and further improves the stability.
To download binary builds, please visit the download page.
- 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 saveeggfile/saveeggdata functions in Python API
- Fix assertion error in BoundingBox.setminmax
- Fix typo in CollisionTraverser.respectprevtransform property
- Properly install Python bindings when building FreeBSD installer
- C++
Published by rdb almost 7 years ago
panda3d - SDK 1.10.2
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 divisionfor 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
- C++
Published by rdb almost 7 years ago
panda3d - SDK 1.10.1
This is a bugfix release with several critical bugfixes for 1.10.0. There are no known breaking changes from 1.10.0. It is recommended to upgrade as soon as possible.
- Fix crashes when gamepad is plugged in on 32-bit Windows
- Fix deploy-ng error regarding 'exist_ok' on Python 2
- Fix Linux install from pip not working with some mesa drivers
- Fix compatibility issues with upcoming Python 3.8
- Fix regression with Audio3DManager.setSoundVelocityAuto()
- Fix issues when awaiting loader.loadModel in Python 3.7
- Audio3DManager accepts tuple in setSoundVelocity/setListenerVelocity
- Fix lighting being disabled when only an AmbientLight is active
- Fix an error saving from Particle Panel in Python 3
- Depth buffer now defaults to 24-bit on macOS (fixes flickering)
- Fix no devices being detected on Windows with threading-model
- Implement collision tests from Capsule and Box into InvSphere
- Fix odd behavior and occasional crash in QuatInterval
- Fix SpriteAnim error in particle system
- Fix ShaderGenerator error when using too many shadowing lights
- Fix interrogate crash in Python 3 with optional wstring args
- Fix compilation errors for x86 Android platform
- Fix permissions of directories created by installpanda
- Improvements to API reference documentation
- Fix incorrect features printed out when printing an InputDevice
- Support cross-compiling for Android platforms in makepanda
- Work around various bugs when compiling with OS X 10.7's libc++
- Fix wrong error sometimes being reported when loading plug-in
- Allow getting NodePath from CullTraverserData object
- Add config options to Assimp loader for generating normals
- Fix multisampling in floating-point framebuffers on OpenGL
- Parse egg files with 4-component tangents (must be 1 or -1)
- StencilAttrib.make() write_mask argument is now optional
- C++
Published by rdb about 7 years ago
panda3d - SDK 1.10.0
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; useWindowProperties(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_offmode 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
NULLis replaced withnullptr - 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_int32et al have been removed, usestdint.htypes instead- The need to link with pystub and add Python include dirs is removed.
- C++
Published by rdb about 7 years ago
panda3d - SDK 1.9.4
One of the bugfixes in the last 1.9.3 release introduced a regression, therefore it was decided to make another 1.9.x release.
- Fix 1.9.3 regression with generating geometry in threaded pipeline
- Various compile warning fixes
- Fix occasional crash in PNMImage::quickfilterfrom()
- Fix issue taking screenshots from an OpenGL FBO buffer
- Fix various issues with MeshDrawer
- Fix issue with collision sphere generation in bam2egg
- Fix compile errors with more obscure Python configurations
- Fix assert when using Texture.loadsubimage to load whole image
- Fix fsm FourState
- C++
Published by rdb almost 9 years ago
panda3d - SDK 1.9.3
This issue fixes several bugs that were still found in 1.9.2.
- Fix crash when using homebrew Python on Mac OS X
- Fix crash when running in Steam on Linux when using OpenAL
- Fix crash using wx/tkinter on Mac as long as want-wx/tk is set
- Fix loading models from 'models' package with models/ prefix
- Fix random crashes in task system
- Fix various race conditions causing threading issues
- Fix memory leaks in BulletTriangleMesh
- Fix loading old models with MovingPart
- C++
Published by rdb about 9 years ago
panda3d - SDK 1.9.2
This is a minor bugfix release, fixing a few minor issues that remained in the 1.9.1 release, including: - Fix compile errors with more recent versions of ffmpeg - Include .lib files for pyd modules in Windows SDK - packp3d now recognizes default egg-object-type definitions - Fix issues with sphere-into-box and box-into-sphere collisions - Texture VRAM usage is now correctly reported by pstats - Support for reading BMP files with alpha channel - Fix OpenGL crashes in very ancient OpenGL versions - Fix rare compile issues and crashes with esoteric Python set-ups - Fix crash when extracting texture that's not a multiple of 4 bytes - Work around buggy NVIDIA driver that reports main* shader inputs - Add version of transformvertices that accepts a SparseArray - Clamp shininess to 0 to avoid GL error when shininess < 0 - Fix various bugs in RopeNode and NurbsCurveEvaluator - Fix clock-mode Config.prc settings - NodePath rendermode setters no longer reset wireframe color - Fix constant reloading of texture when gl-ignore-mipmaps is set - BamReader now releases the GIL (so it can be used threaded) - Fix AttributeError in direct.stdpy.threading module
- C++
Published by rdb about 9 years ago
panda3d - SDK 1.9.1
This minor release fixes some important regressions and bugs found in 1.9.0, but also introduces a few minor features.
It also reintroduces the deployment tools that were absent from the previous release.
The following issues were fixed: - SDK now properly installs in Mac OS X 10.11 "El Capitan" - Windows 8.1+ no longer applies DPI virtualization to Panda window - Fix ffmpeg library load issue on Mac OS X - Fix issues running maya2egg on Mac OS X - Fix compiler errors on different platforms - Fix various rare crashes - Fix crashes on shutdown in threaded pipeline - Fix low-level threading crash on ARM machines - More reliably and robustly handle failures opening OpenAL device - Textures were not being scaled to power-of-2 in some cases - Correct scaling of normal vectors with flatten operation - Correct positioning of viewing axis when showing lens frustum - Add dpi-window-resize option to auto-resize window on DPI change - Fix assertions when alpha-file-channel references unknown channel - Use OpenGL-style vertex colors by default on non-Windows systems - Default vertex column alignment is now 4 bytes - Add PNMImage premultiply/unpremultiply methods. - Fix incorrect parsing of numbers with exponents in Config.prc - Fix for reading URLs mounted via the virtual file system - Fix shader generator memory leaks and runtime performance - Fix shader generator scaling of binormals and tangents - Expose NETWM_PID to window managers in X11 - Fix a range of bugs in tinydisplay renderer. - Don't error when setting lens far distance to infinity - Allow passing custom lens to saveCubeMap/saveSphereMap - Fix errors in saveCubeMap/saveSphereMap in threaded pipeline - Fix DynamicTextFont.makeCopy() - Make Texture memory size estimation more accurate - Fix various window resizing issues - Fix PandaSystem.getCompiler() value for clang (it reported gcc) - x2egg no longer replaces face normals with vertex normals - Include Eigen headers in Mac and Windows SDK - Added geomipterrain-incorrect-normals setting, default=true - DisplayInformation resolution list was missing on Windows - Upgrade FMOD and Bullet versions on Windows and Mac OS X - Various performance optimizations - Fixed various other bugs not listed here.
Fixes and improvements for the runtime: - Fix splash screen freezing in the X11 web plug-in - pdeploy will now handle extracted files (eg. .ico and .cur) - Added more options for customizing splash screen - Fix missing xml and ast modules from morepy package - Certificate dialog is now localized to various languages - Fix packp3d error when Python file is not in a package - Pass on failing exit status from packaged application - Remove annoying ":Packager(warning): No such file" warning - Fix issue installing pdeploy-generated .pkg on OS X 10.11
Fixes for the Python API: - Fix mysterious and rare crash in tp_traverse - Bullet step function accidentally defaulted to step size of 0 - Fix overflow of file offsets (eg. when seeking in huge files) - Fix regression with memoryviews - Fix hasattr/getattr of vector classes for invalid attributes - Allow passing a long to methods accepting an int - Fix crash when passing None to Filename constructor - MouseWatcherGroup was erroneously not exposed in 1.9.0 - ShowBase no longer unmounts VFS when shutting down - No longer requires setting PATH to import panda3d.* - DirectDialog default geom is once again respected - DirectDialog no longer overrides custom frameSize - Fix WebcamVideo/MicrophoneAudio.getOptions() methods
Changes relating to the OpenGL renderer: - Various performance improvements - Fix point/line thickness setting - Improve GLSL error reporting - Fix Intel driver issues, particularly with geometry shaders - Add more error checking for parameter types - Integer shader inputs were not being converted to float properly - Fix crash passing an undersized array to a GLSL shader input - p3dColorScale et al may now be declared as vec3 - Fix flickering when using transmodeltoapiview in Cg - Support wireframe and point rendering modes in OpenGL ES - Fix issue with model disappearing in rare cases with GLSL - Fix ColorWriteAttrib not working as it should - Allow deactivating PStats collectors for GPU timers - Memory residency of graphics buffers now tracked by PStats - Allow changing OpenGL coordinate system with gl-coordinate-system
Fixes for libRocket integration: - libRocket did not work on Mac OS X in 1.9.0 - Fix inconsistent behavior with non-power-of-2 textures in rocket - Use model-path for finding libRocket assets - Add missing keys to libRocket keymap - libRocket elements showed up white in tinydisplay
New features: - Add -L (lighting) and -P (graphics pipe) pview options - Add Mconfined mouse mode that keeps cursor in window - Add sample program demonstrating mouse modes - bam2egg supports collision sphere and plane solids - p3dTransformTable GLSL input backported from 1.10 branch - Add openal-device setting for selecting OpenAL audio output - Add limited modification timestamp tracking for Ramdisk mounts - Support for Autodesk Maya 2016
- C++
Published by rdb about 10 years ago
panda3d - SDK 1.9.0
This is a major release with many exciting new features! Beware of bugs.
The list below contains a subset of the changes introduced: - We now offer 64-bit Windows and Mac OS X builds. - Switch to MSVC 2010; no more assembly manifests. - Cocoa port for better Mac OS X support, esp. newer versions. - We now compile the Python modules into panda3d/*.pyd modules; no more imp.loaddynamic hackery needed. - Support for GPU profiling in OpenGL, see pstats-gpu-timing - sRGB framebuffers, see framebuffer-srgb - sRGB texture support, see Texture::Fsrgb et al. - Integer vector support, including passing to shaders - Native .ogg vorbis and .wav loader (does not require ffmpeg) - FFmpeg support is a separate plug-in module now, libp3ffmpeg. - Sample programs are now part of the source code repository - Can be built with Python 3 (highly experimental) - Improvements to Windows installer - Mfilledwireframe rendering mode - Support specifying sampler state separate from textures - Support for bindless texture clearing - Texture LOD bias and min/max LOD settings - Framebuffer properties allows separate red/green/blue bits - Explicit float color and float depth specification in fbprops - Coverage samples settable via FrameBufferProperties - Stereo buffer implementation in OpenGL via FBOs - Support enumeration of pixel formats in WebcamVideo - Frame rate meter can be configured to show milliseconds - Changes to improve font crispness with default settings - Fix assertion error when using more than one GraphicsEngine - raw-w, raw-a, etc. keyboard events for layout-independent input - Allow querying active keyboard layout via win.getkeyboardmap() - Distinguish between lmeta and rmeta keys on Mac OS X - Floating-point image manipulation API, support float tiffs - Various new 16-bit and 32-bit and int texture formats - Man pages are now available for the majority of utilities
Pipeline:
- Fix bugs with
OpenGL renderer changes: - Error checking is now OFF by default for performance reasons, set gl-check-errors or gl-debug to true to enable. - GL 4.2 shaderimageloadstore support (incl. multi-bind) - Layered render-to-texture (using geometry shaders) - Seamless cube maps (on by default), see gl-cube-map-seamless - Added gl-debug for improved debug output support - Added GL object labels when gl-debug is enabled - gl-dump-compiled-shaders can be used to dump program binaries - Direct3D-style NTpacked_dabc vertex arrays now directly supported - Native rendering of line strips, using primitive restart - Immutable texture storage support (disabled by default) - Bindless texture support (disabled by default) - Specular component is now computed separately in FFP
Shader system: - Support for tessellation shaders - Support for compute shaders via ComputeNode - GLSL preprocessor with "#pragma include" support - Much better coverage of shader inputs in GLSL - GLSL error messages now show source filename - Fixes apiclipofx shader inputs - Matrices can be passed directly to setShaderInput - Support binding images to shaders - Viewport array support
Optimizations and performance improvements: - Use of C++11 move semantics to reduce refcounting overhead - Build with Eigen by default for faster linear math - Dramatic overhead reduction of generated bindings - Streamline culling process - Tighter bounding volume generation - Take advantage of CPU features for bit operations - Circumvent bounding volume generation when not required - Optimizations for interned strings - Use of GCC atomics should improve 64-bit Linux performance
API features: - Buffer protocol support for textures and arrays - Interrogate supports various C++11 features - Expose TextGlyph interfaces for making custom text renderers - Better handling of default arguments for many functions - Cyclic references can sometimes be tracked through tasks - ShowBase clean teardown possible - API documentation is more accurate - Improve interfaces for interop with other applications
Deprecated features: - Use of pandac.PandaModules is discouraged; use panda3d.core - Deprecate DirectStart and global run() function; use ShowBase - Remove old decal system - Remove Direct3D 8 renderer - Remove Mlightvector tex gen mode and FFP-based bump mapping
Bug fixes: - Various point rendering issues are fixed now - Fix pview issue with 1-frame and/or multiple animations - Fixes for multisampling in FBOs - Fix aspect ratio of frame rate meter - Support NaN and infinity values in Config.prc variables - Fixes for webcams on Linux that do not output Huffman tables - Better support for non-basic Cg shaders on non-NVIDIA cards - Many others
- C++
Published by rdb almost 11 years ago