Commit Graph

7768 Commits

Author SHA1 Message Date
rdb 0e54f8b85b Work around compiler optimisation bug on FreeBSD by swapping two lines of code :-/ 2010-04-25 08:30:02 +00:00
rdb 54769c76b5 Fix compilation error for OpenGL ES 2 2010-04-23 12:13:37 +00:00
rdb a464e45c0e Apply fix from andresv to fix flickering objects with a shader 2010-04-18 15:50:15 +00:00
Mike Christel 671276fa6d Fixed bug with textures in synthesize_shader (case TextureStage::M_modulate): separate textures formatted as alpha were wiping the color info off the resulting rgb 2010-04-16 18:50:32 +00:00
Mike Christel c308b57137 Overload added to set_shader_auto to allow any of normal, glow, gloss, ramp, shadow to be turned on or off 2010-04-16 14:06:26 +00:00
David Rose 674099f5c1 osx-support-gl-buffer 2010-04-13 23:05:07 +00:00
David Rose 30155fb72e add support for uncompressed luminance and luminance-alpha dds files 2010-04-13 17:19:18 +00:00
David Rose 848d439f72 compilation errors 2010-04-12 18:55:31 +00:00
rdb c9073b1d80 Put back a fix that the PandaSE team happily but accidentally reverted 2010-04-12 16:47:59 +00:00
rdb f76a3b37da Fix compiler warning 2010-04-09 13:15:19 +00:00
David Rose 481aa0d8ec fix to typo 2010-04-07 22:54:26 +00:00
David Rose f7b9b5144d whoops, forgot too 2010-04-07 22:26:54 +00:00
David Rose 31fd59476a migrate UvScrollNode -> pgraphnodes 2010-04-07 22:02:31 +00:00
enn0x 8dd0b6ca96 Cloth simulation and rendering. No tearing yet. 2010-04-07 18:42:06 +00:00
rdb 06167a0ec7 Shouldn't do so without actually trying my fix first, though 2010-04-07 17:30:17 +00:00
rdb c700c23c28 Attempt to fix build without HAVE_CG 2010-04-07 17:28:53 +00:00
rdb 102b46878e More compatibility with exotic compilers (yes, I actually tried to port Panda to clang) 2010-04-07 16:59:46 +00:00
Mike Christel 6418e6f221 extended shader input system support for Cg (see Panda SE Project 2010-03-17 blog post for more details) 2010-04-07 11:16:29 +00:00
treeform d5ebb58874 Added more debug messages to openAL audio manager for closing it.
We use resent OpenAL-soft in the distribution (1.12 or more instead of 1.8)

There is this bug:
OpenAl soft some times selects ALSA software
ALSO software some times has a bug working with pulse audio
So we need to make sure OpenAL uses pulse audio directoly, then it works.

KittCat (openAL soft author):
well, more like worked around it. but it's not something I can fix in openal soft
I've gone over the code several times and had other people comment on it. alsa just enables mmap when using the pulse plugin even though the plugin doesn't support it
using the pulse api directly (or disable using mmap with alsa) gets around the problem, though
2010-04-03 07:26:00 +00:00
treeform d5071f89b6 I have added the debug output for AL_RENDERE AL_VENDER and AL_VERSION when starting openAL 2010-04-03 06:08:56 +00:00
David Rose 3293a6574a http-preapproved-server-certificate-name 2010-04-03 01:17:45 +00:00
Mark Wojtowicz 822c496f68 Fixed typo in apply_clip_plane() causing only the first plane to be considered. 2010-04-02 23:09:58 +00:00
enn0x 05c8023f55 Fixing broken build, and undoing previous quickfix. 2010-03-28 21:25:51 +00:00
enn0x b7eb84762f Define cloth classes/methods only if PhysX cloth API is defined (Not yet tested). 2010-03-28 19:01:03 +00:00
enn0x 195a8d93ad Cloth meshes (descriptor, mesh, cooking, pool). 2010-03-28 14:44:16 +00:00
rdb e3fdfaf312 Fix API reference explanation for relative mouse 2010-03-28 13:29:43 +00:00
rdb de4280ea20 Remove helix 2010-03-27 09:56:49 +00:00
rdb 93c6b27e70 ucontext.h seems to be deprecated in Snow Leopard, so let's include sys/ucontext.h there 2010-03-27 06:57:12 +00:00
David Rose 226c5de6ba fix fullscreen restore from minimized 2010-03-26 19:50:45 +00:00
enn0x 7b2df70c7b Config-option to activate multithreaded/multicore mode for PhysX engine. 2010-03-26 13:13:15 +00:00
enn0x c7bdb4ae1b PhysxManager.get_global_ptr now returns NULL is SDK initialization fails. 2010-03-25 21:35:41 +00:00
enn0x 7bd70efba7 Convenience classes for vehicles and wheels (no members or methods yet). 2010-03-25 21:29:52 +00:00
Bei Yang d79c1db68e Made this into a datanode 2010-03-25 08:37:04 +00:00
Bei Yang be7a26dd12 initial add 2010-03-25 01:20:11 +00:00
Chris Brunner d4bb6e276a added a much-needed 'info' notify output for loading audio files 2010-03-24 00:07:17 +00:00
Bei Yang fb9d65b149 Working version checked in. TODO: Lots of documentation. Finish implementation of javascript callback methods. 2010-03-23 23:06:00 +00:00
rdb e9234408c0 Fix errors on destruction when the GLSL shader failed to link 2010-03-23 13:23:34 +00:00
Bei Yang 846505743d Fixes an optimization bug producing #INF in the egg file. Added check to make sure data isn't empty. This might be an issue only found in VS2008 SP1. 2010-03-19 23:10:50 +00:00
gogg 938c86eee6 (Correctness) Delete internal arrays as arrays, not scalar. 2010-03-18 20:46:42 +00:00
David Rose f3df033696 fix is_2d() bug 2010-03-17 22:31:45 +00:00
gogg 8c4996c152 Fixes an OpenAL bug where certain sounds are cut off after a few seconds (this is rather experimental) 2010-03-17 14:38:13 +00:00
David Rose 2e4c938c71 fix bug with set_saved_result 2010-03-16 00:03:51 +00:00
rdb a9062aa25f Fix weird bugs regarding indexed_color on Unix/GLX 2010-03-15 10:49:42 +00:00
gogg dd2b42eaf1 Remove voodoo workaround from find_acceptable_display_mode. 2010-03-14 22:27:48 +00:00
David Rose bace12e8d7 need accum-bits config variable 2010-03-14 18:31:05 +00:00
David Rose b89595c845 further fixes to two-step context creation 2010-03-13 18:28:52 +00:00
David Rose 6d21f840bd fix crash when no default font available 2010-03-12 19:16:00 +00:00
David Rose e972a6dd0b get_text() should return a reference 2010-03-10 20:26:18 +00:00
David Rose bbddefa885 make_window() should be public 2010-03-10 18:51:30 +00:00
rdb eec6ae2728 Typo 2010-03-10 09:40:08 +00:00