Commit Graph

20953 Commits

Author SHA1 Message Date
rdb 11350334d0 Add assertion to prevent invalid use of FrameRateMeter 2015-05-02 22:07:03 +02:00
rdb 90ad6f00bf Change p3d_Color behavior to take ColorAttrib into account; assign white if missing 2015-05-02 15:48:21 +02:00
rdb fdc8918946 Add packed unsigned 11/10/10-bit floating point vertex format 2015-05-02 14:20:51 +02:00
Ed Swartz 6ceaf63c7d Add -L (lighting) and -P <pipe> options to pview 2015-05-01 20:34:14 -05:00
rdb aac24a3a13 Merge branch 'release/1.9.x' 2015-05-01 20:15:54 +02:00
rdb 74f936115e Force p3d_Vertex to attribute location 0 to fix disappearing geometry when an attribute is not bound 2015-05-01 20:15:00 +02:00
Ed Swartz fc5a2e5e33 Implement confined mouse mode for OS X.
Note: it seems that using #set_pointer() will result in
a long delay before an absolute mouse position is updated,
even though deltas are reported.

Thus, in CocoaPandaView, the mouse deltas are sent for both
relative and confined modes, so client code (e.g. the "mouse
modes" demo) will be able to recenter the mouse without
choppy movement.
2015-04-30 17:57:00 -05:00
rdb 9303c247b6 Support signed int vertex data, normalize 16-bit uint colors properly, don't normalize int columns passed to shaders 2015-04-30 20:13:36 +02:00
rdb 24ec0d6c46 Merge branch 'release/1.9.x' 2015-04-30 19:57:23 +02:00
rdb a745184f25 Fix X11 compile and interrogate issues 2015-04-26 15:27:39 +02:00
rdb 589a1b52ac Revert unintentional debug message check-in 2015-04-26 15:07:09 +02:00
rdb 92d40c3144 Default vertex column alignment should be 4 2015-04-25 18:48:48 +02:00
rdb 66011a1352 Expose _NET_WM_PID to window managers in X11 2015-04-25 17:17:33 +02:00
rdb f1ea25bfb1 Unexpose BoundingVolume::around, add GraphicsOutput::get_fb_size 2015-04-25 17:13:35 +02:00
rdb 077d03a9f6 Center p3dCert on screen, and make it a modal dialog 2015-04-25 17:09:50 +02:00
David Rose 1d1ee63b8e Merge branch 'master' of https://github.com/panda3d/panda3d 2015-04-25 07:24:10 -07:00
David Rose 8876f0939e add PfmFile::gamma_correct(), PfmFile::apply_mask(), PNMImage::copy_channel_bits() 2015-04-25 07:23:54 -07:00
rdb 5f20afd5ea Merge pull request #18 from eswartz/support-mouse-confinement
Support mouse confinement
2015-04-18 13:03:48 +02:00
Ed Swartz 53171c93c8 Replace some debug() calls with info()/warning() calls. 2015-04-17 15:55:46 -05:00
Ed Swartz 0f5b1a8192 Fix X11 M_relative case when missing XF86DGA 2015-04-17 15:50:11 -05:00
Ed Swartz f6841d7fc5 Add sample program demonstrating the mouse modes 2015-04-17 15:26:57 -05:00
Ed Swartz 48cc1aa496 Implement an M_confined mouse mode to ensure mouse stays in window. 2015-04-17 15:12:29 -05:00
rdb 9c313a172d Make writable: bullet convex hull, triangle mesh, debug node 2015-04-16 20:26:55 +02:00
rdb ab1c516ebc Merge various fixes from branch 'release/1.9.x'
Conflicts:
	panda/src/gobj/texture.cxx
2015-04-16 17:11:20 +02:00
rdb 4f47b018eb Some .bam cross-compatibility for buffer textures 2015-04-16 17:10:14 +02:00
rdb 52288e299b Fix interrogate regression that broke multiview support 2015-04-16 16:57:46 +02:00
rdb 2ff9083812 Add support for buffer textures 2015-04-16 16:55:29 +02:00
rdb 38ac0401ce A start to make Bullet objects writable (to .bam files) 2015-04-15 22:00:30 +02:00
rdb 76e135b835 Improve behaviour of get_deactivation_enabled/is_deactivation_enabled 2015-04-15 21:58:54 +02:00
rdb c130d25193 Add typedefs to API documentation generator 2015-04-15 13:55:50 +02:00
rdb d7552f0d8a Merge in bugfixes from branch 'release/1.9.x' 2015-04-14 15:50:53 +02:00
rdb 0343c4f186 GLSL robustness and issue fixes:
* Int params were not being implicitly converted to float properly
* p3d_TextureN now accepts other sampler types
* More error checking for parameter types
* p3d_ColorScale et al also allows vec3 instead of vec4 now
2015-04-14 15:48:48 +02:00
rdb d430e611bb size_t params of methods in template classes did not support 64-bit values on 64-bit systems 2015-04-14 15:47:35 +02:00
rdb 8360ad442a Work around gcc compiler shortcoming 2015-04-14 15:46:52 +02:00
rdb 3b17e8fff1 Fix issue tracking memory allocations of more than 2GB at a time on 64-bit systems 2015-04-14 15:44:11 +02:00
rdb e3c0d4ba68 Merge branch 'release/1.9.x' 2015-04-09 13:15:57 +02:00
rdb 500da29013 Fix obscure error caused by bug in _getDtoolSuperBase 2015-04-09 13:15:25 +02:00
rdb efdd5c88c6 Merge interrogate/bullet fix into master 2015-04-09 13:09:22 +02:00
rdb 8e76328b3b Fix Bullet support (Broken float division in default args in interrogate) 2015-04-09 13:08:17 +02:00
rdb 0c3fd953fc oops, revert accidental checkin of debug message 2015-04-06 15:11:55 +02:00
rdb 8bafb891a5 Merge branch 'release/1.9.x' 2015-04-06 15:06:31 +02:00
rdb 8a9e30afa8 Revert accidental disabling of strip step on Linux in opt4 builds 2015-04-06 15:05:47 +02:00
rdb adb02a8f45 Compile out things irrelevant for target build, like ShaderGenerator when !HAVE_CG 2015-04-06 13:24:45 +02:00
rdb 3d2d1d9c23 Exclude a few system DLLs to make rtdist work on WinXP 2015-04-06 12:48:30 +02:00
rdb 947149c56a Fix reading from URLs mounted to the virtual file system 2015-04-05 22:50:38 +02:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
rdb cda7c1f171 OpenGL ES 2 optimizations and better support 2015-04-04 21:58:29 +02:00
rdb 4976345486 Let's use OpenGL-style vertex colors by default on non-Windows platforms 2015-04-04 21:38:54 +02:00
rdb b323d73622 Reduce redundant state changes and error checks 2015-04-04 21:04:27 +02:00
rdb 059f67d1b5 Improve GLSL error reporting, fix GLSL ES shader loading 2015-04-04 20:57:04 +02:00