Commit Graph

383 Commits

Author SHA1 Message Date
rdb 090e912ce6 Cleanup of comments and whitespace 2016-02-01 22:30:43 +01:00
rdb bb85b261f8 Expose more properties to Python
Rename "from" to "from_solid" to avoid clashing with Python keyword
2016-01-13 21:29:34 +01:00
rdb 22fb9dec65 Add baser/baseg/baseb/basea and ior scalars to egg <Material> 2016-01-09 17:15:41 +01:00
rdb 3393454582 Metalness workflow PBR stuff, support light color temperatures, make light specular color tied to light color by default 2016-01-09 16:08:33 +01:00
rdb ffabf6925c Add roughness and metallic material parameters for PBR 2015-12-27 23:44:35 +01:00
rdb 62cdb5cac5 Remove temp-hpr-fix 2015-12-26 13:26:10 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb 0f2f27689a Convert from DOS back to Unix newlines 2015-11-08 02:12:43 +01:00
rdb ddf8343590 Reorganise explicit template instantiations so that it always happens in the .cxx file, while remaining backward compatible with MSVC's standards-breaking implementation 2015-10-16 15:38:28 +02:00
David Rose 439ee70845 Merge branch 'master' of https://github.com/panda3d/panda3d 2015-10-07 16:55:06 -07:00
David Rose f1fd64534b egg-precision 2015-10-07 16:54:48 -07:00
rdb 7026854cc2 Fixes to get the C binding generator to work 2015-07-05 16:07:08 +02:00
rdb 11ed8a4d8d Use dynamic type lookup for interrogate to eliminate inter-module dependencies
It is now no longer necessary to link to core.pyd
Also includes a slight coercion optimization for trivial types
2015-06-06 19:36:40 +02:00
rdb 8e58e9e11c Merge branch 'release/1.9.x' (though keep template exporting in master) 2015-06-06 17:03:27 +02:00
rdb 4d46172fba Revert non-Windows template export changes from 1.9.x, they're less stable than I thought 2015-06-06 16:55:33 +02:00
rdb a70878c4ef Merge branch 'release/1.9.x' 2015-06-03 20:26:22 +02:00
rdb f69354d9fa Explicit template instantiation on gcc/clang, implement cfsworks' suggestion of moving compiler-specific stuff out of pandasymbols.h et al 2015-06-03 13:36:04 +02:00
rdb b49289a4f6 Allow setting min-lod, max-lod, lod-bias in egg file 2015-05-21 11:16:46 +02:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
rdb 4dc4c9eb3d Merge branch 'master' into interrogate-overhaul
Conflicts:
	dtool/src/interrogate/functionRemap.cxx
	dtool/src/interrogate/interfaceMakerPythonNative.cxx
	panda/src/event/pythonTask.cxx
	panda/src/express/multifile.h
	panda/src/express/pointerToArray.I
	panda/src/mathutil/config_mathutil.N
	panda/src/putil/config_util.N
	panda/src/putil/doubleBitMask.h
2015-02-11 14:41:58 +01:00
rdb cbd70ad8af Move all Python bindings out of core DLLs into the .pyd files. 2015-02-10 14:30:51 +01:00
rdb 91568b02bc Add EggVertex::make_average(v1, v2) 2015-02-08 19:51:18 +01:00
rdb 6db5d0dc11 Huge cppparser and interrogate overhaul, bringing:
* Better support for typedefs
* Same code should compile for both 32-bit and 64-bit
* C++11 typed enum support
* Synthesize __setitem__ when operator [] returns reference
* Rewrite coerce system to have better performance
* Change semantics of __getattr__ and __setattr__ to match
  Python's, add __getattribute__, __delattr__ and __delitem__
* Improve performance of slot functions a bit more
* Reduce memory overhead of type system
* Some support for wrapping arrays of numeric types
* C++11 character type support in cppparser
* Chars are handled as strings of length 1
* Template functions for CreatePyInstance that use runtime type map
* More functions from dtool as extension functions
* Code cleanup
2014-12-30 16:43:52 +01:00
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb c178aba639 Add property support to interrogate (using MAKE_PROPERTY or using published members) 2014-09-19 15:23:52 +00:00
rdb 87910799b6 Split off epvector.h into its own file in an attempt to cut down compilation time 2014-09-14 22:04:36 +00:00
rdb e02d8706f3 Fix EggGroupNode compilation. _ext.cxx sources should not be added to the standard composite files. 2014-03-17 10:12:26 +00:00
David Rose 25ee1ce285 fix compilation issue with ppremake 2014-03-13 23:15:19 +00:00
rdb dd6cfe5fa9 Export EggParameters 2014-02-20 21:50:00 +00:00
rdb 7e455e0fad Add files that belonged to the previous commit 2014-02-20 13:58:23 +00:00
rdb 5f2c0a6e04 Big commit aiding in separation of Python bindings:
* Most extension functions have been moved to C++.
 * In makepanda, Python bindings are compiled into panda3d/<module>.pyd.
2014-02-20 13:33:26 +00:00
David Rose a16238932a looks like we had a long-term confusion for LFLAGS as a set of linker flags and as a set of flex flags. Renamed LFLAGS to FLEXFLAGS for flex input. 2013-08-26 22:44:22 +00:00
rdb 451f6faf37 remove now-nonexistent -i flag to linker 2013-08-25 18:43:41 +00:00
rdb a585faa807 Add UvScrollNode::_w_speed 2013-08-24 19:29:13 +00:00
enn0x a6bdde5f26 Load CollisionBox from egg files 2013-03-28 21:04:03 +00:00
enn0x 927c9b8c47 Don't use Mac file format. 2013-01-29 21:37:54 +00:00
David Rose 15b55b2183 animate normals in blendshapes too 2012-07-31 02:46:07 +00:00
David Rose e9053ff910 support GLSL tessellation shaders 2012-04-27 20:29:47 +00:00
David Rose ce0ad5dde8 work-in-progress: cache-check-timestamps 2012-02-25 02:28:41 +00:00
rdb 949395a4cc Add normal_gloss texture mode (requested by wezu) 2012-02-13 08:35:52 +00:00
David Rose f647872b2b lower egg-recursion-limit to 1000 2011-12-21 23:12:10 +00:00
David Rose 1a4f42706b remove a few epvectors 2011-12-19 18:16:30 +00:00
David Rose 05be3e1b5e add egg-recursion-limit 2011-12-19 14:44:38 +00:00
David Rose f9240e0258 a couple more fixes to self-memory-alignment 2011-12-19 14:26:57 +00:00
David Rose 42e8f806f1 leave lvecbase2/3 and lmatrix3 unaligned; it's so much cleaner 2011-12-19 14:17:26 +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 7e8737dd3d some animation optimizations 2011-12-15 00:33:03 +00: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 f322dc5853 add eggVertexAux to Sources.pp 2011-11-18 14:42:33 +00:00
David Rose d3cdb2e11b prebuild-bison 2011-11-18 00:07:24 +00:00