Commit Graph

1050 Commits

Author SHA1 Message Date
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
David Rose c8d3b8dac8 re-add files 2008-11-15 06:53:03 +00:00
David Rose 386b250585 wip: slot-based-RenderStates 2008-11-15 06:49:54 +00:00
David Rose 68c236069f fix hide/show bug 2008-11-14 23:34:32 +00:00
David Rose 05f577df6e further fixes to hide/show optimization 2008-11-13 17:11:44 +00:00
David Rose 22ecb41b4c hide/show optimization 2008-11-13 15:55:07 +00:00
David Rose 1462bee771 better Filename usage 2008-11-11 23:28:14 +00:00
David Rose fbc38a3e01 collection operator + 2008-11-10 23:54:45 +00:00
David Rose 58e0537e3c wide interrogate improvements: sequence protocol, MAKE_SEQ, __setitem__, and parameter coercion 2008-11-07 21:12:42 +00:00
David Rose 075710bced create pgraphnodes directory; move some things there from pgraph 2008-11-06 00:06:39 +00:00
David Rose 2e7751678f initialization issue 2008-10-29 00:58:06 +00:00
David Rose 6db2257ca1 TextGraphic::set_instance_flag() 2008-10-28 21:36:26 +00:00
David Rose d2c5866507 get_ancestor 2008-10-28 21:35:48 +00:00
David Rose 8639f98ae9 need to vector model_path etc. through function after all, to avoid static-init problems 2008-10-22 22:11:16 +00:00
David Rose 600a70a7f2 fix weird issues with buttons in shadowed text 2008-10-21 22:52:45 +00:00
David Rose 907527a9c5 better scheduling algorithm 2008-10-10 20:54:15 +00:00
David Rose 53495298b2 minor typo 2008-10-10 05:22:48 +00:00
David Rose d4c2c9858d SIMPLE_THREADS_NO_MUTEX -> LightMutex 2008-10-08 23:23:40 +00:00
David Rose 24dea4e56a more fixes to RenderAttrib problem 2008-10-08 01:12:17 +00:00
rdb 6599417ca1 Fix bug in shader generator 2008-10-04 11:39:14 +00:00
David Rose 621b831913 allow-live-flatten 2008-10-02 23:39:51 +00:00
David Rose fab502970f more threading improvements 2008-10-02 17:50:16 +00:00
David Rose ee89d48297 fix RenderAttrib corruption 2008-10-02 00:12:19 +00:00
David Rose c8913d4b66 use global task manager 2008-09-29 17:29:49 +00:00
David Rose c59bfe5459 more threading issues 2008-09-28 21:32:11 +00:00
David Rose 6e3c93ce2f minor change 2008-09-26 23:43:29 +00:00
David Rose 7cd09665ac task chains 2008-09-25 20:42:46 +00:00
David Rose d7ec4a0fce fix static init loop 2008-09-19 19:20:37 +00:00
David Rose 524128b9fd wip: starting experimental C-based task manager 2008-09-19 00:58:04 +00:00
David Rose 8961c322f3 whoops, incorrect debug test 2008-09-17 22:06:50 +00:00
David Rose f5e0ba66ba fix crash in point rendering 2008-09-16 12:59:03 +00:00
David Rose 75b5e032f0 rename SIMPLE_THREADS_NO_IMPLICIT_YIELD 2008-09-11 01:37:12 +00:00
David Rose d71d7a0fdb avoid async texload race condition 2008-09-11 01:02:11 +00:00
David Rose 8214dca456 async-load-delay for textures too 2008-09-10 02:17:26 +00:00
David Rose 11ae34e109 apply_texture_colors() 2008-08-28 00:46:30 +00:00
David Rose 8c2e657f15 Add gsg::update_texture() 2008-08-25 22:58:58 +00:00
David Rose 09dc4e3b84 add async-load-delay 2008-08-22 23:43:05 +00:00
David Rose 59b5ab684d don't crash if loading cached compressed textures and compression unsupported 2008-08-22 19:19:07 +00:00
David Rose 617a769ef7 more work towards asynchronous texture loads: auto-caching compressed texture versions 2008-08-14 23:50:17 +00:00
David Rose 311273c22f less flickery lod fading 2008-08-13 06:22:58 +00:00
David Rose d7e6603118 work-in-progress: asynchronous texture loads 2008-08-13 01:13:09 +00:00
David Rose 15f44d52b1 don't need all that hashtable output 2008-08-08 19:31:37 +00:00
David Rose 6d953de53a asynchronous animation binding 2008-08-07 17:26:39 +00:00
David Rose 6073c8dee9 RenderModeAttrib::M_filled_flat 2008-08-05 17:49:35 +00:00
David Rose 4d59f04134 scissor MouseWatcherRegions too 2008-08-01 22:48:42 +00:00
David Rose ab6e8bbc3c higher-level ScissorEffect fixes 2008-08-01 21:54:20 +00:00
David Rose 8537bd7320 ScissorAttrib, ScissorEffect 2008-07-31 01:53:12 +00:00
David Rose 8a9fe2a16d more assertions 2008-07-29 23:38:12 +00:00
David Rose a89acc64a2 add clear_model_nodes 2008-07-29 19:42:53 +00:00
David Rose 08c7656733 remove unused vertices automatically 2008-07-18 21:15:27 +00:00
David Rose 785424a348 should be DrawMask, not CollideMask 2008-05-28 19:00:56 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
Josh Yelon 3f69740ab9 Fixed a bug in glow map generation 2008-05-27 22:20:09 +00:00
Josh Yelon db026d888d Fixed a minor bug 2008-05-27 22:18:40 +00:00
David Rose a760c2ba4f initialize flags 2008-05-12 23:32:49 +00:00
Josh Yelon a7fcfb1d33 Fixed a comment 2008-05-09 17:22:36 +00:00
Josh Yelon 9b27b21358 Fixed precision loss in compare_impl 2008-05-06 22:02:26 +00:00
Josh Yelon 846c2a9fcc Enabled shader generator to suppress alphatest and alpha-write 2008-05-06 16:27:18 +00:00
David Rose 3dd3c1aa44 oops, sorting texture stages in wrong direction by sort 2008-05-01 22:42:56 +00:00
Josh Yelon c013cddc92 More support for negative glow 2008-04-30 22:23:14 +00:00
Josh Yelon 1d2990a2b5 Added support for negative glow-maps 2008-04-30 21:07:23 +00:00
David Rose f3ec66d694 fix minor bugs 2008-04-30 20:37:29 +00:00
Zachary Pavlov 5ea3c0c47c made combine_with published 2008-04-29 18:59:47 +00:00
David Rose 96e4739426 fix ff_tc_index some more 2008-04-16 00:30:50 +00:00
David Rose a667e91dce TextureAttrib::_implicit_sort 2008-04-10 00:45:43 +00:00
David Rose 0cda3c165a time munge::geom 2008-03-26 00:05:51 +00:00
Josh Yelon 08dcdade5c load_dso now uses a plugin search path 2008-03-18 22:25:59 +00:00
David Rose cdc0a1564b comment typo 2008-03-17 21:51:30 +00:00
David Rose fc46272823 fix set_attrib() with override 2008-03-04 22:33:16 +00:00
Josh Yelon 8d0c975486 Added not-implemented-yet warnings to shader generator 2008-03-03 21:32:28 +00:00
David Rose 02b2d76274 more flatten bugs: fix color-scale support 2008-03-01 00:05:03 +00:00
Josh Yelon 5a25035407 Fixed typo 2008-02-25 21:35:24 +00:00
Josh Yelon 383b0660ae More changes to shader generator 2008-02-25 21:26:26 +00:00
Josh Yelon a9dc480500 Improvements to shader generation 2008-02-24 03:57:55 +00:00
David Rose d52bd0616b fix dx8/dx9 texture coordinate issue 2008-02-21 21:56:47 +00:00
Josh Yelon 7bb510a3ef Added support for HDR 2008-02-21 19:54:40 +00:00
David Rose 61dc831678 fix color-flatten issue some more 2008-02-20 04:16:36 +00:00
Josh Yelon 30c2f1e871 Added auxBitplaneAttrib 2008-02-13 22:06:55 +00:00
Josh Yelon b6ea4ab8b2 Fixed linux gcc bug 2008-02-12 23:03:55 +00:00
Josh Yelon da29b5e02f Adding more code for shader generator and image postprocessing 2008-02-12 21:54:44 +00:00
Josh Yelon f1ca9a02b3 Added light ramp attrib 2008-02-05 04:05:57 +00:00
David Rose 92dd6d6e89 fix color flatten bug 2008-02-05 01:07:48 +00:00
Josh Yelon 005bc25282 Added light ramps and gloss maps 2008-02-04 22:49:48 +00:00
Josh Yelon a918cb5ee1 Updated some comments 2008-01-29 17:07:11 +00:00
David Rose a3999eff61 fix white nametag issue 2008-01-29 01:56:55 +00:00
Josh Yelon 48f0aeaddf More shader generation 2008-01-28 17:55:06 +00:00
Josh Yelon 1d954d5104 Improvements to Shader Generator 2008-01-28 17:28:09 +00:00
David Rose 77f15e1885 build on linux 2008-01-26 01:15:25 +00:00
Josh Yelon be5cf85350 Implemented new make_consistent_state routine to unify ColorAttribs 2008-01-25 07:18:28 +00:00
Josh Yelon d0aac98dac SceneGraphReducer needs to support new ColorAttrib semantics (not quite finished yet) 2008-01-25 03:35:58 +00:00
Josh Yelon 1d44682463 Much progress implementing shader generator 2008-01-25 03:35:12 +00:00
Josh Yelon c9478d0001 Added audio volume to the AttribSlots 2008-01-25 03:33:47 +00:00
David Rose dd03048f6e add SceneGraphReducer::decompose() 2007-12-20 22:33:44 +00:00
David Rose 775466b4bd egg loader and bam loader set a ColorAttrib on every Geom. 2007-12-20 03:17:38 +00:00
David Rose c380227fb4 compile crash in pandatool 2007-12-19 21:40:12 +00:00
David Rose b9b1e78399 flatten optimization; also SceneGraphReducer::make_compatible_format() 2007-12-19 20:25:53 +00:00
Josh Yelon eeb8b61bc9 Fixed an uninizialized data bug in make_default_impl 2007-12-17 21:46:20 +00:00
David Rose e75c8695dd resolve dependency issue 2007-12-17 21:23:38 +00:00
Josh Yelon 439ef40cff Just getting started with real shader generator 2007-12-16 08:05:18 +00:00
Josh Yelon b3909c97fa Adding the shader generator 2007-12-16 05:46:54 +00:00
Josh Yelon 5d0c234484 Added ShaderGenerator 2007-12-16 05:45:35 +00:00