rdb
c6f930a379
Merge branch 'release/1.10.x'
2023-07-21 19:42:39 +02:00
rdb
787e14fade
egg2pg: Fix infinite recursion when `<Collide>` used with `<Line>`
...
Fixes #1515
2023-07-19 11:10:49 +02:00
rdb
eefb51f510
dtoolutil: Add small_vector implementation and use it
...
This vector implementation does is optimized for the case of having only a small number of elements, which are stored directly on the vector object rather than being allocated from the heap. If the capacity exceeds this small number, then a heap allocation is done.
This should improve performance in a couple of cases where vectors typically store 1 element and rarely more than that.
2023-02-22 16:48:11 +01:00
Brian Lach
52d59b2df7
add sRGB support to egg-palettize, sluminance to egg
2023-02-14 11:34:24 +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
rdb
a0be50c769
general: Fix assorted compiler warnings
2022-03-01 16:09:07 +01:00
rdb
440b2c48b8
egg2pg: Slight cleanup
...
[skip ci]
2022-01-10 15:40:06 +01:00
rdb
6fe21fd8bd
egg2pg: Add support for texture matrices to bam2egg
2022-01-10 13:22:57 +01:00
rdb
e4013226e1
general: Remove vestigial typedef.h file
2021-12-12 18:37:49 +01:00
rdb
78fb565f2b
Merge branch 'release/1.10.x'
2021-11-28 16:14:18 +01:00
rdb
6adb6be4b5
egg2pg: slight comment cleanup in characterMaker.cxx
...
[skip ci]
2021-11-16 17:55:32 +01:00
rdb
43fb82fa66
gobj: Add config switch for Panda not to default to packed vertex colors
...
See #981 . Setting `vertex-colors-prefer-packed` to false will make Panda default to OpenGL-style vertex colors, which is useful if are targeting OpenGL and not DirectX 9, avoiding a potential performance cost.
2021-03-25 23:15:58 +01:00
rdb
a3010a43a5
Merge branch 'release/1.10.x'
2020-12-24 15:31:52 +01:00
rdb
05876317cf
Add TextureStage::M_emission mode
...
This is similar to M_glow, except that the emission factor is in the RGB channels.
2020-12-23 17:33:59 +01:00
rdb
921cbc6bae
Merge commit 'e0d34131822a8852ff72dc9c5597f4dc6900719a'
2020-09-13 16:17:06 +02:00
rdb
c7f75fc906
egg2pg: Add egg-force-srgb-textures environment variable
...
This will cause all textures in .egg files to be loaded with an sRGB format setting (except with an envtype that generally assumes a linear texture).
Fixes #1006
2020-09-13 15:17:02 +02:00
rdb
66ac3be604
Merge branch 'release/1.10.x' into master
2020-09-12 23:23:58 +02:00
rdb
ad0e634292
egg: Add (discouraged) way to specify sRGB texture format ( #924 )
...
This should NOT be used by exporters, but is provided only for the sake of round-trippability of .bam files.
2020-09-06 14:44:44 +02:00
rdb
244c880f38
bam2egg: change overloaded method (for ABI reasons) to default arg
...
This is a follow-up to ebd538a7f8
2020-03-14 15:03:55 +01:00
rdb
f524f00e8e
Merge branch 'release/1.10.x'
2020-03-14 15:01:38 +01:00
rdb
9966ddaa33
bam2egg: support multitexturing, multiple UV sets
2020-03-14 14:53:07 +01:00
rdb
ebd538a7f8
bam2egg: fix skinning bug for joints with DefaultPose
2020-03-14 14:48:31 +01:00
Sam Edwards
5961cc2ee0
Merge branch 'master' into cmake
2019-10-05 15:00:49 -06:00
rdb
05ed918d63
general: mark deprecated methods with the @deprecated tag
...
This makes them easier to find and, if necessary, automatically generate deprecation warnings for.
2019-09-08 09:50:28 +02:00
Sam Edwards
5fa4af9189
CMake: Rely on GNUInstallDirs to specify install paths
...
This makes multiarch OSes happy as they can dictate that
64-bit libraries go into 'lib64'
2019-08-31 00:48:42 -06:00
Sam Edwards
1a654cba04
CMake: Record the location that headers are installed
...
This populates INTERFACE_INCLUDE_DIRECTORIES on the targets
after they're installed.
2019-08-30 22:58:18 -06:00
Sam Edwards
671f15e052
Merge branch 'master' into cmake
2019-04-13 17:29:44 -06: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
Sam Edwards
d4df1b3762
Merge branch 'master' into cmake
2019-01-02 06:09:15 -07:00
rdb
c61b480a41
Revert "bam2egg: support exposed joints properly"
...
This reverts commit dee4cd6201 .
Fixes #237
2018-12-31 17:07:42 +01:00
Sam Edwards
3b194c75e4
Merge branch 'master' into cmake
2018-12-28 22:15:44 -07:00
rdb
bd6ef2b0ea
Rename CollisionTube to CollisionCapsule (bam 6.44)
...
Adds ability to register "obsolete" names for certain types under older .bam versions, so that we are still able to write out old .bam files.
Fixes #347
2018-12-23 22:28:06 +01:00
Sam Edwards
99fee1a64d
CMake: Assign COMPONENT and EXPORT to all targets
2018-12-06 17:48:44 -07:00
Sam Edwards
e917c54433
Merge branch 'master' into cmake
2018-09-22 15:55:59 -06:00
Sam Edwards
b64e850539
egg(2pg): Fix missing EXPCL_PANDA_EGG(2PG)
2018-09-21 18:26:13 -06:00
Sam Edwards
208ecd6708
Merge branch 'master' into cmake
2018-09-02 16:06:41 -06:00
Sam Edwards
fa1e1a2e63
CMake: Tidy up installation directory
...
Don't install "object-Configuration/" directories when
using metalibs, and also put .dll files in bin/ on Windows.
2018-09-01 11:07:55 -06:00
Sam Edwards
4695557a5d
general: Don't require BUILDING_* for static builds
2018-08-31 23:54:32 -06:00
Mitchell Stokes
f663d215d5
Remove some unused variables
2018-08-19 16:55:07 +02:00
Sam Edwards
2ab77d9a27
Merge branch 'master' into cmake
2018-08-14 21:59:45 -06:00
Sam Edwards
b2bfb31114
general: Remove `using std::*` from headers
...
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.
Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
Sam Edwards
600590ed7a
CMake: Update BUILDING_ defines for upstream
2018-06-12 16:23:32 -06:00
Sam Edwards
ed2b3017d4
Merge branch 'master' into local/cmake-merge
2018-06-12 16:19:30 -06:00
Sam Edwards
768f78306a
general: Break apart BUILDING_PANDAEGG
2018-06-12 16:15:25 -06:00
rdb
b88bd99704
Various compiler warning fixes
2018-06-12 12:38:07 +02:00
Sam Edwards
c4126942f6
Merge branch 'master' into cmake
2018-06-10 02:29:21 -06:00
Sam Edwards
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards
592a2e2d68
Merge branch 'master' into cmake
2018-06-06 13:18:12 -06:00
Sam Edwards
e2b4353800
general: Replace NULL (and 0 as pointer) with C++11 nullptr
...
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
rdb
db5dd98d33
general: further warning fixes, use -Wno-unused-variable if NDEBUG
...
Disabling unused variable checking is needed in NDEBUG builds because of the heavy use of temporary variables in asserts.
2018-05-30 22:51:04 +02:00