Commit Graph

111 Commits

Author SHA1 Message Date
Daniel 74a4648965 mayaprogs: Completely refactor the maya2egg server
The maya2egg_server utility is no longer a separate utility. To run the maya2egg_server (now Maya conversion server), use `maya2egg -server` or `egg2maya -server`.

Two new utilities have been added: `maya2egg_client` and `egg2maya_client`. Both of them are Maya version independent, and do not rely on any Maya libraries. However, they're only built with SDKs that already come with the Maya binaries, as the server makes its own assumptions about the current working directory (the client and the server are expected to be on the same machine.)

A new feature has been added to ProgramBase: an `exit_on_complete` flag, which allows you to parse the command line without exiting the program upon a failure or a help command.

In addition to this, a getopt bug has been fixed in ProgramBase: It is now possible to clear the state of the Panda implementation of getopt, making it possible once again to parse command line arguments twice in a row.

Closes #1025
2020-12-29 16:16:36 +01:00
Sam Edwards 788efb9f6d CMake: Fix build when HAVE_EGG=OFF 2018-12-29 02:51:53 -07:00
Sam Edwards 6760c1366d CMake: Update pandatool CMakeLists.txt files for style consistency 2018-10-28 05:08:38 -06:00
Sam Edwards 2ab77d9a27 Merge branch 'master' into cmake 2018-08-14 21:59:45 -06:00
Sam Edwards b2bfb31114 general: Remove `using std::*` from headers
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.

Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
Sam Edwards c4126942f6 Merge branch 'master' into cmake 2018-06-10 02:29:21 -06:00
Sam Edwards 7790f8429d general: Fully qualify header references into the std namespace
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards 592a2e2d68 Merge branch 'master' into cmake 2018-06-06 13:18:12 -06:00
Sam Edwards e2b4353800 general: Replace NULL (and 0 as pointer) with C++11 nullptr
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
rdb e0245d2777 First step towards eliminating `using namespace std;` (#335) 2018-06-03 20:32:23 +02:00
rdb 6b726fa697 general: fix various compiler warnings and issues exposed thereby 2018-05-30 11:09:35 +02:00
Sam Edwards 6efb07de93 Merge branch 'master' into cmake 2018-05-14 19:09:14 -06:00
Sam Edwards 52e7c952b3 putil: Rename config_util to config_putil 2018-05-14 02:36:42 -06:00
Sam Edwards eda119dac4 Merge branch 'master' into cmake
# Conflicts:
#	.travis.yml
2018-02-04 17:12:51 -07:00
rdb a7d68a8412 egg2bam: fix external refs not being resolved relative to egg file 2017-10-26 17:36:43 +02:00
Sam Edwards e3fcacb1f7 Merge branch 'master' into cmake 2016-11-30 19:21:50 -08:00
rdb 1bd96685bc Allow passing - as filename to egg tools to read from stdin 2016-10-24 17:19:07 +02:00
rdb 4381412d23 Merge branch 'release/1.9.x' 2016-09-28 00:14:21 +02:00
rdb aa74caacbe Fix inoperative -tbn/-tbnall/-tbnauto options in egg-optchar 2016-09-27 21:35:38 +02:00
Sam Edwards 441371e8d9 Merge branch 'master' into cmake 2016-03-15 18:30:55 -07:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 5b291a9b10 Merge branch 'master' into cmake 2015-11-09 19:21:12 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
Sam Edwards 5e2f3f777b CMake: Build bam2egg and egg2bam. 2014-05-06 21:04:18 -06:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose ca514b559b add -points, fix some obj2egg issues 2010-12-14 22:18:11 +00:00
David Rose 21405bd4c3 tiger linking issues 2010-07-26 23:53:46 +00:00
Chris Brunner f0b2d1ec65 typo 2010-07-20 23:12:19 +00:00
Chris Brunner 5596629520 added the option to specify input egg files as coming from a text file, rather than on the command line. useful for rediculously long lists of files to operate on 2010-01-20 01:28:58 +00:00
Gyedo Jeon b52227d615 Added proper unit conversion for egg2maya 2009-03-13 22:01:53 +00:00
David Rose bcdab6f3d4 remove texture_path, sound_path, egg_path 2008-11-04 18:25:21 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
Josh Yelon be97920b58 Added new command line option: -tbnauto 2008-01-29 17:04:33 +00:00
David Rose 4a85d9c724 build on OSX 2006-10-12 20:55:54 +00:00
David Rose 039acd1ad4 pnotify 2006-03-20 03:33:16 +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 572a146c24 untabify 2006-01-13 18:38:07 +00:00
David Rose e53f8c7ae4 call remove_unused_vertices() after recomputing tbn 2005-10-05 20:19:28 +00:00
David Rose 6124f56514 remove old code 2005-09-24 01:53:38 +00:00
David Rose 24633538b6 oops, unitialized variable 2005-08-31 14:22:12 +00:00
David Rose cb5ee1cd82 bring egg2maya in to ppremake system 2005-08-11 19:16:24 +00:00
Josh Yelon 82b1ac94c4 Fixes related to -ps keep, -ps rel 2005-08-08 01:57:40 +00:00
David Rose dc35f4dfff minor typo 2005-08-03 23:22:44 +00:00
David Rose 2362924423 add -tbnall 2005-08-02 22:53:39 +00:00
David Rose 5d83609638 compute and load tangent and binormal 2005-07-01 19:14:51 +00:00
David Rose ae3fa2320d add egg-list-textures 2005-05-23 22:30:53 +00:00
David Rose d72e2da5c5 support flat-shading properly in new geom 2005-03-17 01:16:28 +00:00
David Rose ff6b6dad89 use PT(EggData) instead of concrete EggData 2005-03-14 22:52:37 +00:00
David Rose f1671ce1a6 add -noexist, flt2egg should call from_os_specific 2005-02-03 12:36:30 +00:00
David Rose d4d66d0ef7 egg-qtess should not make textures fullpaths 2005-01-31 20:23:30 +00:00