Sam Edwards
b3f5c38ef3
CMake: Remove references to "panda3d" from Interrogate
2019-04-14 23:10:49 -06:00
Sam Edwards
12036c7ed0
CMake: Remove remaining references to HAVE_CARBON
2019-04-14 22:38:25 -06:00
Sam Edwards
6097d34ead
CMake: Neatly format everything for readability and consistency
2019-04-14 22:37:18 -06:00
Sam Edwards
b3813dfed9
CMake: Update for upstream change (threadSafePointerTo deletion)
2019-04-13 17:59:34 -06:00
Sam Edwards
671f15e052
Merge branch 'master' into cmake
2019-04-13 17:29:44 -06:00
rdb
552916efea
Merge branch 'release/1.10.x'
2019-04-09 13:31:51 +02:00
rdb
8b79fb75b9
glgsg: allow multisampling on FBO even if host has no multisamples
...
Fixes #601
2019-04-09 13:24:52 +02:00
rdb
77d6a9f5c9
ffmpeg: add "FFmpeg" tag to PandaSystem
2019-04-09 12:09:21 +02:00
DrEuler
aad1bc9aa2
audio: change include guard naming to be more consistent
...
Closes #592
Closes #595
2019-04-02 21:32:22 +02:00
rdb
fa53e013cb
gobj: add margin to float comparison in lens.project()
...
Fixes unit tests in double-precision build.
2019-04-02 21:27:08 +02:00
rdb
1a9867ae2e
device: remove executable permissions from inputDeviceSet.*
2019-04-02 02:08:47 +02:00
rdb
e98fbc7633
Merge branch 'release/1.10.x'
2019-03-29 13:44:50 +01:00
rdb
3ea562d404
collide: handle degenerate case for into-sphere test more robustly
...
This case happens, for example, when colliding a capsule with identical begin and end points into a sphere.
2019-03-29 13:29:14 +01:00
rdb
63a764a61b
display: fix missed cases in 364d5d82fe
2019-03-29 13:28:12 +01:00
rdb
364d5d82fe
display: don't apply color-scale-via-lighting to shader inputs
...
This isn't working properly at the moment, since the state gets set for the *next* object, causing significant artifacts. I wasn't entirely sure whether to restore the "proper" behavior or not, since applications may be relying on one or the other behavior, but enabling this feature for shaders is a minefield and it's a lot better to just tell people to use p3d_ColorScale instead.
2019-03-26 23:12:41 +01:00
rdb
9fd8870766
Merge branch 'release/1.10.x'
2019-03-21 12:44:24 +01:00
rdb
b0a5cceafd
glgsg: fix support for matrix arrays in vertex data
2019-03-21 12:35:53 +01:00
Sam Edwards
c63562088b
device: Fix missing include
2019-03-18 04:10:35 -06:00
Sam Edwards
d61ecb8a8f
CMake: Build p3distort
2019-03-18 01:56:38 -06:00
rdb
03c53bb33b
ShaderTerrainMesh: set a bounding volume around the whole terrain
...
This lets one use multiple ShaderTerrainMesh tiles effectively, with Panda automatically disabling ones that are certainly not in view. It may be worth an attempt to call `set_bounds_type(BoundingVolume::BT_box)` or set `bounds-type best` in Config.prc to get a tighter volume.
2019-03-17 21:45:27 +01:00
rdb
d44b090ecd
CMake: update for latest Android NDK; fix missing Android sources
2019-03-17 21:16:08 +01:00
rdb
617ef48346
CMake: fix building without HAVE_NET/WANT_NATIVE_NET
2019-03-17 21:15:26 +01:00
rdb
9e1b40bbb7
Remove unused ThreadSafePointerTo class
...
It seems that this was created when regular PointerTo was not yet atomic, and never used or updated.
2019-03-17 20:26:59 +01:00
rdb
662f28813a
Merge branch 'release/1.10.x'
2019-03-17 20:18:16 +01:00
rdb
4f94b3aa0e
egg2pg: fix CollisionBox generation for transformed objects
...
Rather than xforming after the fact, which does not work properly for boxes, we need to apply the transform to the vertices around which the box is generated.
Fixes #506
2019-03-17 19:07:47 +01:00
rdb
e486bbcb3f
collide: fix printing CollisionBox
2019-03-17 19:06:45 +01:00
rdb
8194f53206
Merge branch 'release/1.10.x'
2019-03-17 00:20:43 +01:00
rdb
029d7363cd
distort: fix use of cylindrical_k in oSphereLens.cxx
2019-03-17 00:17:11 +01:00
Sam Edwards
52541825b5
CMake: Move p3cocoadisplay to OpenGL component
2019-03-13 20:17:55 -06:00
rdb
ea10cf192e
Merge remote-tracking branch 'origin/release/1.10.x'
2019-03-12 21:11:56 +01:00
Daniel
fb0807d769
putil: add is_allocated convenience method to UniqueIdAllocator
...
Closes #580
2019-03-12 21:10:44 +01:00
rdb
bafd523e2b
mathutil: fix bad assert in BoundingBox::set_min_max
2019-03-12 15:36:47 +01:00
Sam Edwards
9c90ad596e
CMake: Update for upstream changes
2019-03-12 02:05:06 -06:00
Sam Edwards
f8161cc529
Merge branch 'master' into cmake
2019-03-12 02:03:16 -06:00
Sam Edwards
138e7f935f
collide: Fix missing includes
2019-03-12 02:01:09 -06:00
rdb
8d1bdf0118
Merge branch 'release/1.10.x'
2019-03-10 20:49:52 +01:00
rdb
0e70997fbf
x11display: fixes for multi-monitor and fullscreen support
...
- DisplayInformation now gives the list of display modes returned by XRRGetScreenResources if RandR 1.2 is supported, which is apparently more reliable than the previous XRRSizes/XRRRates approach.
- Switching fullscreen on X11 to the current resolution on the CRTC that the monitor is on will make the window cover the CRTC properly, rather than forcing the window to have an origin of (0, 0).
- Passing in the pipe's display width/height is commonly done to go fullscreen at native res, but this may not correspond to a real display resolution. It now detects when this is done, and interprets this as "go fullscreen at the native resolution on the current CRTC".
Fixes #575
2019-03-10 19:33:13 +01:00
rdb
511b0e7af3
gobj: prevent GeomVertexReader/Writer.set_row with negative row
2019-03-10 19:23:05 +01:00
rdb
a7d9baeeb8
Remove unused ProfileTimer class
...
It doesn't seem to be used by anything, but it does take up 64+ KiB of memory in every Panda process.
2019-03-10 19:20:43 +01:00
rdb
08c686ba18
windisplay: fix issues with runtime fullscreen switching
2019-03-08 11:14:56 +01:00
rdb
71b8bceb79
task: allow overriding methods of PythonTask
2019-03-04 22:58:50 +01:00
Q Misell
05eaf930b1
bullet: make suspension rest length of vehicle adjustable
...
Fixes #569
2019-03-04 17:01:38 +01:00
rdb
cbb3c182a5
Merge branch 'release/1.10.x'
2019-03-04 16:57:52 +01:00
rdb
45778b9e9f
device: use threaded message loop on Windows (see #562 )
2019-03-04 16:20:52 +01:00
rdb
4e92b708ff
Merge branch 'macosstuckwindowfix' of github.com:treamology/panda3d into release/1.10.x
...
Closes #536
Fixes #534
2019-03-04 12:23:53 +01:00
rdb
155b1c38ad
bullet: properly expose bullet_contact_added_callback symbol
...
Fixes #571 (alongside 92993fe889 )
2019-03-03 21:14:47 +01:00
rdb
92993fe889
bullet: fix assert when setting mass before shape ( #571 )
...
Requires compiling Bullet in debug mode to reproduce.
2019-03-03 21:13:36 +01:00
rdb
7f4491cb98
device: disable message loop in WinInputDeviceManager for now
...
This was a change in aadc62a96c but seems to cause other problems, see #562
2019-03-02 12:39:42 +01:00
Sam Edwards
7097f5b0e1
CMake: Move "framework" to its own component
...
It can depend on graphics backends, so it can't go in Core.
2019-02-23 02:54:01 -07:00
rdb
d11d4e0d85
display: don't render shadow cameras whose frusta are out of view
...
This is done by collecting bounding volumes for each camera in a scene, and then only rendering a shadow camera if at least one of those bounding volumes overlaps with the shadow camera bounding volume.
Closes #560
2019-02-19 21:59:04 +01:00