DrEuler
073923e5ca
makepanda: switch to using OpenAL by default on macOS
...
Closes #596
2019-04-02 21:28:51 +02:00
rdb
57b0be8647
tests: skip auto-shader tests if Cg shaders are not supported
2019-04-02 21:27:08 +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
eda709bbfc
deploy-ng: work around Python 2 crash with logging in GUI apps
2019-04-02 01:31:57 +02:00
rdb
e0d6e07a93
tests: add capsule-into-sphere and segment-into-sphere tests
2019-03-29 13:45:06 +01: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 364d5d82fe4b33acd8679a66ecf8f9f55eeb00c8
2019-03-29 13:28:12 +01:00
rdb
5a8a8dd550
tests: add unit tests for lens extrude and project operations
2019-03-29 12:20:01 +01:00
Christopher Snow
b06b5791ca
Task: Couple two clauses which execute the same logic.
...
Closes #589
2019-03-29 12:18:37 +01:00
hecris
2d9079713b
tests: add collision tests
...
Closes #583
2019-03-29 12:15:08 +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
fbde7c0b62
CMake: Fix invocation of flex
...
This removes the space between '-o' and the output filename,
which apparently some builds of flex (e.g. on Windows) dislike.
2019-03-18 04:18:20 -06:00
Sam Edwards
ac16852e32
CMake: Generate/install Panda3DConfigVersion.cmake
...
This allows people to do find_package(Panda3D) by version.
2019-03-18 04:18:20 -06:00
Sam Edwards
2a575bf1d8
CMake: Export pandatool targets under "Tools"
2019-03-18 04:18:20 -06:00
Sam Edwards
8b58b5a6ed
CMake: Build text-stats and win-stats
2019-03-18 04:18:20 -06:00
Sam Edwards
5c1b525636
CMake: Minor tweaks to gtk-stats
...
- hyphenate target name
- remove dependency on pystub
2019-03-18 04:18:16 -06:00
Sam Edwards
c63562088b
device: Fix missing include
2019-03-18 04:10:35 -06:00
Sam Edwards
b4a532f1d0
CMake: Add support for building against FCollada
2019-03-18 01:56:38 -06:00
Sam Edwards
3a9353c0ca
CMake: Build 'contrib'
2019-03-18 01:56:38 -06:00
Sam Edwards
d61ecb8a8f
CMake: Build p3distort
2019-03-18 01:56:38 -06:00
Sam Edwards
6eb112a13a
CMake: Discover FFTW3 by MODULE only, never CONFIG
...
This stops a CMake crash on some folks' systems.
2019-03-18 01:54:34 -06:00
Sam Edwards
ff06135412
win-stats: Define WIN32_LEAN_AND_MEAN before including windows.h
...
This prevents pulling in winsock 1, which will cause compiler
errors when p3net later tries to pull in winsock 2.
2019-03-18 01:53:36 -06:00
rdb
03041dde16
samples: add info about ShaderTerrainMesh optimization config vars
2019-03-17 22:18:08 +01: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
Flavio Calva
d568282350
samples: add shader-based particle sample
...
Closes #476
Co-authored-by: rdb <git@rdb.name>
2019-03-17 20:17:34 +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
768dce9244
makepanda: fix locating UCRT shipped with more recent Win 10 SDK
2019-03-17 16:04:12 +01:00
deflected
0840e80f54
makepanda: Fixed building of FreeBSD installer
...
- Include the python bindings when building the FreeBSD
installer
Signed-off-by: deflected <deflected@users.noreply.github.com>
Closes #585
2019-03-17 11:56:19 +01:00
Sam Edwards
9284a3cd9c
contrib: Fix several includes, and a missing copyright header
...
The copyright header was removed, apparently by mistake,
in c310c29a7712a06fe68fcb838b8c8a64caa5914b. I've put the
header back, carefully referencing the original to be
certain that I'm not inadvertently changing the copyright
status.
2019-03-17 00:10:01 -06: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
rdb
9a26b5fd08
readme: suggest --no-tiff for Android build command
...
This is because building with tiff seems to have an issue on termux, and it's not actually necessary to build any of the image loaders on Android as we can use the built-in Android APIs.
2019-03-17 00:06:53 +01:00
rdb
6cbc7ac22f
makepanda: fix missing Python link when building on Android
...
[skip ci]
2019-03-16 23:58:13 +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
Sebastian Hoffmann
915e290513
makepanda: expose save_egg_file/save_egg_data to Python
...
Closes #582
2019-03-12 18:08:19 +01:00
rdb
a8ceac919a
Raise version number to 1.10.3 on release/1.10.x branch
2019-03-12 18:08:19 +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