Commit Graph

9996 Commits

Author SHA1 Message Date
rdb 7d414500c6 Various compile fixes 2016-12-22 11:34:47 +01:00
rdb e8fbd2f9da Fix potential crash in shader preprocess code 2016-12-21 18:14:46 +01:00
rdb 62d0d8292e More texture load/store performance optimisations 2016-12-21 18:04:08 +01:00
rdb 92302942fe Changes to build on ancient Linux distributions (CentOS 5 / manylinux) 2016-12-21 17:40:49 +01:00
rdb a13fb0e8ca Fix compilation issue with older ffmpeg versions 2016-12-21 17:35:45 +01:00
rdb 5aa8618572 Don't error if passing an oversized matrix array to a mat4[1] shader parameter 2016-12-20 23:18:05 +01:00
rdb eab2a1a733 Add CP_area_priority for area lights 2016-12-19 23:39:50 +01:00
rdb da79c28a6c Add RectangleLight class 2016-12-19 23:29:42 +01:00
rdb 4b5c317160 Improve shader caching; cache result of preprocess if cache-generated-shaders is set 2016-12-19 22:26:16 +01:00
rdb 36f2eda9ec Fix name of "Buffer switch" pcollector in pStatProperties.cxx 2016-12-18 00:12:26 +01:00
rdb da0d7752c1 Register .webm extension for videos 2016-12-18 00:08:59 +01:00
rdb b6cb9b0045 ffmpeg: support videos with alpha; add ffmpeg-prefer-libvpx prc var
ffmpeg-prefer-libvpx forces ffmpeg to use the libvpx decoder for VP8/VP9 files, allowing the playback of WebM files with an alpha channel.
2016-12-17 00:17:30 +01:00
rdb 34068dc0c1 Implement support for SSBOs 2016-12-13 21:22:17 +01:00
rdb 23645cc407 Fix DDS load crash with certain formats; support R16, RG16, R32, RG32 2016-12-13 21:00:11 +01:00
rdb b21e8fdf32 COW performance tweaks; also somehow fixes Bullet soft body issue 2016-12-11 15:30:03 +01:00
rdb 9eb04a533d More texture load/store performance optimisations 2016-12-09 01:41:32 +01:00
rdb b217752e16 Merge remote-tracking branch 'origin/release/1.9.x' 2016-12-07 23:03:16 +01:00
rdb a1338b9ac6 Backport to 1.9: fix for distance sorting with gl-coordinate-system changed 2016-12-07 23:00:06 +01:00
rdb 83d54bcdaf Try to preserve refresh rate when switching display mode on Windows 2016-12-07 22:57:53 +01:00
rdb b1d61b7b10 Fix back-to-front sorting with gl-coordinate-system set to a custom value 2016-12-07 19:36:31 +01:00
rdb ceee5e9df9 Show texture names in glBindTexture() calls in spam output 2016-12-07 19:32:01 +01:00
rdb e778c529b2 Implement Python 3.6 fspath protocol; allow passing a pathlib.Path wherever Filename is expected
The Python 3.6 fspath protocol allows passing Filename objects into any Python standard library calls that take a path.
2016-12-07 00:42:44 +01:00
tobspr 3fa5b6b4ee Add prc variable to force image bindings as writeonly (#131) 2016-12-06 18:42:08 +01:00
rdb 6344c05b18 Clean up dynamic loading of Win32 funcs, remove makepanda touchinput setting, remove checks for pre-WinXP 2016-12-05 17:21:09 -05:00
rdb c410d812ff Remove some settings from dtool_config.h to prevent rebuilds:
- HAVE_OPENCV
 - OPENCV_VER_23
 - HAVE_FFMPEG
 - HAVE_SWSCALE
 - HAVE_SWRESAMPLE
2016-12-05 16:32:13 -05:00
rdb 6dc6b05409 Merge remote-tracking branch 'origin/release/1.9.x' 2016-12-05 02:01:44 +01:00
rdb 84789ecdd1 Fix GL compile error on Mac OS X 2016-12-04 21:28:52 +01:00
rdb 2b6e192e5a Protect against overallocation when reading corrupt texture from bam 2016-12-03 01:04:35 +01:00
Sam Edwards 573dad8dde general: Fix missing includes. 2016-11-30 19:21:34 -08:00
rdb 1c957b26b4 Fix for getting R8 and R8G8 formats via FrameBufferProperties 2016-11-29 23:07:37 +01:00
rdb 441b791e57 Fix extract_texture_data for buffer textures 2016-11-29 23:05:01 +01:00
rdb 5ad900a413 Bullet fixes: copying compound shapes, compile warnings, motion state alignment 2016-11-29 22:43:28 +01:00
rdb 7db45cb647 Make fetching of p3d_LightSource[n] input clearly defined for non-existent lights
Refer to OpenGL 2.1 spec page 61

Closes: #129
2016-11-27 14:25:58 +01:00
rdb 78bf339c41 Fix material shader inputs not being updated properly 2016-11-27 14:24:37 +01:00
rdb cf389276da Backport b02e352 to 1.9:
rdb: Fix wrong GL texture being bound to image slot after being recreated
2016-11-27 13:04:54 +01:00
rdb b02e3521bc Fix wrong GL texture being bound to image slot after being recreated 2016-11-27 12:30:37 +01:00
rdb 8c1f64e086 Fix for 1.9: fix errors when Cg-style matrix inputs are mat3 2016-11-14 19:41:54 +01:00
rdb 7259425b7c Let's do away with Geom-wide usage hints, it's not very useful 2016-11-03 11:34:10 +01:00
rdb 7bef96e71d Don't give misleading error when image shader input is missing 2016-11-03 11:11:02 +01:00
rdb 29411f5e14 Merge remote-tracking branch 'origin/release/1.9.x' 2016-10-31 22:32:39 +01:00
rdb 4526de8f7a Fix exception when trying to pickle NodePathCollection objects 2016-10-31 22:07:01 +01:00
rdb ed761f2997 Fix build without Python 2016-10-31 20:14:48 +01:00
Mitchell Stokes 59b0913b0b Cleanup .gitignore files
Remove all .gitignore files in subdirectories and add a few new ignores
to the top-level directory .gitignore file.
2016-10-30 20:06:12 -07:00
Mitchell Stokes 81dd4d97ad Implement make_copy() for BulletRigidBodyNode
This appears to be the last piece needed to load BulletRigidBodyNodes from BAM files.
2016-10-27 13:56:02 +02:00
rdb 1049088f11 Clean up some of the dtool_config.h variables 2016-10-24 22:10:46 +02:00
rdb ef986ccfc0 Texture.set_ram_image(_as) now directly accepts buffers with right component size 2016-10-24 21:29:43 +02:00
rdb a757cb47e8 Add tube-into-plane and tube-into-sphere tests 2016-10-24 17:34:55 +02:00
rdb df998fb24c bam2egg: support collision masks, UvScrollNode 2016-10-24 17:20:21 +02:00
David Rose 775c69b53d PfmFile::set_point() should allow NaN's 2016-10-23 19:14:39 -07:00
rdb 62c008602e Merge branch 'release/1.9.x' 2016-10-20 11:14:37 +02:00
rdb ea82d9d664 Preserve "intangible" and "level" collide flags in bam2egg 2016-10-20 11:02:19 +02:00
rdb e2fe951322 Fix compilation errors in Bullet 2.84/2.85 2016-10-16 00:14:05 +02:00
rdb 33c309d78f Make stb_image loader not rely on seeking to read .jpg files 2016-10-13 00:27:17 +02:00
rdb f1f4951fb5 Merge remote-tracking branch 'origin/release/1.9.x' 2016-10-13 00:25:57 +02:00
rdb 7c45e891f5 X11: fix .ico cursor bug. Support PNG-compressed .ico files. 2016-10-13 00:16:40 +02:00
rdb 4381412d23 Merge branch 'release/1.9.x' 2016-09-28 00:14:21 +02:00
rdb 3f53994372 Fix mipmap filtering issues in tinydisplay renderer 2016-09-28 00:00:22 +02:00
rdb 2e9394eba7 Fix tinydisplay texture errors on shutdown 2016-09-27 22:38:03 +02:00
rdb 3ee033eeeb Write texture types when pview failed to recognise extension 2016-09-27 21:33:11 +02:00
rdb c9ea02445e Fix state attribs at primitive level in bam2egg; also prevent duplication of state attribs at primitive level if possible 2016-09-18 11:31:04 +02:00
rdb 7c79a999a5 Fix optimize=4 build on Windows; adjust Travis to make one opt4 build 2016-09-16 12:58:27 +02:00
rdb 3eed7bc042 Fix compilation issue for gcc versions before 4.3 2016-09-16 00:54:00 +02:00
rdb 0bdafe45ce Fix various issues in bam2egg:
* No longer inserts an extra root group for the ModelRoot
 * Support depth test, offset and cull bin attributes
 * Preserve non-GeomNodes under Character
 * Render attributes are applied on group level if possible
2016-09-14 21:54:35 +02:00
rdb 08ea4bf2e5 Merge branch 'release/1.9.x' 2016-09-14 20:57:26 +02:00
rdb 2c651dc96b Fix is_playing() when playing an animation backwards 2016-09-14 20:55:57 +02:00
rdb 9904980ce4 Fix async flatten of node without parents 2016-09-14 17:29:53 +02:00
deflected 234e7eefee loader: Added loading of 2D texture array
Signed-off-by: deflected <deflected@users.noreply.github.com>
2016-09-12 13:21:23 +03:00
rdb 70f10a70d1 Merge branch 'release/1.9.x' 2016-09-12 00:48:03 +02:00
rdb 632ad5e3ef Acquire mutex in cache_unref() - fixes race cond in async flatten 2016-09-12 00:36:36 +02:00
rdb a0b2a98178 Fix crash that happens when using OdeTriMeshData incorrectly 2016-09-11 12:23:28 +02:00
rdb 558f84a95f Backport normalized() method to 1.9 branch 2016-09-08 22:53:36 +02:00
rdb dc29ac8d34 Merge remote-tracking branch 'origin/release/1.9.x' 2016-09-08 22:31:04 +02:00
rdb 4d8a9aa3a1 Fix automerge failure 2016-09-08 22:27:25 +02:00
rdb 61b7af74db Merge branch 'release/1.9.x' 2016-09-08 22:18:50 +02:00
rdb 206d361f49 Support for CollisionBox, InvSphere and Tube in bam2egg 2016-09-08 22:14:44 +02:00
deflected abb6ee0542 gobj: Fixed wrong texture pool key for 2D texture arrays
- 2D texture arrays are added to internal storage with
        specific unique name, so keep it as texture pool key
        instead of filename.
2016-09-08 20:36:02 +02:00
David Rose 05d74624ee Merge branch 'master' of https://github.com/panda3d/panda3d 2016-08-29 16:44:05 -07:00
David Rose fb6637ddac expand PfmFile::merge() to support other than 3 channels, and not to fuss about NaN's in the result 2016-08-29 16:43:13 -07:00
rdb a9345ad633 Fix bug: bam2egg ignores non-GeomNodes directly under Character node
This result in some animated models only properly exporting the skeleton without geometry if the geometry is under non-GeomNodes.
Fixes LP https://bugs.launchpad.net/panda3d/+bug/1617834
2016-08-29 02:09:03 +02:00
rdb 20353f33eb Fix missed switch cases for 1d texture arrays 2016-08-09 01:47:44 +02:00
rdb 1d2e17932c Don't require spaces around : in #extension directive 2016-07-30 12:59:42 +02:00
rdb 47f999fdec Improve GLSL preprocessor; support GL_GOOGLE_include_directive 2016-07-20 16:00:34 +02:00
rdb 2eba4dea9b Change handling of unsupported render mode so that behaviour can be shared among renderers 2016-07-20 15:59:42 +02:00
rdb 82b7728683 Merge remote-tracking branch 'origin/release/1.9.x' 2016-07-20 14:32:34 +02:00
rdb 47388b0dbc Separate out CPython calls from core libs; eliminate need for pystub 2016-07-20 14:30:41 +02:00
rdb 339eb58007 Fix compile error on some Mac versions 2016-07-20 11:45:14 +02:00
rdb 400bc2cc26 Support .ktx textures, ETC1/ETC2/EAC compression 2016-07-15 11:50:57 +02:00
rdb 8381118a97 Assorted tweaks and compile warning fixes 2016-07-14 12:54:39 +02:00
rdb 106cf2cad0 Fix randomly slanted/crashing TextGraphics 2016-07-12 19:31:23 +02:00
rdb 6f168446d0 Merge branch 'release/1.9.x' 2016-07-12 14:57:48 +02:00
rdb 7b7bf93118 Fix frame chug when loading big model asynchronously (LP #1019599) 2016-07-12 11:27:52 +02:00
rdb f94db0661e Add move semantics to CDLockedReader/CDWriter 2016-07-10 17:22:34 +02:00
rdb 8b67ab31f5 Fix obscure compile error 2016-07-10 16:49:00 +02:00
rdb bfe7a7b1d3 Merge from 1.9, cleanup DX9/shader, fix built-in shadow mapping in DX9 2016-07-10 16:44:09 +02:00
rdb e098da9030 Support uint8 indices in DX9 renderer 2016-07-10 15:48:17 +02:00
rdb c34758ea5c Cg fixes for DX9 2016-07-10 14:31:58 +02:00
rdb fa7730819f Fix assertion when using aux render targets in DX9 2016-07-10 14:05:29 +02:00
rdb f7fde882b8 Fix uninitialised variable 2016-07-10 12:25:35 +02:00
rdb 85386049f0 Merge branch 'release/1.9.x' 2016-07-09 15:39:07 +02:00
rdb 44d59edc30 Fix cube map render and rendering the same camera with two GSGs
The problem was that the cull result was being reused across different lens indices and GSGs
2016-07-09 14:42:25 +02:00
rdb 11861cb73d Backport shadow-depth-bits config var to 1.9 2016-07-09 14:27:33 +02:00
rdb 47d1b4e220 PythonTask: don't crash if repr(owner) errors, deal better with bad owners 2016-07-09 10:02:55 +02:00
rdb fd8dd360b2 Fix compile error statically linking build with DX9 2016-07-09 09:59:51 +02:00
rdb f35a7612e5 Fix interrogate error with PhysX 2016-07-03 09:20:55 +02:00
rdb a906f34eee M_alpha now no longer squares the alpha component it writes to the framebuffer.
To re-enable the old behaviour, set old-alpha-blend in Config.prc.
2016-06-28 22:13:33 +02:00
rdb 1b33fec978 Remove assertion when reregistering the same AudioManager constructor 2016-06-28 21:35:53 +02:00
rdb 54819dbcde Fix crash when using TextGraphic in texts 2016-06-28 19:11:58 +02:00
rdb 365e1d53ef Merge branch 'release/1.9.x'
Conflicts:
	makepanda/makepandacore.py
	panda/src/cocoadisplay/cocoaGraphicsStateGuardian.mm
2016-06-27 01:18:02 +02:00
rdb 7dfd907e17 Try to report red/green/blue bits for Cocoa windows 2016-06-27 00:38:14 +02:00
Sam Edwards 2933b8ed39 general: Fix missing includes. 2016-06-25 19:10:38 -07:00
rdb 9963fe2c3c Fix a couple of compile warnings, reduce unnecessary includes 2016-06-23 22:59:50 +02:00
rdb 7266f5ae68 Fix race condition when multiple threads write to MultiplexStream simultaneously 2016-06-23 22:56:18 +02:00
rdb 9b5ff08011 Fix crash loading null audio manager 2016-06-23 22:27:34 +02:00
rdb 6728e5ecbe Merge remote-tracking branch 'origin/release/1.9.x' 2016-06-23 16:14:18 +02:00
rdb fede8b8d69 Fix compile issue on Mac OS X 2016-06-22 22:24:33 +02:00
rdb 7676104f4c Fix error compiling with pre-C++11 compilers 2016-06-22 19:19:00 +02:00
rdb 7e08b87ff7 IPv6 support, improve URL handling/comparison 2016-06-22 17:57:40 +02:00
rdb bf26cecb32 Fix some compile warnings 2016-06-22 13:44:16 +02:00
rdb 1974b3e692 Fix deadlock waiting for Python task to end at end of program 2016-06-12 12:04:03 +02:00
rdb 89deb71538 Fix regression loading nurbs surface/curve and patches from .egg 2016-06-11 23:24:06 +02:00
rdb 4283a63a7d Merge branch 'release/1.9.x' 2016-06-11 01:29:14 +02:00
rdb 12873c0d7e Fix wxPython and tkinter issues on Mac OS X 2016-06-10 02:02:36 +02:00
rdb 7d6b7f40f5 Merge branch 'release/1.9.x' 2016-06-09 21:52:51 +02:00
rdb 0a731d0545 Improve performance of texture load/store 2016-06-09 21:49:26 +02:00
rdb a1749b2f07 Don't align transform_blend vertex column to 4 byte boundary
Somewhat improves performance of CPU vertex animation
2016-06-09 21:48:57 +02:00
rdb b303962e96 Disable cycle detection in tasks for now, it is way too unstable 2016-06-09 16:48:31 +02:00
rdb e9c76328fb Fix a crash in PythonTask destructor 2016-06-08 13:18:31 +02:00
rdb 5675e0de56 Merge branch 'release/1.9.x' 2016-06-07 22:08:00 +02:00
rdb 2d6e817d1d Fix reading multifiles that were built with -F option 2016-06-07 22:04:34 +02:00
rdb d53b2ca80e Backport various bugfixes from master, among which:
- Fix Windows pbuffer crash on Intel cards
 - Fix crash when using pnmimage.write with unsupported format
 - Fix GLSL diagnostics on Mesa GLES2 compiler
 - Reduce warning severity when resizing immutable storage texture
 - Print more debug info when FrameBufferProperties are insufficient
 - Fix "Bam file contains objects of unknown type: MovingPart<LMatrix4f>"
 - Fix memory leak in BulletTriangleMesh
 - Fix pmerge in Python 3
2016-06-07 14:40:27 +02:00
rdb 8d05ef3022 Assorted fixes 2016-06-03 22:23:42 +02:00
rdb 679bf0a554 Implement tellg() on ZStream, make multify -t work with .pz/.gz compressed multifiles 2016-06-03 16:12:37 +02:00
rdb 5543716660 Interrogate wraps vector<unsigned char> as Python 3 bytes object 2016-06-03 01:47:54 +02:00
rdb b486de2700 Fix rare mutex error at shutdown: "MutexPosixImpl::acquire(): Assertion `result == 0' failed." 2016-05-29 02:03:36 +02:00
rdb 18874fa151 Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
rdb ce29ae490d Interrogate improvements, more properties, MAKE_SEQ_PROPERTY 2016-05-11 00:16:53 +02:00
rdb fb78fe6e2a Interrogate enum class support (maps to Python 3.4 enums), sanify wrapper code 2016-05-07 00:45:26 +02:00
wolfgangp cf11d46e26 Replace BulletSoftBodyMaterial camelCase methods 2016-05-06 02:50:53 +02:00
rdb a898911a5c Compile fixes for older OpenEXR versions 2016-05-03 19:19:17 +02:00
wolfgangp 821e625c4f Remove obsolete property heightfield_tex 2016-05-03 14:57:25 +02:00
David Rose 0b224a320a Merge branch 'master' of https://github.com/panda3d/panda3d 2016-05-02 15:05:25 -07:00
David Rose 403dd39934 add support for OpenEXR floating-point image files 2016-05-02 14:44:53 -07:00
rdb 910a50de16 Fix crash when using pnmimage.write with unsupported format, also fix a minor issue in shader.set_filename 2016-05-02 16:43:43 +02:00
rdb d3172015d5 Allow setting custom filename on shader, fix diagnostics for Mesa GLES2 2016-05-01 22:53:20 +02:00
tobspr b2ebd78d81 Support for R16I and R16UI 2016-04-30 12:26:59 +02:00
tobspr dac2bfc7b9 Support for setting a heightfield handle directly on the ShaderTerrainMesh 2016-04-30 09:32:09 +02:00
rdb 288452a861 Changes to help with static build, allow linking OpenAL statically 2016-04-29 19:54:24 +02:00
rdb 369df86096 Fix a compile issue or two 2016-04-29 19:17:47 +02:00
rdb dc09e28ed9 Also accept a .gz wherever a .pz file is accepted 2016-04-29 16:54:25 +02:00
rdb a2ae62dbda Introduce ability to write older .bam versions, down to 6.21
See https://www.panda3d.org/manual/index.php/Dev:Bam_Format
2016-04-29 16:30:41 +02:00
David Rose 063f9bbc4d minor compilation issues 2016-04-28 16:14:44 -07:00
rdb 723c1de520 Fix various emscripten compile issues 2016-04-28 21:15:46 +02:00
rdb 6b83261ea4 Implement stb_image, support loading HDR, PSD, GIF images 2016-04-28 17:10:44 +02:00
rdb 6f8fd916f3 Allow seeking a ZStream back to 0 (but no other location) 2016-04-28 17:03:31 +02:00
rdb 1c6f4c29c4 Add support for native FLAC reading 2016-04-28 12:05:10 +02:00
tobspr 0c16baa707 Reduce warning severity when resizing texture with immutable stirage 2016-04-25 12:03:15 +02:00
rdb ee595ae880 fast path optimizations for get_ram_image_as 2016-04-24 02:42:12 +02:00
rdb 2c6a6c9f06 Display deprecation warning when writing FFT compressed anim chans 2016-04-24 01:44:09 +02:00
rdb 07d06d434c Print more debug info when FrameBufferProperties are not sufficient 2016-04-23 18:06:18 +02:00
rdb 2c1cb4c313 Compile fixes for latest VRPN and TIFF 2016-04-22 17:18:27 +02:00
deflected bffe3bf55a bullet: Plug memory leaks
Signed-off-by: deflected <deflected@github>
2016-04-21 21:34:55 +03:00
rdb ad04a4b026 Fix: Bam file contains objects of unknown type: MovingPart<LMatrix4f>
Restores ability to read old .bam files containing animation data
2016-04-21 11:28:00 +02:00
rdb 6225755230 Support rendering without any vertex arrays bound better 2016-04-21 01:32:13 +02:00
rdb 40acfeffb5 Punish soft framebuffer configs if we're not asking for one 2016-04-21 00:18:08 +02:00
rdb 32bc7cd819 Changes to allow compiling Panda with MSVC 2015 2016-04-19 15:43:02 +02:00
rdb 32b4273c94 bullet: fix issue with result of get_contact() going out of scope 2016-04-18 23:57:02 +02:00
rdb 320f341467 Fix pbuffer crash on Windows with old Intel drivers 2016-04-18 23:26:12 +02:00
rdb 380ff44710 Workaround for older versions of the DirectX SDK 2016-04-17 20:45:24 +02:00
rdb d3071d1e50 Use a bitmask for storing clear-active flags 2016-04-16 14:19:54 +02:00
rdb 2b7ef9c787 Add SphereLight class 2016-04-16 12:30:07 +02:00
rdb f06f184850 Prefer core/ARB version of FBOs instead of EXT version 2016-04-14 21:02:35 +02:00
rdb e4b032ea21 Fix crash reading Camera objects from pre-6.41 bam files 2016-04-12 20:47:11 +02:00
rdb 5a2a9a3020 Merge branch 'release/1.9.x' 2016-04-12 20:46:32 +02:00
rdb 82fdb30957 Fix incorrect format selection for renderbuffers (missing alpha channel) 2016-04-12 20:44:07 +02:00
rdb 873fd3294a Work around bug in certain Intel drivers with #pragma include 2016-04-12 18:20:27 +02:00
wolfgangp 4821b69ec1 Match ShaderTerrainMesh triangulation scheme with Bullet's 2016-04-11 22:01:13 +02:00
rdb 7addf3e12b Merge pull request #80 from tobspr/master
Add new terrain implementation (ShaderTerrainMesh)
2016-04-11 18:35:11 +02:00
tobspr 5f28d20402 Change uniform warning in glShaderContext to avoid spam
This changes the severity of the uniform warning to debug, to avoid spamming the console
2016-04-10 10:59:30 +02:00
rdb 33ed30b178 Support defining bam factory functions in Python 2016-04-09 19:28:33 +02:00
rdb 7e04042ca4 Update gl2ext.h 2016-04-09 19:18:34 +02:00
rdb 64cb1c520e Fix ColorBlendAttrib bam write, add properties to most *Attrib 2016-04-09 19:10:52 +02:00
rdb f0cd1ce315 ColorBlendAttrib: support separate alpha mode and dual-src blend. bam 6.42 2016-04-08 15:44:57 +02:00
rdb e73a89705b Improve OpenGL ES support, add OpenGL ES 3 support 2016-04-04 17:00:27 +02:00
rdb 6ddfb0ace3 Support line/point thickness in bam2egg 2016-04-04 12:48:48 +02:00
rdb 15b0ba45f9 Fix broken pickling in Python 3 build 2016-03-31 16:49:27 +02:00
rdb 245d1241c9 Restore assign() for vector classes 2016-03-28 22:36:31 +02:00
rdb 82ab126ea7 Add support for glLogicOp via LogicOpAttrib / NodePath::set_logic_op 2016-03-25 17:33:30 +01:00
rdb ba4c38112c Merge remote-tracking branch 'origin/release/1.9.x' 2016-03-25 17:22:00 +01:00
rdb 2b034506fa Backport fixes for Arch compile issues to 1.9 2016-03-25 01:40:00 +01:00
rdb a9c5525dd6 Compile fix for Ubuntu precise version of ffmpeg 2016-03-25 00:45:12 +01:00
rdb ce947adf8f Replace uses of "delete" with "delete[]" where appropriate 2016-03-24 23:56:12 +01:00
rdb 63dd1e0d2b Fixes for ffmpeg 3.0 2016-03-24 22:24:16 +01:00
rdb 2abad9649b Remove X11-specific stuff from egldisplay, instead using x11display as common base 2016-03-19 18:46:10 +01:00
rdb bd1df2b9ad Merge remote-tracking branch 'origin/release/1.9.x'
Conflicts:
	panda/src/pipeline/pipeline.cxx
2016-03-18 16:47:17 +01:00
tobspr 3e2b8407c8 Add more properties to the Texture class 2016-03-18 16:41:16 +01:00
rdb cccd29cc61 Fix use of uninitialized variable pointed out by valgrind 2016-03-17 21:39:42 +01:00
rdb f68bfab7a9 Add light.shadow_caster and light.shadow_buffer_size 2016-03-17 15:26:12 +01:00
rdb 4ace5b5bc9 Fix compilation issues 2016-03-16 14:04:15 +01:00
wolfgangp 01932c9e79 Squashed commit of the following: (closes #85)
commit cff663ad0e23ed73057201fc0c71f12de82be201
Author: wolfgangp <wolfgangpratl@gmail.com>
Date:   Thu Mar 10 10:48:39 2016 +0100

    Make get_normal_world_on_b return a vector.

commit 6fe5f5a24d615dc05b532c07486e23123e4cc9f2
Author: wolfgangp <wolfgangpratl@gmail.com>
Date:   Thu Mar 3 00:30:01 2016 +0100

    Remove comments.

commit f94f0ebd1acde2c3c32ffdaadd24deb4d16d1a84
Author: wolfgangp <wolfgangpratl@gmail.com>
Date:   Wed Mar 2 23:53:05 2016 +0100

    Revert header author change.

commit d50c41b830034e2dc015298cd4596b6292d582ac
Author: wolfgangp <wolfgangpratl@gmail.com>
Date:   Wed Mar 2 23:38:45 2016 +0100

    Fix indentation and spaces.

commit 792eab5fe1ca77564a36d7ab43b8996e03432dbd
Author: wolfgangp <wolfgangpratl@gmail.com>
Date:   Wed Mar 2 20:11:43 2016 +0100

    Revert changed date.

commit 99f78d4a90d43cf3cc5e5168c319020b307cdbd0
Author: wolfgangp <wolfgangpratl@gmail.com>
Date:   Wed Mar 2 19:01:39 2016 +0100

    Fix bulletHeightfieldShape to support non-square images. Add alternative constructor taking a Texture input, intended for use with ShaderTerrainMesh.
2016-03-16 10:43:13 +01:00
rdb 2ee977dd3e Fix PhysX compile error 2016-03-16 10:32:47 +01:00
Sam Edwards 6b8f78c9e0 general: Fix missing includes. 2016-03-15 18:30:24 -07:00
Sam Edwards f0bed9ab1c pnmtext: Remove unused local. 2016-03-15 18:30:24 -07:00
rdb 5cfe2b89e7 Support getting FBO attachment with only 8 red bits 2016-03-12 21:05:16 +01:00
rdb 46562b700d Support FBOs without any attachments 2016-03-12 20:42:27 +01:00
tobspr 37aaa49529 Change message emitted by nvidia driver workaround to info 2016-03-03 13:56:07 +01:00
rdb 2bf886fc5b Add premultiplied alpha mode, for convenience 2016-03-02 17:55:34 +01:00
rdb 2971915618 Bam 6.41: lenses and light changes, add max_distance 2016-03-02 17:54:49 +01:00
rdb 711c97ad6d A few glgsg fixes from tobspr 2016-03-02 16:24:38 +01:00
rdb d50a326ca7 Fix silly multiple uncompress&recompress when generating mips for compressed texture 2016-02-29 19:49:48 +01:00
rdb f933eb4e96 Fix compile warnings (incl. "Attempt to define invalid type" spam), define _Dtool_CheckErrorOccurred in release builds for binary compat 2016-02-27 16:45:22 +01:00
rdb 9f0cd81803 Make OpenGL performance warnings "info", not "warning" category 2016-02-27 12:03:29 +01:00
tobspr d9ec4d402a Add print-pipe-types prc variable to prevent pipe output 2016-02-23 18:46:34 +01:00
David Rose f30628bde6 Merge branch 'master' of https://github.com/panda3d/panda3d 2016-02-22 16:02:52 -08:00
David Rose 2ad07ac1fb fix PfmFile::xform() for files with other than 3 channels 2016-02-22 16:02:38 -08:00
rdb 656ccfcafb Merge branch 'release/1.9.x' 2016-02-22 19:48:21 +01:00
rdb 844a284925 Fix mipmap level count calculation for texture arrays 2016-02-22 19:47:08 +01:00
tobspr 1795a7c8dd Work arround timestamp precision in ramdisks
This fixes the timestamp precision when mounting RamDisks, by ensuring that the modified timestamp is always greater than the original timestamp.
2016-02-20 19:55:49 +01:00
tobspr aa4a73af7d Support for imageCubeArray, remove _EXT suffix
This PR adds support for the imageCubeArray GLSL type (GL_IMAGE_CUBE_MAP_ARRAY).
Also, the _EXT suffix is removed from the GL_IMAGE types.
2016-02-20 19:11:23 +01:00
tobspr 84f5baaf2c Add ShaderTerrainMesh sample 2016-02-20 14:05:50 +01:00
David Rose 0385da0f44 add PfmFile::indirect_1d_lookup() 2016-02-19 18:11:57 -08:00
tobspr da29c7eea4 Add new terrain implementation (ShaderTerrainMesh) 2016-02-18 20:51:14 +01:00
tobspr 1c9985d2f7 Add bilinear filtering to TexturePeeker 2016-02-18 20:46:45 +01:00
tobspr 862f0e4db2 Add more formats to TexturePeeker, emit error if format is not supported 2016-02-18 18:39:18 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 186f1b41b2 Fix for PDWORD_PTR 2016-02-16 11:24:42 +01:00
tobspr 1f32c1dff0 Fix typo in glGraphicsStateGuardian 2016-02-13 16:36:07 +01:00
rdb 591ce04ab1 Work around black text issue in OpenGL ES 2 renderer 2016-02-11 19:12:52 +01:00
tobspr 8dfef99915 Fix swizzle masks on vector types 2016-02-07 19:45:01 +01:00
rdb 40739c6b5f Fix link issues and crashes with Android build 2016-02-06 11:46:56 +01:00
rdb 30fc995a2d Fix OpenGL ES luminance formats (which aren't deprecated in GLES) 2016-02-03 14:07:59 +01:00
rdb 98a86bf43a Merge branch 'release/1.9.x' 2016-02-03 13:39:14 +01:00
rdb ef623aa0e2 pview should use clamp wrap mode when loading image as model 2016-02-03 13:37:23 +01:00
rdb 623d81db6b Support various kinds of BMP headers (incl reading bmp with alpha) 2016-02-03 13:36:38 +01:00
rdb 090e912ce6 Cleanup of comments and whitespace 2016-02-01 22:30:43 +01:00
rdb ffac45ce2b Fix OpenGL ES compilation 2016-01-28 13:54:54 +01:00
rdb 17ad8f254d Support BC4/BC5 compression, more texture formats, DX10 DDS files, rgba16/32 DDS files 2016-01-28 13:16:53 +01:00
rdb c855049f24 Fix glstuff compilation error 2016-01-27 17:14:32 +01:00
rdb 0a366e987f Merge branch 'release/1.9.x'
Conflicts:
	panda/src/glstuff/glGraphicsStateGuardian_src.cxx
	panda/src/putil/bamReader.h
2016-01-26 11:45:04 +01:00
rdb 375baaaabd Fix constant reloading of texture when using gl-ignore-mipmaps 2016-01-26 11:39:50 +01:00
rdb d574dd4b0b Fix texture format selection in FrameBufferProperties 2016-01-26 11:39:19 +01:00
rdb ea368dd559 Bam reader robustness; allow threaded bam reading from Python 2016-01-26 11:35:04 +01:00
rdb 47de3542f6 Apply tobspr's texture memory calculation fixes to 1.9 branch 2016-01-26 11:15:22 +01:00
tobspr 8d6ad30c07 Fix reported memory usage when using immutable texture storage storage 2016-01-20 19:33:16 +01:00
tobspr 570d630316 Use r11_g11_b10 in the FrameBufferProperties 2016-01-20 18:55:25 +01:00
rdb bb85b261f8 Expose more properties to Python
Rename "from" to "from_solid" to avoid clashing with Python keyword
2016-01-13 21:29:34 +01:00
rdb 6eb460c359 Add ability to cache compiled GLSL shaders, remove unused ShaderUtilization 2016-01-13 19:58:11 +01:00
David Rose bc58335214 Merge branch 'master' of https://github.com/panda3d/panda3d 2016-01-11 13:27:24 -08:00
David Rose ea07322b1d PNMImage::indirect_1d_lookup() 2016-01-11 13:27:18 -08:00
David Rose 059c929b79 store_mask() with a range limit 2016-01-11 13:27:02 -08:00
rdb ebbdb6fac5 Fix bug reading roughness from .bam material 2016-01-11 19:18:53 +01:00