4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 14:27:36 +00:00
Commit Graph

298 Commits

Author SHA1 Message Date
1ad2b73a74 Don't wreck the layer selection in LM previews 2016-02-15 18:25:56 -05:00
a11b1a92b2 __enter__ must return a value 2016-02-15 18:18:42 -05:00
80ad230863 Log objects that won't be baked 2016-02-15 18:14:07 -05:00
ff0a98115f Fix incorrect export times 2016-02-15 17:55:45 -05:00
jb
f895348b21 Move physics handling code outside of post_export 2016-02-15 21:40:59 +01:00
57ae752e50 Merge pull request #31 from Deledrius/plDist_plFade
Add plDistOpacityMod and plFadeOpacityMod.
2016-02-15 15:25:25 -05:00
0aaf048468 Add plDistOpacityMod and plFadeOpacityMod. 2016-02-15 12:22:24 -08:00
deb80dfd17 Add render layer selection to lightmap modifier 2016-02-15 08:52:31 -05:00
17c26ac3f4 Lightmap/Autocolor garbage collection 2016-02-15 08:52:30 -05:00
2b3656af39 Refactor lighting code to limit bake_image calls 2016-02-15 08:52:30 -05:00
b350f0b67b Use return statement consistently. 2016-02-11 20:19:16 -08:00
a15e01bcfa Fix parsing of Python scripts which use variable Booleans.
Some of Cyan's old scripts predate Python supporting Booleans,
which leaves us with variables where we expected constant values.
This change intercepts these cases and replaces them, avoiding an
exception in Korman when it tries to shove one of these strings
into a boolean attribute.

Also included is a new visitor for proper name constants, support
for which was added in Python 3.4.  This will allow future scripts
to use them and be recognized correctly.
2016-02-11 20:19:06 -08:00
jb
e15eccfac5 Move animated physical code into anim post_export + remove a useless test 2016-02-10 22:26:46 +01:00
jb
b73489337e Physical objects can be animated 2016-02-07 12:09:07 +01:00
jb
1b0e2e715e Don't force clamping on stencils 2016-02-07 11:32:36 +01:00
55566c908a Convert os.path usage to pathlib. ++code_quality
This closes #26
2016-02-01 21:14:12 -05:00
9e66db01a0 Flip the flopped images
Export all images right-side up. OpenGL flips them because fail, so we
have to do a bit of work to correct that. Thankfully, this operation is
not as slow as I thought.

NOTE TO SELF: remember, texture page updating would be nice to have...
2016-01-30 22:11:59 -05:00
9cbb9b791a kBlendAlpha is illegal with kBlendAlphaMult and kBlendAlphaAdd 2016-01-24 22:11:33 -05:00
5c4f167a29 Port better alpha blending from PyPRP 2016-01-24 22:02:49 -05:00
bc66d8ac7a Implement a LinkToAge Message Node
Closes #16
2016-01-24 21:40:45 -05:00
4a7f0eaea9 Expose kAlphaTestHigh for halos 2016-01-24 21:29:10 -05:00
d8e69fa09b Fix typo in exception name so error reporting doesn't throw an error. 2016-01-19 21:05:46 -08:00
a36c922dce Implement environment map Vis Regions 2016-01-18 19:26:09 -05:00
3c28951b6e Put FollowMod in the correct order 2016-01-18 15:24:27 -05:00
c57407573a Implement VisRegions 2016-01-18 15:04:02 -05:00
7d7af297e4 SoftVolume Modifier
This introduces a basic soft volume interface to Korman. It currently
allows you to define simple convex "soft" regions and somewhat complex
soft regions using the soft volume modifier.
2016-01-17 22:37:45 -05:00
8d3365e13e Oops! These lamp files should have been in d814d43 2016-01-17 22:36:57 -05:00
5ce618bf4b Don't crash if an animation has no FCurves 2015-11-07 15:02:28 -05:00
d814d4343a More lamp powah 2015-08-09 19:54:47 -04:00
f9d025ff5a Fix typo in waveset wind schtuff 2015-08-03 00:32:15 -04:00
2e07858ea8 Don't create lights for meshes O.o 2015-08-03 00:31:26 -04:00
08eaf47aec Fix self-parenting child CoordinateInterfaces 2015-07-23 20:41:06 -04:00
4af2fa2da1 Merge pull request #11 from Deledrius/follow
Add plFollowMod.
2015-07-19 13:12:18 -04:00
88f17ef654 Add plFollowMod. 2015-07-18 20:47:01 -07:00
dfc1b687ab Don't unconditionally add DynTextMaps
They could be referenced in logic nodes, creating a race condition
2015-07-18 22:32:24 -04:00
209c65a95b Actually use UV maps as specified 2015-07-18 22:30:23 -04:00
36c5d71032 Don't touch mah strings! 2015-07-18 22:00:34 -04:00
a24a14f090 Actually add DynTextMaps to the layer
I swear, one day...
2015-07-18 21:27:55 -04:00
338860cadf Improve DynTextMap generation 2015-07-18 20:36:09 -04:00
09be2f053d Fix typo in volume sensor node key getter 2015-07-18 20:10:24 -04:00
84c300fe6c Fix error in fetching texture attributes 2015-07-18 19:53:52 -04:00
cb00e75fd4 Don't post process objects with no SceneObject 2015-07-18 15:10:27 -04:00
07ee39f2e1 Small node socket color tweak 2015-07-18 14:57:29 -04:00
d1e51562e9 Fix troll error message 2015-07-18 14:41:29 -04:00
75e2651cda ptAttribActivators MUST send notify messages 2015-07-18 14:40:28 -04:00
70dc620f94 Complain about invalid links 2015-07-17 22:22:48 -04:00
9dfab7e660 The Enable/Disable node now addresses nodes
Benefit: you can now toggle the state of your conditions. OneShot logic
stuff has been updated as well so it all makes sense
2015-07-17 22:21:25 -04:00
644b22ecfd Toss modifier display names
These would be copied along with entire objects, potentially resulting in
duplicate key names. Better to just toss the whole thing...
2015-07-17 21:20:23 -04:00
70da2980e6 Add some missing ptAttrib colors 2015-07-17 20:40:06 -04:00
04e4f28927 Merge pull request #10 from Deledrius/vfm
Add ViewFaceMods.
2015-07-17 20:37:39 -04:00