23836 Commits

Author SHA1 Message Date
rdb
9508b040e7 Update to 1.10.13 thirdparty tools on macOS
These contain OpenCV libraries with fixed relative references on arm64

Fixes #1393
2022-11-14 10:50:30 +01:00
rdb
e92d993cea glgsg: Fix failure to unset divisor after rendering w/ instancing
This would normally be done by `disable_shader_vertex_arrays()` but it apparently isn't called between shader changes
2022-11-14 10:25:34 +01:00
rdb
75cbe98b1d Update BACKERS.md file
[skip ci]
2022-11-14 10:03:57 +01:00
rdb
ad227eb53e Add Download link to setup.cfg
[skip ci]
2022-11-14 09:55:53 +01:00
rdb
84a69e1689 makepanda: Don't re-export harfbuzz symbols from libpanda.so
Shot in the dark at fixing #1391 (but this change is a good idea anyway)
2022-11-13 11:25:45 +01:00
rdb
fe94e43bc4 pgraph: Fix issues with flattening TexMatrixAttrib
If multiple texture stages reference the same texcoord set, Panda wouldn't flatten the tex matrices even if they were the exact same

Fixes #1392
2022-11-13 11:11:32 +01:00
rdb
0220a43ce0 shader: Fix support for #pragma include <example.glsl> in GLSL 2022-11-09 17:20:11 +01:00
rdb
11746457ff interrogate: Fix invalid syntax for make() coerce ctor with kwargs
[skip ci]
2022-11-07 18:03:41 +01:00
Erica M. ("Loonatic")
40618e104d chore: Remove extraneous print statement
There's no reason why this should be printed out by default. It can create a lot of spam in the output when utilizing this module.

Fixes #1383
2022-11-07 13:01:59 +01:00
rdb
8965741fcf tinydisplay: Don't reimplement process_events from base class
Reduces code duplication, makes it possible to inherit bug fixes from the base class, and also handles resizes more efficiently now (only when this would actually require a framebuffer reallocation).
2022-11-07 12:56:56 +01:00
rdb
0a827cf65c x11display: Time out waiting for ConfigureNotify event
Fixes #1087
2022-11-07 12:56:03 +01:00
rdb
db6ea00967 assimp: Add assimp-collapse-dummy-root-node option
This is false for now, but will be true in the future.

See #366
2022-11-03 13:18:49 +01:00
rdb
1fd2e124cf assimp: Fix unprotected debug statements 2022-11-03 13:14:07 +01:00
rdb
2044861597 assimp: Support custom object properties as tags 2022-11-02 23:02:33 +01:00
rdb
ffe2137680 assimp: Support reading additional texture maps, as well as PBR 2022-11-02 23:02:21 +01:00
rdb
286cf0d286 assimp: Improve performance of loading geometry 2022-11-02 23:02:21 +01:00
rdb
162a7b2c34 assimp: Support reading tangents and binormals 2022-11-02 23:02:21 +01:00
rdb
5a483e3899 assimp: Fix a typo in a config var description 2022-11-02 23:02:21 +01:00
rdb
6e636f5ca0 assimp: Fix issues reading external files 2022-11-02 23:02:20 +01:00
rdb
b254e5b7ba assimp: Support importing alpha mode from glTF files 2022-11-02 23:02:20 +01:00
rdb
9248182a0b assimp: Support texture transforms 2022-11-02 23:02:20 +01:00
rdb
a11f7c9c8d gobj: Add TextureStage::write() overload with indent_level param 2022-11-02 23:02:20 +01:00
rdb
356e974029 ptloader: Fix wrong initialization order issue 2022-11-02 23:02:20 +01:00
rdb
2226f8de9e assimp: Add support for texture wrapping modes 2022-11-02 19:35:10 +01:00
rdb
09a81e0d68 assimp: Fix memory corruption in load_texture_stage() 2022-11-02 19:34:39 +01:00
rdb
d8a537b59b dtoolbase: Add comment clarifying assertion in DeletedBufferChain
[skip ci]
2022-10-31 19:26:59 +01:00
rdb
587f9f7bcd makepanda: Fix issues when building on arm64 without --arch flag
Logic in various places seems to assume `OSX_ARCHS` contains `arm64` in this case
2022-10-31 19:25:47 +01:00
rdb
4cf8187df7 cocoadisplay: Fix crash with threading-model on newer macOS versions
Updates the context on the main thread instead of the draw thread now. If render_frame happens to run while the context needs updating, it will skip the frame.

