Commit Graph

1050 Commits

Author SHA1 Message Date
David Rose c67fb27206 support subclassing CollisionNode properly 2012-01-31 23:45:55 +00:00
David Rose 95db6ebaca GeomVertexFormat::maybe_align_columns_for_animation() 2011-12-19 23:52:06 +00:00
David Rose 1a4f42706b remove a few epvectors 2011-12-19 18:16:30 +00:00
David Rose 42e8f806f1 leave lvecbase2/3 and lmatrix3 unaligned; it's so much cleaner 2011-12-19 14:17:26 +00:00
David Rose c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose 39b32376bb move a few more PStatCollectors out of local statics 2011-11-19 00:11:43 +00:00
David Rose b8497a0478 fix deadlock with reset_prev_transform() 2011-11-17 19:20:38 +00:00
David Rose 2a3ad0d4e5 Add RenderState::get_auto_shader_state() 2011-11-07 00:08:04 +00:00
David Rose 83b87652f8 fix prepare_scene() to prepare vertex buffers as well as textures 2011-11-05 17:58:28 +00:00
David Rose 8ebd82fbcc support cross-compatibility of 32-bit and 64-bit bam files 2011-10-31 22:24:35 +00:00
David Rose 8dc21c8cae fix hashmap crash 2011-10-30 21:45:12 +00:00
David Rose be85a6ada1 fix crash with threaded setPythonTag() 2011-10-26 20:01:16 +00:00
David Rose 134e9a9e92 dual names for interrogate 2011-10-11 00:45:51 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose 9e22c72bf3 finally, pipelined textures 2011-10-08 21:04:05 +00:00
Chris Brunner dd6c64e285 2010 2011-09-29 00:24:28 +00:00
David Rose c7adc6246f build on msvs2010 2011-09-28 23:56:59 +00:00
David Rose 5588210e22 set some config variables to suitable defaults for threading 2011-09-28 19:52:58 +00:00
David Rose 5496c4a9ec more writable vfs stuff 2011-09-27 16:10:19 +00:00
David Rose 6064045aa3 fix an assertion failure at shutdown 2011-09-09 01:17:35 +00:00
David Rose 00a87f7c44 fix a bit more type inheritance issues 2011-09-09 00:52:17 +00:00
David Rose 0687324183 fix memory leak 2011-09-09 00:14:17 +00:00
David Rose 369f93951f fix a memory leak in the garbage-collect-states case 2011-09-08 15:02:34 +00:00
David Rose 007b7d3f9e tracking down memory leaks 2011-09-08 02:28:14 +00:00
David Rose e552c230a0 further debugging in TransformState (and one important bugfix) 2011-09-07 23:44:36 +00:00
David Rose 59ec701a26 build once more with the Tau profiler 2011-09-06 17:29:30 +00:00
David Rose 37bdfa9815 typo 2011-09-06 03:15:49 +00:00
David Rose 3ed8632a68 further bugfixes 2011-09-05 23:53:19 +00:00
David Rose 229cf67ae5 Finishing migration of RenderState and RenderAttrib to SimpleHashMap and garbage_collect() models, working towards threaded pipelining 2011-09-04 15:47:45 +00:00
David Rose 220ba658a0 new, experimental TransformState seems to work better for multithreading 2011-09-04 02:52:41 +00:00
David Rose c3d8f81581 progress on multithreaded Panda 2011-09-04 00:11:57 +00:00
David Rose 0cf03bc158 untabify 2011-06-29 22:09:10 +00:00
David Rose 285d70c29e support caching movie files in the model-cache-dir and in a txo file 2011-06-29 20:33:34 +00:00
David Rose 87ebb4f32c fix GeomVertexRewriter::set_row() problem with empty data; add GeomVertexReader/Writer::set_row_unsafe(); fix some compiler warnings 2011-06-17 18:57:04 +00:00
rdb ee03d5c45d fix compile warning 2011-06-03 09:56:10 +00:00
rdb 3b07f3a2b4 fix annoying compiler warning 2011-06-03 09:15:25 +00:00
rdb 49e157ecd1 report all extensions and stuff 2011-05-05 11:31:30 +00:00
rdb a003a73c3f Add default-antialias-enable configuration variable 2011-03-31 09:16:36 +00:00
rdb 630568494a Fix compilation error 2011-03-28 21:56:47 +00:00
David Rose 1b8d55ce34 further occluder enhancements from teedee 2011-03-28 17:58:31 +00:00
David Rose 49a1a950e6 whoopsy, wrong case 2011-03-22 23:50:28 +00:00
David Rose 19d52c3221 fix problem with local transform on occluder; add egg bface support for occluders 2011-03-18 19:02:46 +00:00
David Rose b099e2d063 more fixes from teedee including set_double_sided() 2011-03-18 17:49:48 +00:00
David Rose 44375f019d explicit occlusion culling support from community member teedee, with additional enhancements by drwr 2011-03-18 01:56:09 +00:00
rdb f6c6e7eb75 fix bug in LightRampAttrib::out 2011-03-13 07:14:41 +00:00
rdb b1ee669c82 doxygen code things 2011-02-25 13:14:51 +00:00
rdb 750405202b properly export this class 2011-02-22 20:20:51 +00:00
rdb c823dd27ae fix bug #716509: NodePath.findMaterial does not work properly 2011-02-20 15:35:53 +00:00
David Rose a8b7f6bc85 write_bam_file() should take a Filename 2011-01-18 19:10:16 +00:00
rdb 817c12f179 Newline at end of file 2010-11-26 19:16:44 +00:00
rdb b72ae7c513 commit teedee's portal fixes 2010-10-10 06:05:58 +00:00
David Rose 17535c41a6 fix NodePath::adjust_all_priorities() for textures 2010-08-21 00:22:44 +00:00
David Rose ae77c767c2 fix comment 2010-08-21 00:22:13 +00:00
rdb 253473d3ea calc_tight_bounds default to current thread 2010-07-21 09:21:47 +00:00
rdb 1eb6bf3d42 Add missing include (to fix compile error on FreeBSD) 2010-05-30 15:59:57 +00:00
Chris Brunner 547a72053c support for #ifdef WIN64_VC instead of just #ifdev WIN32_VC alone 2010-05-28 21:09:22 +00:00
David Rose 91e6231a3c apply per-attrib override to TexMatrixAttrib also 2010-05-06 01:12:34 +00:00
David Rose 9d62ca9f98 one override per TextureStage, instead of a global override per TextureAttrib 2010-05-04 22:39:40 +00:00
Mike Christel ad30e4c71f Overload improved (not optimal, but better than list of string arguments) to set_shader_auto to allow any of normal, glow, gloss, ramp, shadow to be turned on or off via bitmask 2010-05-03 16:41:16 +00:00
Mike Christel 5dfa504370 Texture arrays added to Texture class, passed to shader through setShaderInput(name, texture). A new Cg type sampler2DArray has been added to the panda3d Shader Class. 2010-04-29 14:48:44 +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 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
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
David Rose f3df033696 fix is_2d() bug 2010-03-17 22:31:45 +00:00
David Rose a942ce5fbf lists and strings will be automatically coerced into a PTA_blah 2010-02-11 22:38:34 +00:00
David Rose 4cf4811af6 more refinements to the whole shared-node pickle thing 2010-02-11 01:32:00 +00:00
David Rose 981890183b bamify NodePath's parents etc too, to better support common nodes 2010-02-10 23:50:57 +00:00
David Rose f6f9e269f4 introduce stdpy.pickle module with support for common-node NodePaths within a pickle stream 2010-02-10 19:43:58 +00:00
rdb c136904fa9 Add hardware instancing support 2009-12-21 14:22:12 +00:00
David Rose 816ddc0387 low-level support for python copy and pickle modules 2009-12-10 01:09:06 +00:00
David Rose 052b8cdb93 fix comment 2009-11-29 16:09:39 +00:00
David Rose 5843771931 TextureStage objects need to be reference-counted in the scene graph 2009-11-05 01:42:16 +00:00
Zachary Pavlov c0f1124dfe aggresive flattening of certain nodes 2009-10-13 18:19:18 +00:00
rdb 34729b3495 Missing newline at end of file 2009-10-01 18:02:24 +00:00
David Rose fd305329c7 PortalNode contributions by Erik Pojar 2009-09-28 11:51:01 +00:00
Zachary Pavlov d15bcd5062 oops, typo 2009-08-13 17:45:00 +00:00
Zachary Pavlov a2b0168dd5 documenting subtle steal_children issue 2009-08-12 19:14:20 +00:00
Zachary Pavlov fae008bee2 fix for flattenStrong nodepath cutting 2009-08-12 19:13:27 +00:00
Zachary Pavlov 3cc301259a more uv spin fixes 2009-08-06 20:56:03 +00:00
Zachary Pavlov 8db00b4f74 polar uv scrolling 2009-08-04 22:05:37 +00:00
David Rose acbb2966ad think we're ready for empty-node-path future to be the default 2009-07-31 01:05:08 +00:00
Zachary Pavlov c93ddf0346 prevent uv scroll combining 2009-07-23 21:04:27 +00:00
Zachary Pavlov c415cf8dbf use allow-flatten-color to get beyond the silly color attrib rigamarole. I want to just flatten! 2009-07-08 01:29:09 +00:00
Zachary Pavlov 1d896fcbb7 oops. Fixed the copy constructor bug. No more crashes :) 2009-07-07 17:10:17 +00:00
rdb f33032dd6b Add setDepthOffset etc. 2009-07-05 15:40:55 +00:00
Zachary Pavlov 8950ddbf15 the real uv scroll node. Not sure what happened with the commit 2009-07-02 16:47:12 +00:00
Zachary Pavlov 44bcbe3de6 somehow missed this 2009-07-02 15:00:55 +00:00
rdb 55daa4c70c Fix uvScrollNode 2009-07-02 09:15:24 +00:00
rdb 2340b9c1cc Add uvScrollNode.cxx to composite file 2009-07-02 09:00:16 +00:00
rdb b6ea49d520 Fix compiler errors in UvScrollNode 2009-07-02 07:15:55 +00:00
Zachary Pavlov dd84f35bbe *** empty log message *** 2009-07-02 00:42:31 +00:00
David Rose f1f496cc29 move lodNodes and sceneGraphAnalyzer to pgraphnodes, in an attempt to reduce size of pgraph some more 2009-06-11 02:37:19 +00:00
David Rose aefe3d35c2 merge dev_bam_2009 to trunk 2009-06-10 17:54:40 +00:00
David Rose 648e3d3f09 build for windows 2009-06-02 19:39:32 +00:00
rdb 5a3dd8d0c3 Eliminate ShaderGeneratorBase 2009-06-02 10:03:10 +00:00
rdb 4e067a74c1 Fix couple of circular dependencies, eliminate ShaderGeneratorBase 2009-06-02 09:57:33 +00:00
rdb 159026571b Added shadow mapping support to Panda 2009-06-02 09:24:03 +00:00
David Rose a3db8b63df hew a little closer to panda conventions 2009-06-02 06:06:41 +00:00
David Rose 58c13de4ca integrate changes from Schell Games (plus some tab character fixes) 2009-06-01 21:51:15 +00:00
David Rose c36c340004 fix bam errors when reading lights 2009-05-27 22:43:07 +00:00
rdb 84002901e9 Forgot a couple of files 2009-05-27 18:45:48 +00:00
rdb 801ddc8bb8 Changes to light inheritance to allow shadows 2009-05-27 17:33:21 +00:00
rdb 4271960b92 Add config var "show-portal-debug" to allow turning off the debug lines 2009-05-21 13:56:24 +00:00
Zachary Pavlov 440c6f4131 notify added for nodepath bool 2 2009-04-23 18:12:30 +00:00
Zachary Pavlov 069ecee3e0 notify added for nodepath bool 2009-04-22 23:43:01 +00:00
David Rose 8f01bbd3d9 compiler warnings 2009-04-18 12:38:09 +00:00
David Rose 3384159fd9 export config variable 2009-04-07 19:33:48 +00:00
rdb d5a72622e5 Add clearAllShaderInputs 2009-03-28 17:38:51 +00:00
David Rose eee0f7321b fix vertex-buffer problem in callbacks 2009-03-15 00:01:05 +00:00
David Rose 0c90c36fd7 new callback system 2009-03-14 19:31:37 +00:00
David Rose 8ee2a28271 fix show_bounds with transform on GeomNode 2009-03-13 12:28:27 +00:00
David Rose ddbad77851 set_bounds_type() 2009-03-12 21:50:03 +00:00
David Rose 2ca487c417 uniquify-transforms 2009-03-11 00:21:23 +00:00
David Rose e41d03482f fix TransformState leak 2009-03-11 00:21:01 +00:00
David Rose 0e885a8481 update deprecated comment 2009-03-09 18:06:30 +00:00
David Rose 7051a28f8e more fixes to point rendering 2009-03-03 23:15:10 +00:00
David Rose 941c9ba732 fix static-init issue 2009-03-03 21:07:49 +00:00
David Rose 0a6a6dcb3e fix some sprite issues 2009-03-02 23:11:27 +00:00
rdb f1e660373d Why was _generated_shader not initialized? 2009-02-28 12:11:21 +00:00
David Rose cd48a64f86 StereoDisplayRegion 2009-02-20 20:55:15 +00:00
David Rose 923c9929a1 a few more warning squelches 2009-02-19 00:23:08 +00:00
David Rose 681551c918 empty-node-path handling 2009-02-15 01:45:15 +00:00
David Rose 384a2570a8 fix bounds when flattening actors 2009-02-12 20:46:10 +00:00
David Rose 2d887a630e TexturePool.findTexture(), findAllTextures() 2009-02-09 20:09:51 +00:00
David Rose 9d0860fffd get_effective_incomplete_render() for cull too 2009-01-30 19:14:49 +00:00
David Rose e53843ec11 traverse stashed also in prepare_scene 2009-01-22 02:45:36 +00:00
David Rose 574403a39f fix pstats mutex leaking 2009-01-22 00:17:07 +00:00
David Rose 5d73bc8e19 operator bool() 2009-01-20 03:17:59 +00:00
David Rose cef2a5c8b2 further fix to fade lod 2009-01-16 02:33:28 +00:00
David Rose e0c65512aa saner treatment of ColorAttrib 2009-01-10 01:19:16 +00:00
David Rose e5cf8b1517 fix for wrong-color objects in directx 2009-01-08 03:15:12 +00:00
David Rose db667ad5ca report long and short normals 2009-01-08 02:59:40 +00:00
Zachary Pavlov 7a052ec814 it can't be this easy, can it? 2009-01-07 04:43:17 +00:00
David Rose 7dc6ea0356 asynchronous load priorities 2008-12-24 22:55:22 +00:00
David Rose 7fcf84909a less-restrictive instance_to: return existing instance if it already exists 2008-12-24 21:07:39 +00:00
David Rose 0798221a5b fix flashing-white lod fades 2008-12-19 00:04:06 +00:00
David Rose 99b0236c1c fix bam reader 2008-12-19 00:03:46 +00:00
David Rose 02352ab5e6 smoother lod fading 2008-12-17 00:08:37 +00:00
David Rose c3d1efc07d yield more aggressively during flatten 2008-12-16 19:46:55 +00:00
David Rose 3a1e10e4e8 minor whitespace fix 2008-12-16 19:46:39 +00:00
Zachary Pavlov af435acd5c allow cull callback disabling 2008-12-12 01:15:01 +00:00
David Rose 472e203d67 visit multitexture during prepare_scene() too 2008-12-10 21:37:56 +00:00
David Rose e31be8e3f0 fix flatten crash 2008-12-10 21:17:00 +00:00
David Rose 5f3be0ab9a fix flatten plane 2008-12-05 22:19:41 +00:00
David Rose 2db915af4d fix compose 2008-11-22 01:20:16 +00:00
David Rose 8a04a06b0b fix adjust_all_priorities 2008-11-21 20:40:10 +00:00
David Rose 26754b86ca merge dev_slots_2008: slot-based RenderState implementation 2008-11-19 01:21:44 +00:00
David Rose 15b1f49c12 remove accidentally added files 2008-11-15 06:54:34 +00:00