Commit Graph

8997 Commits

Author SHA1 Message Date
tzaeru 9c137426e3 Integer texture formats for 8-bit R, RG, RGB and RGBA channels 2014-12-22 21:18:34 +01:00
rdb cd8c6ee37f fix compile error on gcc/clang 2014-12-21 14:26:06 +01:00
rdb 01b669ccd8 Implement texture clear, fix immutable tex support 2014-12-21 14:13:49 +01:00
rdb cb66a51bbc fmin and fmax should be const methods 2014-12-18 16:58:03 -05:00
rdb 270667ece2 Use sampler states in Direct3D 8 2014-12-12 20:39:24 +01:00
rdb 8a5452b0b6 Support sampler states in tinyGL renderer 2014-12-12 20:32:36 +01:00
rdb 89031b4e48 Fix mipmapping with sampler state 2014-12-12 20:27:08 +01:00
rdb fe3f4a6d2a Fix linear mipmapping crash in tinydisplay 2014-12-12 20:18:34 +01:00
rdb 09741ecf33 implement get_next_higher_bit using get_highest_on_bit to benefit from optimisations 2014-12-12 19:16:26 +01:00
rdb a0409c54c1 Direct3D 9 supports LOD bias 2014-12-12 16:21:09 +01:00
rdb 95d85819b0 Separate out sampler state from texture, support sampler objects, support LOD min/max/bias 2014-12-12 15:58:45 +01:00
rdb 7d0c1420c2 Bypass view frustum cull entirely when camera has OmniBV 2014-12-11 16:27:51 +01:00
rdb 5aaaf72851 Fix issue with Eigen when matrix determinant is nearly 0
also fix error message for singular matrix
2014-12-10 16:32:04 +01:00
rdb 40a40b20cf Rename EventStoreValue to ParamValue to make it more generic,
in anticipation of new parameter system
2014-12-10 00:26:26 +01:00
rdb 3fbdc43fbb Fix compile errors with clang 2014-12-06 22:38:40 +01:00
rdb ba25fc540b I shouldn't forget that green is a colour, too 2014-12-06 16:40:50 +01:00
rdb bc24576b02 Split up color-bits into red-bits + green-bits + blue-bits 2014-12-06 16:10:01 +01:00
tobspr 0358abfc0e Added clear_dispatches() to ComputeNode
Signed-off-by: rdb <git@rdb.name>
2014-12-06 14:35:20 +01:00
rdb 9567247c9a Allow using rgb32 and rgb16 for render to texture when alpha-bits is 0 2014-12-06 14:00:17 +01:00
David Rose cabe17abdb Merge branch 'master' of https://github.com/panda3d/panda3d 2014-12-04 17:18:12 -08:00
David Rose 255027b18d add optional undist_lut parameter to PfmVizzer::project() 2014-12-04 17:17:57 -08:00
rdb 0473fa7ead Simplify oddly redundant StencilAttrib implementation.
Also add RenderState::compare_mask().
2014-12-03 22:44:07 +01:00
David Rose 06a4daf9f2 add divide_sub_image() 2014-11-27 02:10:53 +00:00
rdb 1082e75d87 Fix more compiler warnings 2014-11-20 00:22:06 +00:00
rdb 963186e1ec Fix compiler warning. "const int" return type makes no sense 2014-11-18 19:50:07 +00:00
rdb 5ee64279a4 Oops, stupid debug message, how embarrassing 2014-11-04 15:07:01 +00:00
rdb ce1282c7e3 Fixes for primitive restart index stuff 2014-11-04 14:14:49 +00:00
rdb 0f35480fcf Allow disabling primitive restart index. Also, better handling of unsupported shader languages. 2014-11-03 02:29:05 +00:00
rdb 2c4fbf08be Also use MSVC intrinsics for bit scanning (up to 2x as fast on 64-bit systems) 2014-10-31 17:05:10 +00:00
rdb 10a72e595b Improve pbitops performance by enabling GCC intrinsics when available 2014-10-29 21:18:28 +00:00
David Rose 747e1fe381 we have to install config_framework.h now 2014-10-29 17:00:24 +00:00
rdb 52a4278b80 Fix cwiseProduct compile error when building with Eigen 2014-10-29 12:20:22 +00:00
David Rose 5d5150c5aa componentwise_mult() 2014-10-28 21:46:15 +00:00
David Rose 5dad10cf78 PfmFile::add_sub_image(), mult_sub_image() 2014-10-28 21:45:41 +00:00
David Rose 7bce2d6124 support GL_RGBA16, GL_LUMINANCE16, GL_LUMINANCE_ALPHA16 etc. 2014-10-28 21:44:45 +00:00
David Rose df33105e30 workaround for some artifacts with missing points in distortion map 2014-10-28 21:43:27 +00:00
rdb d3947d4b01 Fix scissoring crash. Also prevent crash when GLSL is not supported. 2014-10-27 16:09:33 +00:00
rdb d7b21c9aeb Replace assert with more helpful error 2014-10-27 15:18:49 +00:00
rdb 6d6a4398c6 Change max vertices to 65534 to avoid conflict with strip cut index 2014-10-27 13:25:38 +00:00
rdb 241adfe34d Implement comparison and hashing in NetAddress. Clean up Socket_Address code a bit. 2014-10-27 12:09:56 +00:00
rdb 5c681a0346 public -> private 2014-10-21 21:40:53 +00:00
rdb 0181fae076 This should fix LP bug #954257; replace locked BamWriters mechanism with atomic list. 2014-10-21 20:45:30 +00:00
David Rose a9d1d1ad54 fix build issue, should include look_at.h instead of look_at_src.h 2014-10-21 18:07:27 +00:00
rdb 3ce705519d Oops, forgot these two files. Part of cfsworks' patch 2014-10-20 11:02:42 +00:00
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb 783d8552ef Fix bin2c to generate an include to stddef.h (for size_t definition) 2014-10-19 22:32:30 +00:00
David Rose 9f896821e7 fix scissoring during the DisplayRegion's glClear() operation 2014-10-16 00:57:21 +00:00
rdb 31a71c990d Fix issues with OS X 10.9 compilation, fix issues uncovered by clang 2014-10-12 18:45:37 +00:00
rdb ab8ebe6e30 Fix issues with point rendering, both software and hardware. 2014-10-11 01:28:32 +00:00
rdb 902bedc314 Fix Python 3 crash on Windows, and fix some Python 3-related compile errors 2014-10-10 13:45:05 +00:00