Commit Graph

268 Commits

Author SHA1 Message Date
Greg Wiatroski 531a22f22b ZAC: replaced faulty cleanup code with removeChildren call. Should be cleaner 2007-02-20 22:08:03 +00:00
Asad M. Zaman feabf7e8ee tutorial chapter 1 with shipwreck and doggerel dan and nell 2007-02-18 06:34:47 +00:00
David Rose d39566836d fix bug with models that contain animations 2007-02-16 21:43:24 +00:00
David Rose e4c789b01d add default parameter 2007-01-23 17:47:48 +00:00
Zachary Pavlov 6f36914330 actor now has a nicer function than flush for clearing combined actors 2007-01-22 22:28:42 +00:00
David Rose bffc110045 use copyBundle() 2007-01-17 18:06:22 +00:00
Zachary Pavlov 977a2acf00 actor fix 2007-01-17 04:45:52 +00:00
Zachary Pavlov 2f648c1e56 control joints now go on the part bundles 2007-01-16 19:27:42 +00:00
David Rose 668610700d fix update() some more 2007-01-12 18:22:00 +00:00
David Rose 6a319cc778 better multipart interfaces 2007-01-05 18:44:26 +00:00
Zachary Pavlov 5fafdbb8e7 flush now properly clears non-lod geometry 2006-12-14 23:03:06 +00:00
Jason Yeung a8836281a4 - Fix for the ships 2006-12-14 02:28:26 +00:00
Joe Shochet 4acdfddc44 fixed circular ref with setGeomNode, added warning for removeNode being called before cleanup 2006-11-21 21:38:45 +00:00
Zachary Pavlov 42139d449e fix for actor cleanup 2006-11-18 03:20:28 +00:00
David Rose ccec9eb3df allow Actor flattening 2006-11-16 22:39:31 +00:00
David Rose 2194792fae fix getPartNames() when no parts are available 2006-11-01 00:07:38 +00:00
David Rose 3d24d4d003 minor fix to listJoints() 2006-10-30 19:26:09 +00:00
David Rose 8768f41974 whoops, forgot to save animModel 2006-10-25 17:53:52 +00:00
Joe Shochet bc8b0a87fb fixed a little partBundleDict bug in getActorInfo 2006-10-25 05:25:07 +00:00
David Rose b07734d1d4 more fixes to the fixes 2006-10-24 21:03:35 +00:00
David Rose c1754bf76d whoops, fix getPart() again 2006-10-24 20:53:28 +00:00
David Rose a8b6320080 fix getPart() 2006-10-24 19:22:30 +00:00
Zachary Pavlov 538e31b081 fixed 'if part:' typo, and I added a small hack to make SubpartDef work with a [0] reference (ugg) 2006-10-24 18:59:50 +00:00
David Rose 1373705582 reorganize Actor dictionaries a bit; keep around ModelRoot node for proper ModelPool reference counting 2006-10-24 17:11:22 +00:00
David Rose 731ab7b576 enable intra-frame animation interpolation 2006-10-14 23:58:48 +00:00
Asad M. Zaman 16814f4709 little fix for copy actor 2006-10-12 17:48:59 +00:00
David Rose 5d9ded7299 allow passing in an LODNode to the constructor 2006-10-12 14:20:51 +00:00
David Rose fa760d2285 fix copyActor when subparts are in use 2006-10-12 00:49:20 +00:00
David Rose d6049a6276 fix copyActor when subparts are in use 2006-10-12 00:49:16 +00:00
David Rose 96571d412f fix fixBounds() 2006-10-07 16:27:50 +00:00
Asad M. Zaman 074afb48f5 fixes a crash on the actor subpart 2006-10-06 02:07:40 +00:00
David Rose b4238d94b7 add setSubpartsComplete() 2006-10-05 18:10:43 +00:00
Asad M. Zaman 8833f3ea92 fixed a list to string bug 2006-10-05 17:03:55 +00:00
Josh Wilson 63da71ff99 typo 2006-09-21 20:54:08 +00:00
Josh Wilson 021df54242 allowing ability to specify partnames when using getFrameTime 2006-09-21 20:44:05 +00:00
Jason Yeung d265137603 - Added a new interface to setCenter 2006-09-15 23:48:35 +00:00
Joe Shochet 26a50769af moved a print into a debug statement, asserts on the notify statements as optimization for clients running python -OO 2006-09-14 04:26:45 +00:00
David Rose 390f5cbada add center parameter 2006-09-14 00:45:35 +00:00
Asad M. Zaman b74d5dab19 new female face and removed headactor 2006-09-01 04:44:12 +00:00
Asad M. Zaman e4dd8745bf use lod and reset lod made simpler 2006-08-18 02:14:37 +00:00
Josh Yelon 0c888dcaad Added __all__ declarations to actor, task, fsm 2006-08-08 19:15:16 +00:00
Asad M. Zaman e399531009 biped violated overwrite default functions, this is the price 2006-08-08 01:47:34 +00:00
Darren Ranalli 7ec9afa83d added faceAwayFromViewer and faceTowardsViewer 2006-07-14 21:21:24 +00:00
Asad M. Zaman 3f619486e9 new avatar system 2006-06-29 18:49:01 +00:00
Josh Wilson f27cf426e1 fixed bug where not all animControls were returnd when a list was passed to getAnimControls 2006-06-21 22:13:47 +00:00
Asad M. Zaman e45a6a875a update for e3: single textured hair, female lods are missing it, so copied high lod on them; 6 spanish buildings and their textures 2006-04-26 06:29:57 +00:00
Jason Yeung 7b22b83733 - Fixed to allow 4 LODS for actors 2006-04-11 20:36:04 +00:00
Dave Schuyler 5f270517e4 changed comment 2006-03-18 01:05:19 +00:00
Dave Schuyler 26ea29157c formatting 2006-03-17 21:41:36 +00:00
Asad M. Zaman f1b66dabf3 fixed the nametag not showing up in lower lods 2006-03-09 20:45:46 +00:00
Asad M. Zaman d38b81dc8d optimized avatar nodepath counts 2006-03-08 18:37:46 +00:00
Greg Wiatroski ab65fe0cfe fix from asad for the no-lod copy constructor 2006-02-21 22:25:30 +00:00
Asad M. Zaman 326cdd21e5 added a few more functions in actor 2006-02-18 01:21:44 +00:00
Dave Schuyler 9e51cf2f8a changed import of panda modules 2006-02-14 22:20:44 +00:00
Dave Schuyler 71243aa874 formatting 2006-01-27 02:54:41 +00:00
Dave Schuyler ea53570eef formatting 2006-01-27 01:00:28 +00:00
David Rose 9fcf83a773 typo 2006-01-24 21:29:04 +00:00
David Rose e0bfb4c3ef fix subpart stuff 2006-01-21 01:31:46 +00:00
David Rose 4b35c0715d half-body animations 2006-01-20 02:54:27 +00:00
Justin Butler 2fae638f62 Fixed typo. 2006-01-18 20:34:05 +00:00
David Rose 28321721ac expose loaderOptions, implicitly request anims and skeletons from Actor interface when copy = 0 2006-01-14 00:44:57 +00:00
Asad M. Zaman 74d6a7265a fixed an actor bug on cleanup 2006-01-11 00:34:52 +00:00
Dave Schuyler dbf7ac0bd8 formatting 2006-01-07 04:19:58 +00:00
Dave Schuyler c76f0eea10 PandaObject to DirectObject 2005-12-20 04:26:50 +00:00
Josh Wilson 1c3250e7b9 Added ability to use 'high', 'med', 'low' as lodNames 2005-12-08 23:42:19 +00:00
Josh Wilson b76a4acac3 revert 2005-12-08 23:34:52 +00:00
Josh Wilson 9699ba9508 Added ability to use 'high', 'med', 'low' as lodNames 2005-12-08 23:28:25 +00:00
Joe Shochet a3f57b8d2f optimization for getLODNames 2005-12-01 17:09:13 +00:00
Dave Schuyler 5f4d36e968 formatting 2005-10-01 02:11:54 +00:00
Joe Shochet 570a6faf71 clear control effects on anim controls before deleting 2005-08-03 21:41:59 +00:00
David Rose 4c4862a78e typo 2005-07-06 21:38:21 +00:00
Dave Schuyler 231d582a86 formatting 2005-07-01 01:29:36 +00:00
Samir Naik 40b95dfb56 added getFrameTime 2005-06-21 21:50:06 +00:00
Dave Schuyler bf54580d8e changed notify level to reduce log output 2005-06-21 00:58:33 +00:00
David Rose ae031f102a integrate genPyCodeNative with genPyCode 2005-05-27 16:47:12 +00:00
Roger Hughston e7cd96bf9d *** empty log message *** 2005-05-23 22:12:38 +00:00
Darren Ranalli 0988a2c484 save processing time if osd is not enabled 2005-04-22 01:49:46 +00:00
Josh Yelon 1f81458370 Added code to initialize the controlJoint's valueNode 2005-04-12 23:23:26 +00:00
Samir Naik 55a9716356 use self.air instead of simbase.air and uniquify task names to eliminate cross-talk between shards 2005-03-30 22:14:08 +00:00
Darren Ranalli 73a247c3ee added anim-blend debug funcs 2005-03-04 23:44:53 +00:00
David Rose 40df81eb9e add exposeJoint(localTransform) 2005-01-31 19:21:39 +00:00
David Rose ee66668ab1 integrate latest changes from CMU 2005-01-19 23:27:15 +00:00
David Rose 86f270b5ec make pingpong() more like loop() 2005-01-18 01:07:25 +00:00
Dave Schuyler 6fe83b0c15 formatting 2005-01-14 06:21:59 +00:00
Samir Naik b1ae01f7db fixed bug with toFrame on looped animations 2004-12-29 03:22:23 +00:00
David Rose b71fb44de0 Actor should support model and animations in the same file 2004-10-14 18:24:17 +00:00
Greg Wiatroski 17ed6fc29a Fixed logic error in drawInFront 2004-07-14 21:51:17 +00:00
Samir Naik 7b7230f2ad fixed bug in controlJoint 2004-06-22 22:00:41 +00:00
Joe Shochet 15db33d2ff toon optimizations 2004-06-14 18:08:17 +00:00
David Rose b1db93fb87 explicit import paths 2004-06-01 19:31:48 +00:00
David Rose eceddf13ee improve cleanup 2003-12-15 18:38:59 +00:00
David Rose e8c4d87386 generalize partName interface 2003-12-11 08:08:09 +00:00
David Rose 481f53093f allow play(anim, fromFrame=x) 2003-11-11 18:34:23 +00:00
Dave Schuyler 2292497923 *** empty log message *** 2003-10-28 06:23:53 +00:00
David Rose 372c6bb69b implicit node for exposeJoint 2003-10-21 18:57:52 +00:00
David Rose 77c2bf57e5 add Actor.controlJoint 2003-10-21 05:13:10 +00:00
Dave Schuyler 3573ccb9aa changed comments. 2003-10-02 04:23:18 +00:00
Dave Schuyler 72a9a6a007 moved jump landing force. 2003-09-26 03:38:54 +00:00
Dave Schuyler 078f4c50c5 small changes and added add_x() to vectors 2003-09-05 04:31:19 +00:00
Joe Shochet 914189b38c actors can be non-chars now 2003-08-18 17:00:45 +00:00
David Rose 7fc1d5112d don't need priority on setDepthTest and setDepthWrite 2003-06-18 22:43:04 +00:00
David Rose 6a35ec3075 setPlayRate requires 2 params 2002-09-04 03:25:29 +00:00
David Rose e229adcd80 generalize enableBlend() 2002-08-26 22:36:45 +00:00
David Rose 94c019d62c remove support for old panda 2002-08-22 16:01:58 +00:00
David Rose daa73b4c9c support creating actors with node paths 2002-08-10 00:22:02 +00:00
David Rose d8c2a306cd oops, paste buffer corruption 2002-07-31 18:29:53 +00:00
David Rose de3df71909 protect actors from flattening 2002-07-31 16:33:21 +00:00
David Rose e0291f7303 make ActorInterval more efficient 2002-07-30 17:48:35 +00:00
Joe Shochet 2dcdc21a01 prepareBundle 2002-07-25 19:36:45 +00:00
Joe Shochet 0469272b39 phase 3.5 2002-07-25 02:36:44 +00:00
David Rose 808d469b01 looping between frames 2002-07-02 18:03:16 +00:00
David Rose 013c3cbc96 support blending animations 2002-07-02 04:48:51 +00:00
cxgeorge f3ecd1b3be fix lod watersquirt bug 2002-06-07 22:12:26 +00:00
David Rose 8738c24a1c rename out qp's 2002-04-10 18:24:38 +00:00
David Rose 9c355f52b6 more pgraph refinements 2002-03-20 01:36:03 +00:00
Mark Mine 65d0c69b14 *** empty log message *** 2002-02-09 02:26:33 +00:00
Joe Shochet 54e0304bd3 *** empty log message *** 2002-02-09 00:58:34 +00:00
Joe Shochet de41ee6447 *** empty log message *** 2002-02-08 01:16:45 +00:00
Joe Shochet a7cd155bb1 *** empty log message *** 2002-02-07 09:15:48 +00:00
Joe Shochet ccec42740b *** empty log message *** 2002-01-18 07:47:51 +00:00
gregw 3dc1786fda *** empty log message *** 2001-12-14 17:15:42 +00:00
David Rose def401c39f allow unloading of Actor that has never been loaded 2001-11-17 15:59:27 +00:00
David Rose 04f34561c1 special objects should not inherit NodePath's compareTo() 2001-11-16 15:28:46 +00:00
David Rose a1b9c34397 name actor nodes somewhat more meaningfully 2001-10-12 00:14:38 +00:00
David Rose 43a83a5e96 tabs to spaces 2001-08-21 03:45:07 +00:00
David Rose 84807f30d1 fix eyes for mouse 2001-08-01 21:37:30 +00:00
David Rose 134399a4ff add forGui support for ToonHead 2001-07-19 19:53:12 +00:00
Darren Ranalli fe93ca8394 added getCurrentFrame() 2001-07-19 01:32:10 +00:00
gregw 993e2ca87b *** empty log message *** 2001-07-10 02:50:40 +00:00
Mike Goslin 8bf309e898 *** empty log message *** 2001-06-28 02:07:50 +00:00
Mike Goslin 2c275a92fa *** empty log message *** 2001-06-27 00:41:50 +00:00
gregw 980dde51de *** empty log message *** 2001-06-22 20:18:24 +00:00
David Rose ff97614e76 workaround for culling bugs 2001-06-15 20:29:18 +00:00
David Rose 16d0953cd3 rename showBounds 2001-06-15 17:27:41 +00:00
David Rose 6cd564a95c cleanup actors better 2001-06-07 21:09:30 +00:00
Mike Goslin 63b1dc4970 *** empty log message *** 2001-06-06 21:52:01 +00:00
Joe Shochet 355b730108 *** empty log message *** 2001-06-03 22:17:30 +00:00
Mark Mine 2bd032230e *** empty log message *** 2001-05-30 23:03:50 +00:00
Mark Mine 041881345b *** empty log message *** 2001-05-30 04:42:37 +00:00
gregw 3230b9283f *** empty log message *** 2001-05-04 20:09:25 +00:00
gregw b02e0c91fb *** empty log message *** 2001-05-03 23:19:03 +00:00
gregw 6ab6d64c75 *** empty log message *** 2001-04-24 01:32:41 +00:00
gregw a4502bb007 *** empty log message *** 2001-04-21 00:36:18 +00:00
David Rose 11cbc3ebf8 *** empty log message *** 2001-04-13 19:02:54 +00:00
Mike Goslin 1384821aec *** empty log message *** 2001-04-11 00:24:19 +00:00
Joe Shochet f4756996f4 *** empty log message *** 2001-04-06 17:36:12 +00:00
Mark Mine 650e414ea1 *** empty log message *** 2001-04-05 02:59:41 +00:00
David Rose b2b299259b *** empty log message *** 2001-02-28 01:35:32 +00:00
David Rose 2ba9291bdf *** empty log message *** 2001-02-22 18:59:34 +00:00
David Rose f9a0d4acea *** empty log message *** 2001-02-20 21:11:19 +00:00