Commit Graph

1050 Commits

Author SHA1 Message Date
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
Josh Yelon 21436b4f4d Added 'auto' flag to ShaderAttrib 2007-12-15 07:05:20 +00:00
David Rose 4a2a85bedc compiler warning 2007-12-14 18:57:41 +00:00
David Rose 1b8d8e182d shader changes for ppremake 2007-12-14 18:46:28 +00:00
Josh Yelon d8e6dc13a3 Modifications to eliminate class ShaderExpansion 2007-12-13 20:56:29 +00:00
David Rose 7cd589972f bugfix from Erik on forums 2007-12-13 18:03:15 +00:00
David Rose f56e10210d add NodePathCollection::set_texture() 2007-11-30 19:32:48 +00:00
David Rose e11487f81f add preserve-geom-nodes, flatten-geoms 2007-11-30 03:16:06 +00:00
David Rose 4c2659988f minor threading fixes 2007-11-27 01:18:35 +00:00
David Rose 701baa9f31 compiler warning 2007-11-27 01:06:34 +00:00
Josh Yelon 91f0ffed00 New error checking for missing ShaderInput 2007-11-12 06:26:25 +00:00
David Rose 32bcebc766 fix collide mask on flatten 2007-11-05 17:38:00 +00:00
David Rose d86c60305c copy_all_properties() should copy into_colilde_mask too 2007-10-26 22:11:11 +00:00
David Rose b706a17f25 early-out on empty Geoms 2007-10-25 21:19:22 +00:00
David Rose 707ff8f504 UH_client -> UH_stream 2007-10-19 15:36:41 +00:00
Josh Wilson 998c7017a2 adding _transform_limit to modelNodes as well 2007-10-12 19:26:21 +00:00
David Rose 8ba64510a3 flush _sort_seq more aggressively now 2007-10-11 17:51:20 +00:00
Josh Yelon 6f81e4850c Added support for shader-related TextureStage::Mode values 2007-10-09 19:25:08 +00:00
David Rose 7c9997118c support common transforming of shared PartBundles 2007-10-03 21:14:33 +00:00
David Rose 48469532e2 more cache debugging methods 2007-09-20 18:19:38 +00:00
David Rose 420a7931a2 add set_unexpected_change 2007-09-20 18:18:26 +00:00
David Rose d4bddb4f14 fix flashing modes 2007-09-20 18:17:52 +00:00
David Rose df9506642a getDepthTest() should return 1 if there is no depth test attrib 2007-08-28 19:31:03 +00:00
David Rose 2c4f49004f fix clip plane to set_final() node 2007-08-23 18:24:45 +00:00
David Rose dce32e24e6 revert accidental checkin 2007-08-23 16:25:30 +00:00
David Rose fb973c9cfd Add LMatrix*::xform_vec_general(), fix clip plane issues 2007-08-23 16:24:49 +00:00
David Rose 94bf0be822 workaround for lame gcc bug 2007-07-26 17:49:32 +00:00
David Rose 1287bcf8fa better performance analysis 2007-07-24 19:04:33 +00:00
David Rose accd7c847b remove trifans 2007-07-23 22:08:58 +00:00
David Rose f411404617 report redundant dups in analyze() 2007-07-23 22:02:42 +00:00
David Rose 9ffb5b84ae reorder static init timing 2007-07-23 17:36:38 +00:00
David Rose 15a52aa29f SimpleHashMap 2007-07-21 00:02:14 +00:00
Zachary Pavlov 220d33e006 okay, this is going to be a big commit. The basic idea here is to add transparent defines to allow for directory based dlls later. This will let us build tau again. ugggg 2007-07-20 23:02:51 +00:00
David Rose 93f85f9ef9 simpler do_issue_clip_plane() and do_issue_light(); more pstats calipers 2007-07-19 16:16:41 +00:00
David Rose 3b985045cb fix gcc set corruption 2007-07-19 00:16:27 +00:00
David Rose 62a072273b fix a few crashes and deadlocks 2007-07-18 06:51:20 +00:00
David Rose ed91ab6162 fix LightAttrib crash 2007-07-17 17:20:40 +00:00
David Rose 7b0bb21bbe fix RenderEffects cache problem 2007-07-16 18:02:28 +00:00
David Rose 68cd3322a9 better thread protection in reference counts, esp. TransformState etc. 2007-07-14 21:32:48 +00:00
David Rose 847774efb2 very minor bounds optimizations 2007-07-13 20:38:26 +00:00
David Rose 1be362d56c minor update_bounds() optimizations 2007-07-12 23:47:25 +00:00
David Rose e588a9a3ba pstats track update_bounds 2007-07-12 22:21:52 +00:00
David Rose 45c383771a second addNode() replaces first 2007-07-09 19:15:18 +00:00
David Rose c60379d898 AttribNodeRegistry, ordering in BamReader::complete_pointers() 2007-07-07 20:34:16 +00:00
David Rose 1abe868c95 preserve geometry order when flattening 2007-07-06 18:19:00 +00:00
David Rose a99dcb1547 StringStream 2007-07-06 00:19:56 +00:00
David Rose b764c3aa2e fix flatten TT_cull_face 2007-07-02 17:39:43 +00:00
David Rose d52eb37b14 move some low-level mem tracking into MemoryHook, more mem tracking fixes 2007-06-29 01:39:09 +00:00
David Rose fe97acf7cb integrate thread_yield in appropriate places 2007-06-26 13:01:16 +00:00
David Rose d7bdfe5d04 register FadeLODNode 2007-06-25 19:07:32 +00:00
David Rose 746dde6b94 unneeded undef 2007-06-22 22:37:39 +00:00
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