Rishabh Tewari
dcd2aa83d4
tests: Added video and audio tests
...
Closes #663
2023-02-07 18:08:32 +01:00
David Staer
fc2ef74148
Extend BulletBodyNode::add_shapes_from_collision_solids() to accept a TransformState
...
Code is much the same as original, so adapt original function to use the expanded one. This is useful for example when the collision node is rotated, is not centered to origin, or has several parent transforms applied on it.
2023-02-07 18:05:51 +01:00
rdb
33f6ea73a2
workflow: Update Ubuntu version to 20.04
2023-02-07 18:05:51 +01:00
enn0x
d8838fd7ed
samples: Add Bullet Physics sample programs
...
Closes #248
[skip ci]
Co-authored-by: Sebastian Hoffmann <TheCheapestPixels@gmail.com>
2023-02-07 16:39:57 +01:00
git2323
e28697f670
audiotraits: Add directional sound support to OpenAL ( #1451 )
2023-02-07 13:14:59 +01:00
rdb
c076d5ad08
showbase: Don't return same texture object if loaded with different settings
...
Follow-up to #1105
2023-02-07 12:26:41 +01:00
rdb
fed5865645
tests: Add unit tests for #1105
2023-02-07 12:24:54 +01:00
Timothy Paustian
4fa90bd754
gobj: Fix TexturePool sharing texture objects when loaded with different properties
...
Fixes #1047
Closes #1105
Co-authored-by: rdb <git@rdb.name>
2023-02-07 12:23:30 +01:00
WMOkiishi
3f3c65917b
Ensure classes using aligned types inherit from MemoryBase
2023-02-06 18:35:18 +01:00
WMOkiishi
87b5aa9d1f
Replace "unaligned" linear algebra classes with simple typedefs
2023-02-06 18:35:18 +01:00
rdb
eacbc4f89a
pgraph: Fix regression: assertion in get_off_clip_planes()
...
Occurs when using clip plane culling
2023-02-03 15:26:50 +01:00
rdb
6075307e66
glgsg: Set maximum vertex attrib stride for WebGL
2023-02-03 15:17:55 +01:00
rdb
805fa5a36a
glgsg: Guess max vertex attrib stride if not queryable
...
Or should we just assume the most restrictive possibility?
2023-02-03 15:09:32 +01:00
rdb
b09a8a84ec
Merge branch 'release/1.10.x'
2023-02-03 14:52:39 +01:00
rdb
718bac1c69
audiotraits: Fix crash when encountering corruption in OpenAL stream
...
Partial backport of #1452
2023-02-03 14:44:14 +01:00
rdb
a20996d2aa
pgraphnodes: Support missing texture types in shader generator:
...
- Cube arrays
- 1D texture arrays
- Buffer textures
Not to say that they are displayed meaningfully, but better than a cryptic error message.
2023-01-31 17:40:55 +01:00
rdb
d69d393e4c
glgsg: Set ultimate Cg profiles to gp5vp/gp5fp/gp5gp
...
These support the most features, including cube map arrays (which aren't even supported in glslv/glslf)
This improves the quality of error messages, eg. using cube map arrays will no longer display a cryptic error about no overload of texCUBEARRAY() being available
2023-01-31 17:38:54 +01:00
rdb
52c7d6bddb
shader: Add missing handling for 1D array textures in Cg shaders
2023-01-31 17:37:18 +01:00
rdb
51d0a55264
general: Fix silly new clang warning about unprefixed std::move()
2023-01-31 15:38:02 +01:00
rdb
614502d183
gobj: Add note to API doc about maximum stride value
2023-01-31 15:36:43 +01:00
rdb
c5ccd6232d
glgsg: Prevent exceeding max supported vertex attrib stride
...
See also Moguri/panda3d-gltf#117
2023-01-31 15:30:52 +01:00
rdb
8bc1743d75
Merge branch 'release/1.10.x'
2023-01-27 16:17:41 +01:00
rdb
ef58255abd
vision: Fix another use of wrong delete operator in ARToolKit code
2023-01-27 10:40:47 +01:00
Fireclaw
e14d43ebe5
dmodels: Fixed broken minusnode icon
...
Closes #1449
2023-01-27 10:29:49 +01:00
LD
518ee0fb8e
cocoadisplay: Capture display before switching to fullscreen mode
2023-01-20 18:16:43 +01:00
rdb
f4dc4740a6
makepanda: Look for the macOS 13.1 SDK
...
[skip ci]
2023-01-19 15:43:06 +01:00
rdb
4b992105e1
ShaderGenerator: Fix support for hardware point sprites
...
In gp5fp and glslf profiles, we can rely on per-fragment point coordinates to be available, otherwise we have to emulate support by calculating it from the fragment pixel coordinates
2023-01-16 19:33:09 +01:00
Disyer
6cb074e5c8
distributed: Fix segfault when ConnectionRepository is verbose by holding GIL
...
Also removes obsolete USE_PYTHON_2_2_OR_EARLIER macro
Closes #1430
2023-01-16 15:14:31 +01:00
David Crompton
a88b6ee8db
showbase: Allow destroy()
to be called from non-main thread
...
Also adds an error message when `run()` is called from non-main thread
Closes #1436
Fixes #1269
Co-authored-by: rdb <git@rdb.name>
2023-01-16 14:15:19 +01:00
David Crompton
4d90ce5c5a
bdist_apps: Fix assertion error from calling finalize_options twice
2023-01-14 19:51:02 +00:00
rdb
b282e8920d
Merge branch 'release/1.10.x'
2023-01-13 22:32:35 +01:00
rdb
e696ac4046
cocoa: Fix black bar when switching to fullscreen while z-order is top
2023-01-13 22:05:06 +01:00
rdb
76386bc4c0
cocoa: Fix window sizing bug when simultaneously changing undecorated
2023-01-13 22:04:42 +01:00
rdb
8c5e2e74f5
cocoa: Fix undecorated setting ignored when switching off fullscreen
2023-01-13 22:03:33 +01:00
rdb
7a8e218da7
glgsg: Correctly handle 4-component texcoords in default shader
2023-01-13 19:35:45 +01:00
rdb
67c413f089
dxgsg9: Fix issues setting some kinds of automatic shader inputs
2023-01-13 19:19:16 +01:00
rdb
709555577f
ShaderGenerator: Add support for perspective points
...
Fixes #1440
2023-01-13 19:12:01 +01:00
rdb
6ad50b5cb1
ShaderGenerator: implement remaining missing TexGenAttrib modes
...
Fixes #1437
2023-01-13 17:04:04 +01:00
rdb
10f4c6bb21
shader: Add texconst_i shader input for Cg shaders to access TexGen constant
2023-01-13 17:02:15 +01:00
rdb
21347bb2d5
glgsg: Fix bug if same texture is used with different tex gen modes in FFP
2023-01-13 17:00:12 +01:00
rdb
86a1973f89
x11display: Clean up cursor filename map after freeing it
...
Not essential, but slightly neater
2023-01-13 14:53:25 +01:00
rdb
3954d43292
makepanda: Create __panda section in deploy-stub on macOS
2023-01-13 13:39:10 +01:00
rdb
b526286d40
pstats: Add collectors for texture/image reading/writing
2023-01-13 11:42:26 +01:00
rdb
0c4fe35a5c
pview: Add -S
flag to connect to pstats right away
2023-01-13 11:40:30 +01:00
rdb
6404704ee3
x11display: Attempt to fix crash on shutdown with custom cursor
2023-01-12 22:51:49 +01:00
David Crompton
581f374ba6
Notifier: Add custom exception type for Notifier.error
2023-01-10 23:15:20 +01:00
David Crompton
cd6ad8285e
ShowBase: Add a private DirectObject to allow use of base.accept for window-events
2023-01-10 21:50:20 +00:00
rdb
2157f1162e
pstats: Proper thread cleanup after a thread exits (PStats 3.2)
...
The thread will linger around in the server as long as there is data (so, it will be removed after `pstats-history` seconds)
Fixes #450
2023-01-10 14:37:39 +01:00
Frang
a91111183f
Merge pull request #1426 from Frangwhuf/MaskType
...
patch around non-exported return type
2023-01-09 09:49:07 -05:00
rdb
1867094afe
Bump version number on release/1.10.x branch to 1.10.14
2023-01-09 13:25:26 +01:00