Commit Graph

82 Commits

Author SHA1 Message Date
rdb e75aae62f0 Merge branch 'release/1.10.x' 2022-11-03 13:45:05 +01:00
rdb c50a5b25b8 ptloader: Disable obj2egg from ptloader
It doesn't support materials and textures, so it's not really useful to have this registered with the loader by default, especially since we have much better support for .obj through Assimp

Fixes #738
2022-11-03 09:53:13 +01:00
rdb 356e974029 ptloader: Fix wrong initialization order issue 2022-11-02 23:02:20 +01:00
Sam Edwards dbe7a2f94b Merge branch 'master' into cmake 2019-09-06 04:05:12 -06:00
rdb 4d254177ba general: Fix missing notifyCategoryProxy.h includes 2019-09-01 21:44:42 +02:00
Sam Edwards c16092fe8a CMake: Workaround for some export errors when doing a static build
This refuses to export/install the p3assimp/p3ptloader/p3txafile
libraries when building statically, because they depend on libraries
that are never installed, and static linkage would require all of the
dependencies to be available.

A more proper fix would involve installing these base libraries, but
only when doing a static build. I suspect nobody will ask for that,
so I haven't done it.
2019-08-19 18:50:53 -06:00
Sam Edwards b8f3c7eb63 CMake: Move some symbols from dtool_config.h to -D flags
The symbols moved aren't used in any headers, so they don't
have to be in the installed dtool_config.h. Removing them
keeps the recompiling to a minimum when an optional feature
is toggled.
2019-04-15 22:16:05 -06:00
Sam Edwards b4a532f1d0 CMake: Add support for building against FCollada 2019-03-18 01:56:38 -06:00
Sam Edwards 788efb9f6d CMake: Fix build when HAVE_EGG=OFF 2018-12-29 02:51:53 -07:00
Sam Edwards 99fee1a64d CMake: Assign COMPONENT and EXPORT to all targets 2018-12-06 17:48:44 -07:00
Sam Edwards 940ef456ff CMake: Only link PRIVATEly against libraries not installed 2018-11-28 14:06:05 -07:00
Sam Edwards 841e7a9a16 CMake: Add a bunch of pandatool components to the build 2018-10-28 05:08:39 -06:00
rdb c6ed4e1836 general: don't cast to regular pointer when returning a PointerTo
This is inefficient because it induces an unnecessary ref()/unref() pair when we just need to move the pointer out of the function.  Thanks to 23128e4695, we can now move between related pointer types, making the .p() hack unnecessary.
2018-07-08 21:40:58 +02: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 7790f8429d general: Fully qualify header references into the std namespace
Closes #341
2018-06-07 10:35:12 +02: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
Sam Edwards 52e7c952b3 putil: Rename config_util to config_putil 2018-05-14 02:36:42 -06:00
rdb dc09e28ed9 Also accept a .gz wherever a .pz file is accepted 2016-04-29 16:54:25 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb bee278e8d1 Fix missing return statement 2014-08-21 18:03:32 +00:00
David Rose b3b2308c6c load obj files directly into PandaNodes for performance 2013-01-04 00:35:42 +00:00
David Rose 3af8da3bcd loader.saveModel(), EggToObjConverter, etc. 2012-12-20 00:09:14 +00:00
David Rose 6911c18a58 fix bam cache issue with ptloader files 2012-01-31 20:30:43 +00:00
David Rose c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
rdb 19e73932d2 add assimp stuff 2011-05-22 15:47:20 +00:00
David Rose ca514b559b add -points, fix some obj2egg issues 2010-12-14 22:18:11 +00:00
David Rose 70d9503dd0 bare-bones obj2egg in C++ 2010-12-07 22:22:11 +00:00
rdb 688fdbbf1a Fix for Windows 2010-11-14 13:01:22 +00:00
rdb 38df619956 Work around bug in OSX 10.4 2010-11-13 13:23:16 +00:00
rdb cf217344aa No longer needed, I got fcollada working correctly 2009-04-14 16:31:28 +00:00
rdb 0598fc84c3 Disable fcollada in ptloader on windows until we resolved static-init issues 2009-03-30 11:45:29 +00:00
David Rose 6203d9e7d1 protect include under HAVE_FCOLLADA 2009-01-06 20:52:24 +00:00
rdb 40aad1a910 FCollada changes to ptloader 2009-01-06 18:46:11 +00:00
David Rose 26caa4da86 pgraphnodes 2008-11-06 01:20:18 +00:00
David Rose cfbbd6338f oops, pnmtext requires freetype 2008-06-12 15:43:42 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose e13a9b6d42 new dependencies on audio 2007-09-04 15:52:59 +00:00
David Rose 7ffcca7b68 build on osx 2007-08-10 19:06:42 +00:00
David Rose 426ac19e1a add USE_PACKAGES cg where appropriate 2007-08-06 17:53:25 +00:00
David Rose 76651e52e2 build on osx 2007-03-08 00:11:59 +00:00
David Rose 4a85d9c724 build on OSX 2006-10-12 20:55:54 +00:00
David Rose d2a94c5bc1 add BamCacheRecord to LoaderFileType 2006-06-20 00:23:51 +00:00
David Rose 7494449423 support skeleton/channels distinction 2006-01-31 04:49:12 +00:00
David Rose 6d0b7f4344 a bit more .pz support 2006-01-26 15:03:40 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
David Rose d9b6585a78 ptloader-units 2005-10-10 16:54:29 +00:00
David Rose ce4e89c475 LoaderOptions, supporting auto-converting animation from maya filess 2005-10-05 22:35:23 +00:00
David Rose bc0d509090 bam 5.0, new Geom implementation is now official 2005-06-30 17:42:21 +00:00