rdb
32eb9b9e9f
makepanda: fix missing Python link for PhysX
2017-07-05 14:24:09 +02:00
Younguk Kim
e07e5d0203
Fix assert macros that cause a crash in non-debug
2017-07-05 19:49:46 +09:00
The Cheaterman
86cbdddd76
Fix float precision issues in bulletHeightfieldShape
...
Closes : #152
2017-07-03 22:36:22 +02:00
rdb
2b537d2263
Use XDG basedir spec for model-cache-dir (now $XDG_CACHE_HOME/panda3d which is usually $HOME/.cache/panda3d)
...
User appdata directory on posix is now $XDG_DATA_HOME (usually $HOME/.local/share).
Common appdata dir is /usr/share (or /usr/local/share on FreeBSD)
2017-07-03 22:27:37 +02:00
rdb
69eab74b77
makepanda: changes to support static building better
...
Fixes LP 1081784
2017-07-03 13:56:50 +02:00
rdb
fa1c480508
general: clean up use of override keyword
2017-07-03 12:56:23 +02:00
rdb
48c811e112
cull: remove GeomMunger stored on CullableObject
2017-07-03 11:47:59 +02:00
rdb
f57a3f9cde
Hack to remove build warning on MSVC 2010
...
Fixes LP #1700329
2017-07-03 11:13:02 +02:00
rdb
9c4151cb0f
ShaderGenerator: fix TextureAttrib assertion
...
This was caused by af57c829d2c15530f72395895353c004a7440a35 and was triggered by a change in TextureStage sort.
2017-06-22 13:36:47 +02:00
rdb
511b0c10e5
ShaderGenerator: don't generate a shader per Material
2017-06-22 13:35:46 +02:00
wezu
40c6f41da2
direct: provide snake_case functions for some classes
...
Closes #147
2017-06-20 21:56:03 +02:00
rdb
c6dda2a44a
vfs: Show IOError instead of AssertionError if read_file fails
...
The methods are marked non-BLOCKING since the GIL needs to be held while throwing exceptions. We handle the GIL in the extension functions instead.
2017-06-20 21:52:22 +02:00
rdb
3eb91e38b5
CommonFilters: fix edge bleeding when using POT textures (LP 424640)
2017-06-20 19:37:57 +02:00
rdb
b41496b17a
Fix texpad/texpix inputs not updating (fixes CommonFilters resize issue)
2017-06-20 19:15:12 +02:00
rdb
af57c829d2
ShaderGenerator: reduce combinatoric explosion of shaders
...
This is done by:
* Not considering the texture pointer when looking up a generated shader, only type
* Not requiring different shaders based on RescaleNormalAttrib
* Not looking at AlphaTestAttrib unless it is going to be relevant
This should dramatically reduce the number of shaders that are being generated for many scenes, especially since the only thing that differs from object to object is often just the texture.
These changes are also necessary to make b781995ef135fdaea6d2479f8b3b7e6213e9d9f3 more usable, since prepare_scene may see a slightly different state than is encountered at render time due to code in CullResult adding in an AlphaTestAttrib or RescaleNormalAttrib.
2017-06-20 18:45:49 +02:00
rdb
b781995ef1
ShaderGenerator: prepare_scene now invokes shader generator.
...
This also necessarily removes ShaderGenerator's dependency on a host window.
2017-06-20 16:16:30 +02:00
rdb
751299d65a
makepanda: don't build with OpenCV if we have ffmpeg enabled
...
(except on macOS, where we use OpenCV to provide webcam support)
2017-06-20 15:52:57 +02:00
rdb
90f96fc1a9
Change SimpleHashMap implementation to improve performance of GC.
...
The new implementation stores elements contiguously and keeps a separate sparse array of indices, similar to the new PyPy and CPython implementations. This vastly improves performance when iterating over the individual elements, such as when garbage collecting states, and decreases memory usage.
2017-06-12 19:58:02 +02:00
rdb
a66b497f2b
We no longer support GCC 4.6. Version 4.8+ is recommended.
...
Ubuntu Precise users can install GCC 4.8 from the ppa:ubuntu-toolchain-r/test repository.
CentOS 5/6 users can install devtoolset-2 or later.
2017-06-12 19:47:54 +02:00
rdb
ca2e96d296
Fix for certain libjpeg versions that override INLINE macro
2017-06-12 19:46:59 +02:00
rdb
88e963b936
Fix compilation errors in GCC 4.6 and 4.8
2017-06-09 20:36:45 +02:00
rdb
59c435c487
Add FreeBSD package-related files to .gitignore
2017-06-09 20:17:30 +02:00
rdb
6b882ac767
Fix slow garbage collect after using a lot of states
2017-06-09 20:12:49 +02:00
rdb
2e8d09a99c
Workaround for compiler bug when producing debug build
...
(with thanks to consultit)
2017-06-09 19:48:44 +02:00
rdb
ee2530ea5f
makepanda: changes for FreeBSD. Add instructions, and:
...
- change package name from Panda3D to panda3d
- change default compiler to clang on FreeBSD
- fix ldconfig to point to panda3d lib dir
[skip ci]
2017-05-29 19:09:45 +02:00
rdb
4bcf225baf
openssl: fix use of deprecated calls
2017-05-25 21:35:02 +02:00
rdb
d6657baf29
cppparser: fix scope bug in constructor inits
...
This also fixes the Android build.
2017-05-25 13:20:11 +02:00
rdb
828f1c10ca
Support loading Opus audio files via libopusfile.
2017-05-24 22:21:54 +02:00
rdb
257311cc0c
physics: fix crash in edge case when PhysicalNode dies before Physical
...
Also add more assertion checks
2017-05-24 20:21:48 +02:00
rdb
904209b277
Split out interrogate jobs for dtool directories from express
2017-05-24 13:44:52 +02:00
rdb
53794e8e36
Get rid of unnecessary DisplayRegionBase class
2017-05-24 13:42:01 +02:00
rdb
d576c6b638
Improvements to generated API docs, especially in direct tree.
...
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
rdb
c52bab1805
stb_image: update to v2.15, support 16-bit PNGs
...
Also removes SSE2 runtime detection, which was causing compilation issues on Fedora
Also now supports HDR images with #?RGBE header
2017-05-24 13:19:18 +02:00
rdb
68be3c6dfe
More efficient light handling; sort lights by highest priority first
2017-05-15 16:59:44 +02:00
rdb
a71a89acc2
putil: make UpdateSeq a literal type
2017-05-15 16:34:13 +02:00
rdb
7755a2e1c7
shadows: provide dummy shadow maps for nonexistent/noncasting lights
2017-05-15 14:50:50 +02:00
rdb
65a705217e
Compile fixes for older Python 3 versions
2017-05-14 23:14:37 +02:00
rdb
a387fb9f35
interrogate: nullptr handling, faster kwargs handling in some cases
2017-05-14 22:19:25 +02:00
rdb
652f2d7f21
bullet: improve performance of adding geometry to BulletTriangleMesh
2017-05-14 22:17:41 +02:00
deflected
560fd4eb3d
panda: Get rid of few warnings
...
- Correct missing override
- Correct deprecated XKeycodeToKeysym
- Correct deprecated @exec for FreeBSD pkg plist
Signed-off-by: deflected <deflected@users.noreply.github.com>
Closes #144
2017-05-14 00:02:33 +02:00
rdb
81e414030e
Fix RenderState cache leak - gc did not work properly
...
(Thanks to deflected for helping to track this down)
2017-05-13 23:30:09 +02:00
rdb
325ac4c114
Fix memory tracking bug - DeletedBufferChain erroneously showed leak
2017-05-13 21:59:29 +02:00
rdb
e15cfd74e8
Prevent assertion when calculating bounds for geom without vertices
2017-05-13 21:40:59 +02:00
wolfgangp
a1a99c49c0
Buffer protocol support for (Const)PointerToArray of vectors and matr… ( #148 )
2017-05-06 02:16:07 +02:00
rdb
4e1f9c012a
makepanda: set LANGUAGE=en to fix lib detection on German systems
...
[skip ci]
2017-05-03 12:02:58 +02:00
rdb
a3bef3e285
makepanda: allow building without harfbuzz
2017-04-25 12:46:46 +02:00
rdb
160f652d58
text: use HarfBuzz for text shaping; support right-to-left text
2017-04-25 12:25:31 +02:00
wezu
353ccfebc1
Remove print() from Messenger.find() and Messenger.findAll()
...
If one needs to use find() or findAll() not for debugging purposes (like for getting the function or arguments for some binding), then the print functions in these methods are really unwelcome. find() is the only nice way to get this info (other then de-name-mangling __callbacks)
2017-04-22 13:39:14 +02:00
rdb
e67ebd80cd
glgsg: deal with false negatives with feature checks on Intel
2017-04-14 19:40:02 +02:00
rdb
fa1b656961
glgsg: fix get_host() of GL FBO. Fixes LP 1672560 shadow bug
2017-04-09 22:14:20 +02:00