Commit Graph

1050 Commits

Author SHA1 Message Date
David Rose 0df3c4849b name more mutexes 2007-06-21 20:07:59 +00:00
David Rose 40196a0af2 squelch compiler warning 2007-06-20 20:43:53 +00:00
David Rose 3de6d5ac4f Use apply_attribs() to doubleside or reverse triangles 2007-06-19 17:14:46 +00:00
David Rose eec731e417 SceneGraphReducer::doubleside() 2007-06-18 21:13:33 +00:00
Josh Yelon fe79990cdf Reversed accidental modification 2007-06-17 09:12:53 +00:00
Josh Yelon ccef375974 Improved the egg-cacher 2007-06-17 09:10:47 +00:00
David Rose 3b528350bb DisplayRegion::make_cull_result_graph() 2007-06-15 16:54:30 +00:00
David Rose 0b703e2f14 SceneGraphReducer::remove_column() 2007-06-15 14:50:44 +00:00
David Rose 140def8f38 untabify 2007-06-13 16:40:16 +00:00
David Rose 8ce0e1070d add default-lod-type 2007-06-08 16:50:27 +00:00
David Rose 823524e43c more aggressive dxgsg8/9 deferred loading 2007-06-08 15:38:45 +00:00
David Rose 68c9ef5207 don't prune nonresident geometry in cull--wait until draw 2007-06-07 21:45:33 +00:00
David Rose 39dc3d9c3e add allow-incomplete-render 2007-06-06 21:05:17 +00:00
David Rose e5d2c00879 add clip-plane-cull 2007-06-04 22:34:22 +00:00
David Rose fe951a35fd cull to geoms; fix box culling 2007-06-04 20:18:57 +00:00
David Rose ad6e2116cc better thread safety 2007-06-03 15:42:14 +00:00
David Rose faad1e333d optional BoundingBox 2007-06-02 00:59:32 +00:00
David Rose 5518abb092 temp uniquify-transforms etc. 2007-06-01 00:03:43 +00:00
David Rose 33a0c3af8e replacing CullBinOcclusionTest with PipeOcclusionCullTraverser, some linmath optimizations 2007-05-31 21:17:50 +00:00
David Rose bd86134b15 improve copy_subgraph: quick_add_new_child() 2007-05-27 16:22:49 +00:00
David Rose aa3c504345 small optimizations to PandaNode etc. 2007-05-27 02:47:54 +00:00
David Rose c52f7d6427 don't hit the disk so much when loading already-loaded files 2007-05-27 01:38:05 +00:00
David Rose f8b3f0d017 impose max-collect-vertices and max-collect-indices on limits reported by GSG 2007-05-24 17:46:32 +00:00
David Rose 4854ec070c remove 'deprecated' comments 2007-05-23 16:11:50 +00:00
David Rose 25159b2efa vertex-data-allow-reread 2007-05-22 21:03:41 +00:00
David Rose 2526ff3af1 fix oops on flatten 2007-05-22 00:23:59 +00:00
David Rose c7fb9cd0ab automatically premunge on load 2007-05-21 22:36:27 +00:00
David Rose 732bbafaa9 define NodePath::premunge_scene() and supporting implementation 2007-05-21 16:05:22 +00:00
David Rose 547ff677d1 better vertex paging 2007-05-18 18:19:15 +00:00
David Rose d544bb1bad fix flatten not to move ClipPlaneAttribs by default 2007-05-15 23:20:41 +00:00
David Rose 7e08d7b759 add PlaneNode::set_clip_effect 2007-05-15 20:44:08 +00:00
David Rose abdb0b142d whoopsy 2007-05-14 20:41:35 +00:00
David Rose 344bd1e72b improve NodePath.analyze() 2007-05-14 19:58:43 +00:00
David Rose b943c36fae First pass at memory-managed vertices. Might break threaded code. 2007-05-13 00:01:38 +00:00
David Rose d87cae471d more better pstats mem tracking 2007-05-10 14:40:52 +00:00
David Rose 554430ab21 more fullscreen fixes 2007-04-26 23:53:54 +00:00
David Rose d1a06d8f02 correctly release gsg on window close 2007-04-26 00:44:20 +00:00
David Rose 936412fae2 merge cow_thread_2007_04_12: make copy-on-write operations thread-safe 2007-04-19 18:23:10 +00:00
David Rose 8566b388fb add count_num_descendants() 2007-04-17 18:21:29 +00:00
David Rose 93807927f9 add detect-graph-cycles 2007-04-04 21:21:23 +00:00
David Rose 9b575fbe58 steps toward async flatten 2007-04-03 23:21:49 +00:00
David Rose 52ff79375d fix 'tight' ShowBoundsEffect 2007-04-03 14:33:46 +00:00
David Rose 0b9493ef36 better default exponent 2007-04-02 17:08:49 +00:00
Asad M. Zaman 98dc88e9f1 reverting this file 2007-03-28 23:37:45 +00:00
Asad M. Zaman 1d0789ecde added a compose_color_scale interface 2007-03-28 23:36:45 +00:00
Asad M. Zaman 4d949e95a6 added set_color_scale to nodepathCollection 2007-03-21 23:11:13 +00:00
David Rose 89950a2132 try to defend against hard crashes 2007-03-16 15:43:17 +00:00
David Rose 1fdb425b88 merge shader_overhaul from jyelon 2007-03-15 21:04:31 +00:00
David Rose 700051ff5f fix bounding volume bug after flatten 2007-03-12 18:15:48 +00:00
Josh Yelon 7afd31f361 Fixing a very old bug 2007-02-22 22:06:03 +00:00
David Rose 4ff0a5af0e add colors 2007-02-21 19:04:38 +00:00
David Rose e43f4f5c64 fix morphs in character flattening; better support for flattening animated + unanimated 2007-02-16 19:19:19 +00:00
David Rose 755288c2d5 add support-fade-lod 2007-02-13 23:28:13 +00:00
David Rose 1e6729a1e7 fix combining animated with unanimated vertices 2007-02-13 19:10:51 +00:00
Josh Yelon ee6d7813a6 Fixed a bad iterator 2007-02-12 19:39:28 +00:00
David Rose 0869d551ae shaders are always constant, it appears 2007-02-08 21:52:57 +00:00
David Rose 63edecf517 faster sprite particles 2007-02-08 19:56:33 +00:00
David Rose 02b5193dd2 compiler warning 2007-01-30 17:03:58 +00:00
David Rose a09cfb3a9b link with python 2007-01-26 17:59:35 +00:00
David Rose 55a8ab333b preserve tags while flattening 2007-01-25 21:37:10 +00:00
David Rose 28110b2774 fix flattening 2-d objects 2007-01-17 02:27:36 +00:00
Zachary Pavlov be02db659d added a geom tag, setPreserved, which prevents flattening 2007-01-08 22:59:05 +00:00
Darren Ranalli 2a6b1cb479 added audioVolumeAttrib 2006-12-21 23:40:22 +00:00
aignacio_sf 6ec87e2506 Add stencil buffer clear. 2006-12-13 19:27:51 +00:00
aignacio_sf af8a72f828 Add list_contents function that takes no parameters which outputs to cout thus making it callable in Python.
Format the output so it is a bit easier to read.
2006-12-08 03:38:52 +00:00
Zachary Pavlov 58533ae46c fixes for tau 2006-11-27 03:27:55 +00:00
David Rose 5779007507 more memory tracking stuff 2006-11-24 22:59:44 +00:00
David Rose ccec9eb3df allow Actor flattening 2006-11-16 22:39:31 +00:00
David Rose d6b8d30bca add replace_node() 2006-11-13 22:45:24 +00:00
David Rose 6f21efb679 fix compose between 2-d and 3-d mats 2006-11-13 18:22:25 +00:00
aignacio_sf 53e190a77a Fix comment for make_off function. 2006-11-01 03:49:55 +00:00
aignacio_sf 543b68c0ed Fix cut and paste comment. 2006-11-01 03:40:55 +00:00
David Rose dfe5814829 rework loader vs. ModelPool; deprecate implicit filename extension; improve ModelPool.releaseModel() 2006-10-25 17:56:50 +00:00
Zachary Pavlov bb46722b39 fixes an issue that only shows up Opt2 2006-10-25 02:50:17 +00:00
David Rose 763808f8e4 make ModelPool::garbage_collect() behave sensibly in the new loadModel() world 2006-10-23 20:50:09 +00:00
David Rose 64d4d729fc allow flatten_strong() to combine the children of a ModelNode 2006-10-18 17:18:17 +00:00
David Rose 9b2f1e4a69 add accessors to SceneGraphAnalzyer 2006-10-15 16:54:45 +00:00
David Rose 6f2d9475bb expose SceneGraphAnalyzer 2006-10-15 16:05:39 +00:00
David Rose 962f43800d add alpha-scale-via-texture 2006-10-10 17:58:08 +00:00
David Rose 601dbd02ca fixes for osx build 2006-09-25 22:29:39 +00:00
David Rose 425ada050a add PandaNode::get_fancy_bits(), remove PandaNode::has_cull_callback() 2006-09-20 00:54:15 +00:00
David Rose ec042275fe rename LoaderOptions methods for clarity; add output 2006-09-18 19:07:47 +00:00
David Rose 3150541f9e verify-lods off again for now 2006-09-16 01:14:32 +00:00
David Rose 97fbcbd507 fix LODNode startup 2006-09-14 18:03:51 +00:00
David Rose 21d70e558e add EventStorePandaNode 2006-09-14 00:54:45 +00:00
David Rose 928770b37b optimize verify-lods better 2006-09-13 17:13:56 +00:00
David Rose 169a946914 Fix some issues with verify-lods 2006-09-13 15:57:55 +00:00
David Rose 03ed2b6a94 turn off verify-lods by default for now 2006-09-13 01:15:16 +00:00
David Rose 8252076962 don't validate LODNodes when force_switch is in effect 2006-09-12 19:54:14 +00:00
David Rose 2ddcce6ad2 LODNode should test its bounding volumes 2006-09-12 00:15:59 +00:00
David Rose 5faf55d463 minor lod tweaks 2006-09-08 19:30:00 +00:00
David Rose 02916bf726 add a spindle to the viz 2006-09-08 18:47:54 +00:00
David Rose 3d415c4e0f add show_switch() debugging mode 2006-09-08 17:01:27 +00:00
David Rose 1343e40e31 fix problem with non-normalized quat 2006-09-05 06:39:27 +00:00
David Rose b81fdf5f9d revisiting hashtables 2006-09-01 22:27:21 +00:00
David Rose a3cc24dd6f dos2unix 2006-09-01 18:52:52 +00:00
David Rose 3fe0ad1080 AsyncTaskManager, threaded sound loader 2006-08-29 19:27:03 +00:00
David Rose 1f1761da76 threaded model loads 2006-08-22 15:33:51 +00:00
David Rose 42fc71791e minor change: calc_tight_bounds should be a const method 2006-08-18 21:11:16 +00:00
David Rose 2ed9484f06 fix typos in comments, fix show-transparency with M_dual 2006-07-31 21:05:10 +00:00
David Rose 8e178ae9d6 obviate the need to call Actor.update() most of the time 2006-07-26 21:40:53 +00:00
David Rose 39f37d0567 fix particles 2006-07-13 17:34:10 +00:00
David Rose 233f3e080d egg-max-vertices, egg-max-indices, max-collect-indices 2006-07-13 16:09:08 +00:00
David Rose 7d43e51358 add BamCacheIndex 2006-06-20 00:23:24 +00:00
David Rose b053967464 fix threading on windows 2006-06-15 23:39:00 +00:00
David Rose 7719dd539e fix texture issues; introduce model-cache-dir 2006-06-15 00:22:35 +00:00
David Rose f26a291ad5 correct old usage 2006-06-09 17:57:40 +00:00
David Rose 4874f2cd01 clarify intention of assignment 2006-05-31 16:51:48 +00:00
aignacio_sf 64ac1f8510 Updated stencil interface. 2006-05-27 00:52:09 +00:00
aignacio_sf d57e768594 Initial working stencil. 2006-05-24 00:13:04 +00:00
David Rose d6b1da618c add get_all_camera_mask() 2006-05-23 12:48:25 +00:00
aignacio_sf 682065a3e8 Preliminary stencil buffer code. 2006-05-19 04:18:09 +00:00
aignacio_sf 1a8b8f1756 Correct comment. 2006-05-19 01:14:16 +00:00
David Rose ae9d5a6f77 fix LinkedListNode assertion on exit 2006-05-12 21:24:42 +00:00
David Rose 1f320c8196 add set_render_mode_thickness(), set_render_mode_perspective() 2006-05-12 20:37:21 +00:00
David Rose 66d179ecdf fix fog on sprite particles 2006-05-12 18:06:22 +00:00
David Rose ea52930b83 clear _cdata pointer 2006-05-02 14:41:12 +00:00
David Rose 1390d9ff22 minor thread-safe fix 2006-05-02 05:59:15 +00:00
David Rose 7dc0eabbbb fix compilation errors without threading 2006-05-02 01:47:59 +00:00
David Rose c8eb6c5a82 reduced need for read locks 2006-05-02 00:48:10 +00:00
David Rose 4559b15c18 more minor speed improvements 2006-04-30 22:10:49 +00:00
David Rose f1038ea8ef unify PandaNode::CData again; create PandaNodePipelineReader 2006-04-30 20:24:36 +00:00
David Rose d5dcdc63ab fix M_dual 2006-04-29 02:17:51 +00:00
David Rose fade04905d more mutex protection; more current_thread passing 2006-04-28 16:17:55 +00:00
David Rose 4a369a0536 per-displayregion tracking of cull, draw times 2006-04-28 00:05:43 +00:00
David Rose 9808294212 factor out more calls to Thread::get_current_thread() 2006-04-27 14:45:39 +00:00
David Rose 6415041d86 fix reset_all_prev_transform 2006-04-26 21:50:42 +00:00
David Rose 4146b852de copy construct current_thread 2006-04-26 16:00:45 +00:00
David Rose ddd1046462 factor out Thread::get_current_thread() some more 2006-04-26 07:31:23 +00:00
David Rose 95d10754c0 faster Tau on Linux 2006-04-25 19:26:08 +00:00
David Rose 7f49d41284 fix opt4 crash 2006-04-25 17:28:55 +00:00
David Rose ffc92f23c8 more factoring of Thread::get_current_thread 2006-04-25 16:55:19 +00:00
David Rose 988ae7410f missing files 2006-04-25 14:02:49 +00:00
David Rose 160c848b68 better PandaNode::get_children(), introduce PandaNode::reset_all_prev_transform() 2006-04-25 13:55:46 +00:00
David Rose 57338ee24d better windows tau support; better threaded DeletedChain support; beginning PipelineReader classes 2006-04-20 04:03:16 +00:00
David Rose 6a9fdd6575 fix static init ordering problem 2006-04-19 03:14:53 +00:00
David Rose 8cff8009a9 instrument more 2006-04-13 16:36:04 +00:00
David Rose 784e24a29e flatten_strong() should combine GeomVertexDatas with different names 2006-04-11 17:48:50 +00:00
David Rose 18de188129 pre-compute GSG::_internal_transform 2006-04-10 22:14:43 +00:00
David Rose 1fabf70443 add ObjectDeletor; avoid unnecessary locks on RenderState 2006-04-10 21:19:48 +00:00
David Rose 889228f403 name mutexes for debugging; better UpdateSeq thread behavior 2006-04-09 23:23:15 +00:00
David Rose 9e986fce40 make PStats more thread-friendly 2006-04-09 20:17:26 +00:00
Josh Yelon 9bc87afb04 *** empty log message *** 2006-04-07 20:45:07 +00:00
David Rose 85ba9e05b8 occlusion test 2006-04-06 23:22:03 +00:00
David Rose 8a78fffd8f multithreading optimizations, tau profiler, related changes 2006-04-05 19:36:05 +00:00
David Rose 5173168621 more pstats options with z-buffer 2006-03-29 23:37:46 +00:00
David Rose c0844239f1 initial rough pass at hierarchical z-buffer visibility. experimental. 2006-03-29 20:28:33 +00:00
David Rose d47a1e6b40 fix assertion failure 2006-03-27 23:02:47 +00:00
David Rose 59f32111b3 improve ability of flattenStrong() to unify Geoms 2006-03-27 02:37:31 +00:00
David Rose ffb676cc9a compute _net_transform, not _modelview_transform, at each node of cull traversal 2006-03-24 23:41:09 +00:00
David Rose a31f6e7894 files moved to cull 2006-03-24 21:46:45 +00:00
David Rose 539ab8291b comment 2006-03-24 01:09:43 +00:00
David Rose 38dde80e5f isolate cull from pgraph 2006-03-24 01:01:34 +00:00
David Rose 76252c5316 fix problem with hidden PGui items still being active 2006-03-22 19:02:58 +00:00
David Rose e79df2bfcc protect debug statements 2006-03-21 01:42:53 +00:00
David Rose 725e82e6f4 show_through() 2006-03-20 20:48:26 +00:00
Roger Hughston 477fdc8775 OSX Commit 2006-03-17 22:57:38 +00:00
David Rose e6369ba5a4 compressed textures, texture objects 2006-03-15 20:05:36 +00:00
Asad M. Zaman 78f062149b portalClipper that clips with clip planes 2006-03-14 05:26:26 +00:00
David Rose efc319c451 visualize PlaneNodes 2006-03-14 01:32:58 +00:00
David Rose 71cbcb72d7 don't crash when clipping collision vizzes 2006-03-14 01:20:44 +00:00
David Rose b7fd641aa9 fixes to MultitexReducer 2006-03-08 00:24:31 +00:00
aignacio_sf ce55dd4956 Initial version of shader pool (this was ported from the font pool code). 2006-03-07 20:06:19 +00:00
David Rose a30470be19 flatten_medium() should also unify 2006-02-27 18:16:32 +00:00
David Rose 2109394560 register RescaleNormalAttrib 2006-02-24 19:54:41 +00:00
David Rose e122b6b78c fix bounds calculation agani 2006-02-15 18:14:06 +00:00
David Rose 1d2282a879 pipelining getting close; uprev bam version to 6.0 2006-02-14 19:07:47 +00:00
David Rose 863cac3baf logic error 2006-02-10 23:35:12 +00:00
aignacio_sf ffbde58774 Added get_load_error function. Needed to know if the file was properly loaded or not before using a shader. 2006-02-10 20:35:59 +00:00
Roger Hughston 8065be4f57 More Motion in osx Land 2006-02-10 20:13:14 +00:00
David Rose 1f11a05ff7 reset_prev_transform legal in sub-thread 2006-02-10 17:23:34 +00:00
David Rose 79f1462eb1 mo' better pipelining 2006-02-09 23:47:29 +00:00
David Rose c75b55eb98 better pipelining 2006-02-03 18:12:08 +00:00
David Rose 629a2f087a first pass at cheesy pipelining 2006-02-01 19:44:03 +00:00
David Rose ecf6915a02 better diagnostic 2006-01-26 14:34:12 +00:00
David Rose 5c623893be flatten_strong() should unify too 2006-01-25 22:35:47 +00:00
David Rose ef9dfea9df be explicit with vfs->open_read_file(), etc. 2006-01-25 22:18:07 +00:00
David Rose 420ab68136 implicitly decompress/compress for input/output files named .pz; also support vfs-implicit-pz. 2006-01-25 17:45:31 +00:00
David Rose 3c39318b34 add TextureStageCollection::sort() 2006-01-20 20:46:13 +00:00
David Rose 8567173ece more threading issues 2006-01-16 15:42:28 +00:00
David Rose cf01ef9cd6 add NodePath::find_material(), find_all_texcoords(), etc. Make Material be directly modifiable. 2006-01-15 06:34:33 +00:00
David Rose dced1a00cb add more loader options 2006-01-14 00:43:50 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
David Rose 42b082e5b9 incorrect assert return 2006-01-13 15:40:33 +00:00
David Rose 5ea15b9dd7 add NodePath.has_texcoord() 2006-01-13 00:58:55 +00:00
David Rose 6148912b62 read from bam properly 2005-12-07 21:42:35 +00:00
David Rose 65244d9d90 fix vp sky 2005-11-30 18:19:59 +00:00
Jason Yeung 168d499af6 prevent crash when sprite particle renderer is flattened accidentally 2005-10-25 00:01:49 +00:00
David Rose 726410e386 regularize vec3's a bit 2005-10-21 23:56:40 +00:00
Josh Yelon 28070dd33e A few fixes to support set_shader_input on attribs 2005-10-17 23:09:19 +00:00
David Rose 9601c8c2cb verbose output for CullBinManager 2005-10-14 21:39:46 +00:00
David Rose 6e8adc36ad straighten out BTM_relative 2005-10-12 16:02:41 +00:00
David Rose 243275a0ed set_scale() doesn't necessarily inflate 2d to 3d 2005-10-11 10:45:55 +00:00
David Rose 1568b255ca extend set_tex_pos() etc. for 3-d 2005-10-08 15:07:12 +00:00
David Rose 6e8a686ef9 update comments 2005-10-06 13:32:55 +00:00
David Rose ce4e89c475 LoaderOptions, supporting auto-converting animation from maya filess 2005-10-05 22:35:23 +00:00
David Rose cb2e0c46f0 fix text glyph caching problem 2005-10-02 16:56:51 +00:00
David Rose 1e87ce30c8 better output when one NodePath is empty 2005-09-30 00:30:58 +00:00
David Rose 6a788dd958 fix crash when using DrawMaskAttrib to hide an object with decals 2005-09-29 22:25:55 +00:00
David Rose 37f874c746 add DrawMaskAttrib 2005-09-29 01:27:03 +00:00
David Rose fd71491bc6 individual control of channels in ColorWriteAttrib 2005-09-28 14:09:35 +00:00
Josh Yelon 9729541f63 Added macrocomposites 2005-09-27 22:05:52 +00:00
David Rose 5465571963 SequenceNode inherits from AnimInterface 2005-09-27 17:52:39 +00:00
David Rose d9360ffc26 squelch warnings on gcc 2005-09-26 17:41:51 +00:00
David Rose deb254eba7 add missing files 2005-09-25 16:11:32 +00:00
David Rose 89ba79e0ba remove references to shaderMode.* 2005-09-25 14:42:06 +00:00
Josh Yelon 2095d8c44f New shader system 2005-09-25 04:06:31 +00:00
David Rose a7b1f14e80 integrate AviTexture better with Panda, rename to OpenCVTexture 2005-09-21 23:53:07 +00:00
David Rose a4680750b6 New state handling code 2005-09-21 18:22:46 +00:00
Josh Yelon 0bb2f00f88 New state handling code 2005-09-21 18:02:04 +00:00
Asad M. Zaman 8c5c7a6a82 revised portals to accommodate space changes 2005-09-20 01:27:38 +00:00
Josh Yelon 83b88c1ac3 Shader vertex arrays implemented 2005-09-14 03:45:32 +00:00
David Rose f5f865b1a6 more debugging help 2005-09-13 21:23:31 +00:00
David Rose 9cf428352d add TransformState::get_inverse() 2005-09-09 14:39:48 +00:00
David Rose 292b0d1d95 (void) -> () 2005-09-06 20:16:09 +00:00
David Rose a9a9f280bb dos2unix 2005-09-06 18:30:26 +00:00
Josh Yelon dcce3114c1 Shader fixes 2005-09-05 03:37:57 +00:00
Josh Yelon c9c680a50f More shader fixes 2005-09-04 22:56:04 +00:00
Josh Yelon e012688824 New shader code 2005-09-04 19:52:26 +00:00
David Rose c5557d80c2 fix core dump when rendering frustum 2005-09-02 00:01:35 +00:00
David Rose f300d5b862 fix bounding volume bug after a flatten operation 2005-08-29 22:03:03 +00:00
David Rose 1e81e656ab PGItemNotify interface, PGScrollFrame, and more general PGSliderBar 2005-08-27 00:15:54 +00:00
Josh Yelon 6b82426994 Added support for bam-relative texture paths 2005-08-11 06:12:32 +00:00
David Rose 95f9d58591 Geom now accepts a GeomVertexData in the constructor 2005-08-11 03:16:12 +00:00
David Rose 7a1ee49a1b whoops, debug checkin 2005-08-11 00:31:39 +00:00
David Rose b063656969 make non-inline, fix reference count bug 2005-08-10 23:56:38 +00:00
David Rose 47c1d1e360 Allow setAlphaScale() to override properly from below 2005-08-04 17:52:11 +00:00
David Rose 01333b339c *** empty log message *** 2005-08-04 01:01:31 +00:00
David Rose e5095d2c31 NodePath::set_normal_map() 2005-08-03 00:44:37 +00:00
David Rose 64aec0a447 bump maps should be animated with a character 2005-08-02 23:12:09 +00:00
David Rose 430abbeaa0 copy PortalNodes 2005-07-25 22:18:26 +00:00
David Rose 67e3f1daa6 expose Texture::T_depth_component, sanify a few things 2005-07-23 18:03:10 +00:00
David Rose 65458d9edd introduce 2-d TransformStates 2005-07-21 23:46:15 +00:00
David Rose af49897d5e fix dx resize crash some more; first pass at dx cube map support 2005-07-20 12:45:44 +00:00
David Rose efaa58b52f add TextureStage::CS_crossbar_stage 2005-07-12 18:14:40 +00:00
David Rose 512acd4adf add set_priority() to Light, PlaneNode 2005-07-12 01:08:02 +00:00
David Rose 4cb3cc6461 show_cpu_animation -> show_vertex_animation 2005-07-08 23:13:30 +00:00
David Rose 7a249dde55 add set_python_tag() etc. 2005-07-06 22:43:53 +00:00
Dave Schuyler 97428d8d0b more debug output 2005-07-06 02:22:27 +00:00
David Rose 0fb2f183e3 fix primitive bumpmap support 2005-07-02 13:21:46 +00:00
David Rose 166e7414a6 first pass at primitive bumpmapping support 2005-07-02 00:56:30 +00:00
David Rose bc0d509090 bam 5.0, new Geom implementation is now official 2005-06-30 17:42:21 +00:00
David Rose aa29e67c84 fix billboards, lod's, etc. 2005-05-27 22:03:23 +00:00
Roger Hughston a7333c252a *** empty log message *** 2005-05-27 01:52:22 +00:00
David Rose 7d29120cc9 add objecttype glow 2005-05-26 18:18:02 +00:00
David Rose 296721f061 simply & pandify dx8gsg some; rework gsg's external_transform and internal_transform 2005-05-26 00:09:52 +00:00
David Rose e001e35a60 support point sprites in more cases, for instance under render2d and under a scale 2005-05-25 12:27:42 +00:00
David Rose ace4407e7e regularize length of comment slashes 2005-05-19 00:22:28 +00:00
David Rose 29f35eb5bd build on gcc 4.0 2005-05-18 16:32:45 +00:00
David Rose 61c5bff601 build on gcc 3.4.3 2005-05-16 22:17:54 +00:00
David Rose 202acf938b don't crash loading old bam files 2005-05-13 20:05:47 +00:00
Asad M. Zaman 4d6434e210 added some more functionalities to the portal code 2005-05-12 23:33:03 +00:00
David Rose 0bd34f9f4b runtime improvements 2005-05-10 22:43:44 +00:00
David Rose 649dba257f build on Irix 2005-05-09 21:37:34 +00:00
David Rose dab9fd6d27 fix RenderState memory leak 2005-05-09 18:03:44 +00:00
David Rose 977f692331 NodeCachedReferenceCount 2005-05-09 13:59:15 +00:00
David Rose a2eb3859cb color-scale-via-lighting 2005-05-05 18:19:41 +00:00
David Rose 7d8cbc7a10 straighten out some confusing texture interfaces 2005-05-02 00:29:24 +00:00
David Rose 819355581e various pstats improvements; pstats use 32 bit headers; added "*" category; some minor fixes 2005-04-30 00:09:07 +00:00
David Rose 5e8855ebc8 fix calc_tight_bounds(), add NodePath::show_tight_bounds() 2005-04-29 23:06:27 +00:00
Darren Ranalli 4ef35cf5b1 drwr: fix crash on partial transform across compass 2005-04-29 21:37:13 +00:00
David Rose 4f1a424610 NodePath::get_mat(other) needs to return a concrete 2005-04-29 15:59:04 +00:00
David Rose 212fbc6c6b DO_DCAST, is_qpgeom() 2005-04-27 16:33:59 +00:00
David Rose b21d478e0b remove incorrect inline keywords 2005-04-27 15:00:52 +00:00
David Rose 10242ea013 new NodePath::set_attrib(), set_clip_plane(), etc. 2005-04-26 17:51:54 +00:00
David Rose f0e276fadd simplify pstats a bit; make qpgeom egg loader behave more like traditional 2005-04-25 22:23:18 +00:00
David Rose 9b560c9370 minor performance enhancements 2005-04-22 23:53:43 +00:00
David Rose 9c97466a56 remove empty nodes 2005-04-22 20:46:07 +00:00
David Rose f95a7c8dbe split out pgraph_composite[12].cxx into pgraph_composite[1234].cxx 2005-04-22 19:13:50 +00:00
David Rose 23e43fc04e hardware-point-sprites, GR_point_sprite_tex_matrix 2005-04-22 18:48:26 +00:00
David Rose 14a3fa8ac9 egg-flatten-radius 2005-04-22 17:53:59 +00:00
David Rose b1061ab1c3 collect_vertex_data() should preserve animation 2005-04-21 23:29:58 +00:00
David Rose a4677868e2 dx points and point sprites 2005-04-21 22:17:03 +00:00
David Rose 4eb9de4b8e unify() 2005-04-21 18:55:55 +00:00
David Rose 052e1bb02c fix probs with nonindexed qpgeoms 2005-04-20 04:35:31 +00:00
David Rose e0dca3b43b nonindexed primitives 2005-04-20 00:28:37 +00:00
David Rose 749e91d879 rename vertex -> row in GeomVertexData etc. 2005-04-15 23:48:43 +00:00
David Rose 4f47bf53e7 generalize index list 2005-04-15 14:32:31 +00:00
David Rose 2434300804 move rotate and decompose operations into cull 2005-04-15 01:41:07 +00:00
David Rose 00485bf6c8 GeomEnum unification; FrameRateMeter use UH_client 2005-04-14 17:23:36 +00:00
David Rose 500f17c091 robustify collect_vertex_data some more 2005-04-14 03:54:10 +00:00
David Rose d36604ab05 collect_vertex_data 2005-04-13 23:56:15 +00:00
David Rose f24c240d76 fix miscellaneous bugs 2005-04-13 00:33:59 +00:00
David Rose 07dabdc00e fix flash rate 2005-04-12 14:04:06 +00:00
David Rose 61dcffa70c qpgeom in bam files 2005-04-08 23:27:55 +00:00
David Rose ef53db4d3b qpgeom sprites in dx8 2005-04-08 19:53:00 +00:00
David Rose 43f4675d65 use new munger system for qpgeom sprites/points 2005-04-07 21:51:00 +00:00
David Rose 8dd9c1419c qpgeom particles 2005-04-06 04:06:28 +00:00
David Rose 20e9703887 handle use_qpgeom on more internal things 2005-04-04 22:58:35 +00:00
David Rose 2aad0846b9 use_qpgeom for TextNode, CollisionSolid 2005-04-01 01:47:36 +00:00
David Rose c6bcbe88f5 flattening qpgeom 2005-03-31 18:28:01 +00:00
David Rose 160099a0ec show-cpu-animation 2005-03-31 11:45:57 +00:00
David Rose 29d51a723b VertexRewriter; animation stats in cull 2005-03-28 16:15:26 +00:00
David Rose f8acb8d5d4 qpGeomVertexWriter 2005-03-27 16:43:46 +00:00
David Rose 3716a4b470 qpgeom animation 2005-03-25 21:59:20 +00:00
David Rose bd820acd49 beginning vertex animation in qpgeom 2005-03-24 23:48:15 +00:00
David Rose 6912d2d48c fix flatten in conjunction with billboards 2005-03-23 23:32:07 +00:00
David Rose 6512581e90 real state sorting 2005-03-22 23:28:49 +00:00
David Rose 699fe45d8b more caching/munger optimizations 2005-03-22 18:33:55 +00:00
David Rose ea51a7a6f7 ColorMunger 2005-03-21 17:52:15 +00:00
David Rose 92a93e8af0 clean up caching a bit, multitex in gl 2005-03-21 01:39:24 +00:00
David Rose d72e2da5c5 support flat-shading properly in new geom 2005-03-17 01:16:28 +00:00
David Rose 8b2854f82a better treatment of colors, etc in new geom loader 2005-03-15 14:42:40 +00:00
David Rose d4401c9c43 more new geom work 2005-03-15 00:22:22 +00:00
David Rose e20f73799c preliminary egg support for new geoms 2005-03-13 20:02:45 +00:00
David Rose 219f16c5de cache new geom munging 2005-03-12 01:17:56 +00:00
David Rose 5856cda6de better support for render-to-texture: keep buffers around until texture is gone too 2005-03-11 19:33:53 +00:00
David Rose c975b7cd49 initial checkin of experimental Geom rewrite--preliminary 2005-03-11 02:28:51 +00:00
David Rose f678c0c932 whoops, broke billboards 2005-03-09 18:40:30 +00:00
David Rose d46a88a76e CompassEffects and node-relative BillboardEffects now work on cameras 2005-03-05 14:28:58 +00:00
David Rose b90d220d87 prevent compiler warnings about unused ihasher and phasher 2005-03-05 00:00:14 +00:00
David Rose c045c5894d support real-time rendered cube maps 2005-03-04 22:28:19 +00:00
David Rose 001abb0edd unify Texture, ImageBuffer, and PixelBuffer; add 3-d and cube map textures 2005-03-03 20:12:09 +00:00
David Rose 4a5e1e825e is_ancestor_of(), get_common_ancestor() 2005-02-26 00:44:53 +00:00
David Rose ffdbf61985 TextureStage::M_blend_color_scale, TextureStage::rgb_scale, ColorBlendAttrib::O_color_scale, better handling of state changes in GL 2005-02-25 18:25:00 +00:00
Josh Yelon f15dce600b Fixes for gcc 3.4 2005-02-23 20:50:34 +00:00
David Rose 2a39759b85 fix PandaSystem.hasSystem() etc. 2005-02-19 00:00:47 +00:00
David Rose c71fd12dc7 assert not nan 2005-02-07 04:09:44 +00:00
David Rose 185fbf613e better antialias handling 2005-01-28 20:46:22 +00:00
David Rose d9d30855d0 fix line_width and RenderModeAttrib 2005-01-27 05:21:34 +00:00
David Rose f939c61b1a api-level antialias control 2005-01-27 02:38:11 +00:00
David Rose e91e72e6c5 fix memory leak in state cache 2005-01-26 01:06:39 +00:00
David Rose 9a71b58947 remove test_pgraph.cxx 2005-01-20 03:12:54 +00:00
David Rose 3a00e5c17e add set_pos_quat() and set_quat_scale() 2005-01-17 06:03:58 +00:00
David Rose 7e526eae81 use implicit scene in camera 2005-01-13 14:24:02 +00:00
David Rose 8446af5e3e refine comments 2005-01-09 02:42:35 +00:00
David Rose 2d3f3a6519 remove unused parameter 2005-01-06 15:56:42 +00:00
Dave Schuyler 64055186bb formatting 2005-01-06 06:24:35 +00:00
Dave Schuyler d973f8a2ac debug output 2005-01-06 06:23:24 +00:00
David Rose f8ddceb035 add RescaleNormalAttrib 2004-12-30 21:06:42 +00:00
David Rose a9f7756ba6 migrate more code to prc interface 2004-12-28 18:49:53 +00:00
David Rose 7d5ae1e3f6 move more config variables to new interface 2004-12-23 05:42:42 +00:00
David Rose 6aa586e0f0 fix inline keyword 2004-12-21 20:43:57 +00:00
David Rose c23be69d2b better GeomTransformer, flatten operations 2004-12-21 00:12:09 +00:00
David Rose ea4c5d4414 fix keystone correction logic 2004-12-15 23:41:10 +00:00
David Rose b1375f32a4 initial experiments with keystone correction, revisit M_multisample transparency, robustify MultitexReducer 2004-12-15 05:53:23 +00:00
David Rose 1a6e7ff58b refinements to multitexReducer 2004-12-10 22:38:21 +00:00
David Rose 48e09cda31 support GraphicsOutput::set_inverted() 2004-12-07 04:25:38 +00:00
David Rose 5761ae9d2c first pass at MultitexReducer 2004-12-03 00:01:02 +00:00
David Rose a25c6928d0 extend ColorBlendAttrib 2004-11-30 08:36:19 +00:00
David Rose 3e548e3663 new interrogate, minor config changes 2004-10-28 18:33:45 +00:00
David Rose ad1f64ba56 oops, false -> NULL 2004-10-25 17:23:28 +00:00
David Rose d2d927e4bc unused fhasher 2004-10-22 23:27:58 +00:00
David Rose 9f7b53723d no longer need to fmod getHpr; this is done in the dc syntax now 2004-10-14 22:25:58 +00:00
David Rose 13be5ce398 output draw_order too 2004-10-14 18:22:57 +00:00
David Rose dbb24d9cc9 phash_map, etc. 2004-10-02 05:07:16 +00:00
David Rose 557060cb1d weak pointers, and FadeLODNode fixes for instances/multiple cameras 2004-09-30 21:29:25 +00:00
David Rose 4679b6c98e omitted file 2004-09-28 00:49:22 +00:00
David Rose d31b91e758 prepare to implement AuxSceneData 2004-09-27 23:58:27 +00:00
David Rose e2118e70a0 use abs to compute lod distance 2004-09-27 22:58:28 +00:00
David Rose 4ebc6b2750 whoops, incorrect inheritance for FadeLODNode registry 2004-09-27 22:17:50 +00:00
David Rose d850afd71a Support collision solids under LOD nodes 2004-09-27 20:29:41 +00:00
Darren Ranalli 9a9719507c (drose) fixed fluid-ness of relative set_fluid_pos 2004-09-25 01:20:47 +00:00
David Rose 895b553cdb better NodePath interfaces for set_collide_mask() 2004-09-23 20:57:34 +00:00
David Rose 0369f07074 all nodes now have a CollideMask 2004-09-23 19:51:54 +00:00
David Rose 1704f805ba don't flatten GeomNodes within a Character 2004-09-22 20:45:14 +00:00
David Rose aa80a45ed2 fix gcc compiler warning 2004-09-22 20:44:55 +00:00
David Rose c3fd483b19 support egg2bam -combine-geoms 2004-09-21 22:21:53 +00:00
Asad M. Zaman b18ddfb9c5 implemented fire pit illumination where camera's position relative to the light and avatar is considered to apply illumination 2004-09-21 00:45:54 +00:00
Asad M. Zaman bc8f23db4b added pstats for polylight 2004-09-20 23:16:07 +00:00
Asad M. Zaman c6ab058556 moved some print statements 2004-09-16 01:31:33 +00:00
Asad M. Zaman 4cad0620c5 instead of parent light_color get the root node's color for scene_color. It is more reliable 2004-09-16 01:13:34 +00:00
Asad M. Zaman 34f16c04b0 has a new quadratic formula for attenuation and better weighing for multiple lights 2004-09-15 22:19:57 +00:00
David Rose 63a777ed78 fix list_cycles() 2004-09-13 17:26:16 +00:00
David Rose cf44a95d84 fix leak due to cyclic RenderState reference counts 2004-09-13 16:29:57 +00:00
Asad M. Zaman 10cc2dd9a9 added some debug variable and print statements to investigate polylight behavior 2004-09-11 00:25:28 +00:00
Asad M. Zaman 00dbb1617b added make_copy on polylightnode, more cleanup coming up 2004-09-09 23:50:15 +00:00
Asad M. Zaman c7793581fd oops, didn't want to check in the debug statements 2004-09-09 19:28:00 +00:00
Asad M. Zaman 459cd34f31 fixed the flicker bug where colors would snap suddenly 2004-09-09 19:26:55 +00:00
Asad M. Zaman 7ff0b84f6a cleaned up Shalin's polylight code. Still need to work on the flicker code, will do it tomorrow 2004-09-09 03:44:59 +00:00
Asad M. Zaman 7a0762a8c7 fixed egg2bam problem for PolylightNode 2004-09-03 01:27:46 +00:00
Greg Wiatroski 179d0c7e0c added comment 2004-08-28 20:55:04 +00:00
Greg Wiatroski 579febfb12 mod'd hpr's returned from nodePath get hpr to prevent overflow errors now that we are bounds checking on sendUpdates 2004-08-19 04:09:16 +00:00
Dave Schuyler 0550b1ec52 included searched paths in debug output 2004-08-07 01:20:23 +00:00
David Rose 1074bb00cc unavailable textures referenced by a bam file should not cause a crash 2004-08-04 23:35:51 +00:00
David Rose c23792f1dc add polylight support to NodePath; prevent compiler warnings; minor style changes to polylightEffect to be consistent with panda conventions 2004-08-04 22:41:10 +00:00
David Rose 29333d2966 reorder initializers to prevent gcc compiler warning 2004-08-04 20:58:32 +00:00
David Rose 597d379038 add NodePath::set_color_scale_off() and Camera::set_initial_state() and related methods 2004-08-03 19:59:21 +00:00
Shalin Shodhan ca14219654 Polylight copy constructor 2004-08-03 17:12:41 +00:00
David Rose f51f95b9bd prevent compiler warning 2004-08-02 23:09:29 +00:00
David Rose 31c4c28637 workaround compile bug in VC++ 2004-08-02 22:30:42 +00:00
David Rose 64aece121a robustify light interface further 2004-08-02 21:34:46 +00:00
David Rose 1707b5a38d fix pupils 2004-08-02 21:34:35 +00:00
David Rose bccfb40463 clean up texture, projector more 2004-07-31 15:49:22 +00:00
Shalin Shodhan 2ca64d594d Polylight Changes... return a new effect on all modifiers 2004-07-30 21:04:11 +00:00
David Rose 8b5014d01e clarify NodePath light interfaces 2004-07-30 18:59:42 +00:00
David Rose 249673d083 whoops, broke old LightAttrib interface 2004-07-30 17:33:18 +00:00
David Rose c7c639797e merge multitexture support in from branch 2004-07-30 00:38:35 +00:00
David Rose a60eb87e19 add NodePath::set_light() interfaces 2004-07-29 23:35:06 +00:00
Shalin Shodhan 2a6d6944b6 Polylight Color storage corrected and SeaPatch removed 2004-07-27 17:42:24 +00:00
Asad M. Zaman 6a635d6a31 one function needs to be a const 2004-07-20 22:34:52 +00:00
David Rose 4cbaf55032 add RenderAttrib::always_reissue() 2004-07-20 01:03:48 +00:00
David Rose ef7f69b7b0 dos2unix 2004-07-12 22:31:45 +00:00
Shalin Shodhan 0985080cf9 SeaPatchNode initial version based on DQ Pirates SeaPatchNode 2004-07-07 22:04:33 +00:00
Dave Schuyler 4c3ec477e3 fixed transposed chars in comment 2004-07-07 03:59:20 +00:00
Shalin Shodhan 53e73a5014 Pgraph: Sources.pp config_pgraph and pgraph_composite2 corrected 2004-07-02 17:07:37 +00:00
Shalin Shodhan 28473b21fe Pgraph: Sources.pp config_pgraph and pgraph_composite2 corrected 2004-07-02 17:05:56 +00:00
Shalin Shodhan e0245577d8 texGenAttrib.cxx hardcoded texture corrected 2004-07-02 17:02:27 +00:00
Asad M. Zaman b05e24e913 added a texgenattrib for spheremap 2004-07-02 00:12:40 +00:00
David Rose 0fe1abded6 relative set_fluid_pos 2004-06-24 23:11:22 +00:00
David Rose fa52cb7b11 fix missing return value 2004-06-20 19:54:38 +00:00
David Rose 672f62cb87 add options for individual compile 2004-06-18 23:10:39 +00:00
Shalin Shodhan 4a938d6085 FadeLOD and Polylight improved 2004-06-18 21:31:30 +00:00
Asad M. Zaman 9b3a2b9f98 took care of the dos file format on polylight* files and untabified 2004-06-18 19:10:39 +00:00
Shalin Shodhan 81e752915a Polylight API changes based on DRose's suggestions 2004-06-15 17:16:09 +00:00
David Rose 1cb510e7c1 untabify 2004-06-14 21:40:51 +00:00
David Rose 81cfa46069 compiler objections 2004-06-14 19:32:22 +00:00
David Rose 99d24b226b dos2unix 2004-06-14 19:22:15 +00:00
David Rose 90bf34ddcf Further NodePath::find() optimizations 2004-06-14 19:02:29 +00:00
David Rose 1898df8d54 dos2unix 2004-06-14 19:01:19 +00:00
Shalin Shodhan 88b9702137 Polylight API 2004-06-14 18:48:27 +00:00
Shalin Shodhan 3887f5681a Polylight API 2004-06-14 18:43:05 +00:00
Joe Shochet 15db33d2ff toon optimizations 2004-06-14 18:08:17 +00:00
David Rose ccc5dc547c fix bug causing runaway recursion 2004-06-12 03:17:19 +00:00
David Rose 9ca7c24919 _thick is unintialized here; don't try to use it 2004-06-11 15:40:06 +00:00
Asad M. Zaman 5a19e97534 fixed a bug with multiple sibling portals in view at the same time 2004-06-09 00:48:05 +00:00
Asad M. Zaman b9257df888 final test version of portal clipper. We should test this version well. 2004-06-08 03:03:42 +00:00
Asad M. Zaman bd2a0ea086 Recursive portal culling is implemented. This is the 3rd phase. There is one bug where portals are behaving weird when camera is right on the portal plane 2004-06-07 23:40:20 +00:00
Asad M. Zaman 01171fd7d2 portals are now clipped against view frustum to generate reduced frustums. There is a bug, which I will work on Monday 2004-06-05 01:56:33 +00:00
David Rose 1e10f59943 tweak comments 2004-06-04 16:52:46 +00:00
Asad M. Zaman d3d36911de 2nd pass portal clipping. This is integrated into scenegraph 2004-06-04 01:34:14 +00:00
David Rose ff8ac9f0a4 const 2004-06-02 21:15:20 +00:00
Asad M. Zaman c3b2cefc72 save as of june 1st 2004-06-02 17:04:38 +00:00
Asad M. Zaman 78c82c3747 interim save 2004-05-27 22:47:39 +00:00
Asad M. Zaman be718ced33 some fixes to make the portal node loaded as portal nodes 2004-05-25 00:26:46 +00:00
David Rose 9c8037ad62 parse portal syntax in egg files 2004-05-20 19:43:33 +00:00
Dave Schuyler c6e0a88590 formatting 2004-05-19 04:19:59 +00:00
Dave Schuyler e881c28f75 Asad's suggested changes to avoid white
line in upper and left edges of each DisplayRegion
2004-05-19 04:19:28 +00:00
Asad M. Zaman aceb35c234 adding portal node, code in progress 2004-05-18 00:51:34 +00:00
Asad M. Zaman 4a24b121b0 python toggle switch allows the portal culling to be on/off 2004-05-18 00:50:43 +00:00
Asad M. Zaman f1de5451a3 first pass prototype of portal culling system 2004-05-13 22:12:57 +00:00
David Rose 4df761d285 add NodePath::get_top() 2004-03-31 23:32:57 +00:00
David Rose 232f9395bf split out PreparedGraphicsObjects from GraphicsStateGuardians 2004-02-25 19:34:30 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
David Rose 8fd4a2fac2 turn off depth write for transparent parts of M_dual 2004-02-13 02:49:26 +00:00
David Rose 889be29b47 add session recording and playback 2004-01-30 18:20:47 +00:00
David Rose 694867abce remove compiler warning 2004-01-15 02:19:51 +00:00
David Rose b33978174f add new pstats collectors 2004-01-14 21:19:10 +00:00
David Rose 4493177036 remove incorrect comment 2004-01-08 00:26:39 +00:00
David Rose f734040caf remove bogus assert 2004-01-07 22:54:53 +00:00
David Rose d7d74c0d22 fix tags not being copied 2003-12-11 22:11:14 +00:00
David Rose 875d17c52a remove bogus asserts 2003-12-09 04:05:43 +00:00
David Rose cfad1d8c3e work on pstats reporting 2003-12-04 18:13:50 +00:00
David Rose d2dccc99d3 fix ghost collision solids when loading bam files 2003-12-04 18:12:53 +00:00
David Rose 211cf35eb5 add more asserts 2003-11-21 07:05:00 +00:00
David Rose 28aba7f1a6 add clear_transform 2003-11-06 04:51:08 +00:00
David Rose e534118821 fix loader output 2003-11-04 20:20:47 +00:00
David Rose 47e4a10fc8 add relative uniform set_scale 2003-11-04 05:13:40 +00:00
David Rose 3112850acc define allow-unrelated-wrt 2003-10-28 23:45:42 +00:00
Dave Schuyler 2c76c19910 comment 2003-10-28 01:22:35 +00:00