Commit Graph

301 Commits

Author SHA1 Message Date
rdb dee4cd6201 bam2egg: support exposed joints properly
Also, don't use structured tag unless it seems necessary to preserve the structure
2018-01-10 20:14:25 +01:00
rdb dd2806c8bd Mark constructors 'explicit' for which coercion makes no sense 2017-11-06 19:47:38 +01:00
sean5470 97cd007af3 bam2egg: retain model nodes
added code to retain model nodes that are not DCS nodes.
2017-04-03 02:28:37 +02:00
rdb 6104e75eb0 bam2egg: generate a sphere from polygon with four vertices instead of two 2017-02-20 15:09:11 +01:00
Sam Edwards 573dad8dde general: Fix missing includes. 2016-11-30 19:21:34 -08:00
rdb df998fb24c bam2egg: support collision masks, UvScrollNode 2016-10-24 17:20:21 +02:00
rdb 62c008602e Merge branch 'release/1.9.x' 2016-10-20 11:14:37 +02:00
rdb ea82d9d664 Preserve "intangible" and "level" collide flags in bam2egg 2016-10-20 11:02:19 +02:00
rdb c9ea02445e Fix state attribs at primitive level in bam2egg; also prevent duplication of state attribs at primitive level if possible 2016-09-18 11:31:04 +02:00
rdb 0bdafe45ce Fix various issues in bam2egg:
* No longer inserts an extra root group for the ModelRoot
 * Support depth test, offset and cull bin attributes
 * Preserve non-GeomNodes under Character
 * Render attributes are applied on group level if possible
2016-09-14 21:54:35 +02:00
rdb 61b7af74db Merge branch 'release/1.9.x' 2016-09-08 22:18:50 +02:00
rdb 206d361f49 Support for CollisionBox, InvSphere and Tube in bam2egg 2016-09-08 22:14:44 +02:00
rdb a9345ad633 Fix bug: bam2egg ignores non-GeomNodes directly under Character node
This result in some animated models only properly exporting the skeleton without geometry if the geometry is under non-GeomNodes.
Fixes LP https://bugs.launchpad.net/panda3d/+bug/1617834
2016-08-29 02:09:03 +02:00
rdb 89deb71538 Fix regression loading nurbs surface/curve and patches from .egg 2016-06-11 23:24:06 +02:00
rdb 7d6b7f40f5 Merge branch 'release/1.9.x' 2016-06-09 21:52:51 +02:00
rdb a1749b2f07 Don't align transform_blend vertex column to 4 byte boundary
Somewhat improves performance of CPU vertex animation
2016-06-09 21:48:57 +02:00
rdb dc09e28ed9 Also accept a .gz wherever a .pz file is accepted 2016-04-29 16:54:25 +02:00
rdb 6ddfb0ace3 Support line/point thickness in bam2egg 2016-04-04 12:48:48 +02:00
rdb 2bf886fc5b Add premultiplied alpha mode, for convenience 2016-03-02 17:55:34 +01:00
rdb d50a326ca7 Fix silly multiple uncompress&recompress when generating mips for compressed texture 2016-02-29 19:49:48 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +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 db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb f33e450823 A lot of performance changes, particularly wrt dcasts and state management 2015-07-27 16:32:57 +02:00
rdb ac7c8c3756 Merge branch 'release/1.9.x'
Conflicts:
	panda/src/gobj/geomVertexColumn.cxx
2015-06-14 23:16:42 +02:00
rdb bac400543a Correct scaling of normals during flatten operations 2015-06-14 23:14:56 +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 3c380d9006 Support collision sphere and plane solids in bam2egg 2015-06-06 16:46:43 +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 4976345486 Let's use OpenGL-style vertex colors by default on non-Windows platforms 2015-04-04 21:38:54 +02:00
Sam Edwards 64120cd7d8 general: Add missing includes and forward-declarations. 2015-03-28 19:27:48 +01:00
rdb 3d9d9bfc95 Deprecate use of <Collide> without specifying "descend" flag 2015-02-27 19:59:54 +01:00
rdb 8dbe681143 Fix bug with Collide flag "polyset" and nested <Transform> elements 2015-02-24 23:51:00 +01:00
rdb 46ddd46c5c Support materials in bam2egg 2015-02-24 21:40:55 +01:00
09th c0e4de3df7 Fix bam2egg issue with animated models 2015-02-24 19:58:14 +01:00
rdb 79d025e9a8 Fix incorrect transformation of CollisionBox loaded from .egg file 2015-02-09 20:43:04 +01:00
rdb 95d85819b0 Separate out sampler state from texture, support sampler objects, support LOD min/max/bias 2014-12-12 15:58:45 +01:00
rdb 6d6a4398c6 Change max vertices to 65534 to avoid conflict with strip cut index 2014-10-27 13:25:38 +00: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 a585faa807 Add UvScrollNode::_w_speed 2013-08-24 19:29:13 +00:00
rdb 6bb87ca9c5 Avoid creating an unnecessary intermediate node when loading .egg models (see forum thread 16039) 2013-06-27 13:09:32 +00:00
rdb fbc37338e4 fix compilation issues 2013-03-28 22:58:41 +00:00
enn0x 0dd50f1d5a Add warning for unsupported collision solid 'box' when saving to egg file (same as for 'sphere' etc.) 2013-03-28 22:05:14 +00:00
enn0x a6bdde5f26 Load CollisionBox from egg files 2013-03-28 21:04:03 +00:00
David Rose 3af8da3bcd loader.saveModel(), EggToObjConverter, etc. 2012-12-20 00:09:14 +00:00
David Rose 36f909b2bf support patches for characters too 2012-06-14 22:32:36 +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