Fixes #1286
2022-10-29 20:51:05 +02:00
rdb
4c6df54d6f tests: Fix failing window unit test on macOS
Fixes #804 (together with previous commit 979f194f499e76a12ba137c52b3b33f51d7d8e6c)
2022-10-29 18:47:15 +02:00
rdb
979f194f49 tests: Load either 120 or 150 GLSL shaders depending on capabilities
Addresses part of #804
2022-10-29 18:46:59 +02:00
rdb
a111bb4442 tests: skip auto-shader tests if Cg shaders are not supported
Backport of 57b0be86471f4356b912d5976e4f5b9cb9e92220
2022-10-29 18:16:58 +02:00
rdb
e0c3c8a8d9 filter: Add docstring for CommonFilters.setMSAA
[skip ci]
2022-10-25 17:51:32 +02:00
rdb
a71b417aec filter: Add "MSAA" filter to CommonFilters
This provides an easy way to enable MSAA for the offscreen color buffer only without having to enable it on the main window.

When using this filter, it is important to have framebuffer-multisample turned off in Config.prc.
2022-10-25 16:26:30 +02:00
rdb
4d2a45f124 glgsg: Fix multisample FBOs with MRT blitting aux target into color target 2022-10-25 16:25:50 +02:00
rdb
1a72311243 bullet: Fix LMatrix3<>btMatrix3x3 conversion functions 2022-10-25 12:10:44 +02:00
rdb
693b4d3fb3 bullet: Fix BulletAllHitsRayResult::empty() compiler warning 2022-10-25 12:08:50 +02:00
rdb
ef9c9fa20e bullet: Fix BulletWheel::empty() referencing local objects 2022-10-25 12:08:06 +02:00
rdb
cc24b5373d pgraph: Fix PandaNode::_nested_vertices not updating properly
The problem was that `PandaNode::update_cached()` queries the node's `_internal_vertices` *before* calling `get_internal_bounds()` (which is what actually calculates it).
2022-10-25 11:35:29 +02:00
rdb
9a53a3bf31 cppparser: Fix an instance of pvector being used instead of std::vector
Also see #539 (but doesn't fully resolve this case because DSearchPath also uses pvector)

[skip ci]
2022-10-24 13:43:29 +02:00
rdb
accd130c83 display: Fix RTT attachment modified flag not propagating through pipeline
Fixes #1364 (the other half)
2022-10-24 13:17:42 +02:00
rdb
c799146cc9 glgsg: Fix stencil renderbuffer not being unbound when binding depth tex
Fixes part of #1364
2022-10-24 13:17:42 +02:00
rdb
d4b8bb63ba pgraph: Proper deprecated marking for PandaNode::set_bound()
[skip ci]
2022-10-24 01:42:03 +02:00
rdb
e113503538 daeegg: Fix a compiler warning 2022-10-24 01:39:52 +02:00
rdb
2396bd26dc deadrec: Fix compiler warning 2022-10-23 17:01:02 +02:00
rdb
dd662a6eaa cppparser: Fix syntax error with C++11 attributes in declarators 2022-10-23 17:01:02 +02:00
rdb
6fe25d3edc shader: Fix attr_fogcolor not picking up inter-frame changes
Fixes shader generator not responding to fog color changes
2022-10-22 16:03:52 +02:00
rdb
d0b7574384 pgraph: Add missing PandaNodePipelineReader::get_into_collide_mask() 2022-10-22 15:49:40 +02:00
rdb
8bed85740f pgraph: Fix race condition when destructing/constructing NodePaths
Fixes #1366
2022-10-22 15:48:23 +02:00
rdb
00de2771fc dcparser: fix Python 3 regression unpacking uint types
Backport of d1d0dab9900c65aad7617e709428c812c6b56b37 (#1380)

Co-authored-by: Nat <56046513+NathaanTFM@users.noreply.github.com>
2022-10-22 10:31:26 +02:00
rdb
9efdf9919c collide: Implement capsule-into-polygon intersection test
There is one edge case (literally) where the reported interior point isn't deep enough, which is when the capsule hits the edge of a polygon at a steep angle, but it will still push it out eventually, so whatever.

Fixes #1369
2022-10-20 17:14:54 +02:00