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

339 Commits

Author SHA1 Message Date
fd3026021a Implement Sound logic nodes 2016-06-19 19:38:14 -04:00
8e262f815c Allow message nodes to export multiple messages
This shim is needed in some cases for plSoundMsg
2016-06-19 19:20:27 -04:00
36f0ac194d Implement SoundEmit modifier
This sound emitter modifier is almost as fully functional as PlasmaMAX's various sound emitter components. Additional functionality was added to C korlib so that artists can specify OGG Vorbis sound files. If korlib is not compiled, only WAVE sounds can be utilized in Korman. This fixes some of the more fiddly bugs related to exporting to CWE that were seen in PyPRP.

Sound nodes to be implemented...
2016-06-19 19:19:12 -04:00
b29f4ebf75 Implement Plasma Sound loading
This allows us to use Blender's Sound datablocks, despite it actively
opposing our attempts to do so. Meaning the artist can pack their sounds.
:)
2016-05-30 21:01:59 -04:00
cb6541675a Change to Blender 2.77 style bpy.types.Image.bindcode.
This idiotic change was introduced in stealth mode from 2.76 to 2.77. It has something to do with 3d textures, supposedly. I think the person who made this change is simply an asshat...
2016-05-21 20:13:59 -04:00
8c43462ae0 Merge pull request #28 from Jrius/master
Animated physicals + no clamped stencils
2016-02-21 15:56:41 -05:00
5289bf0735 Fix NULL LayerAnimation base layer crash
Ok, so, the exporter incorrectly assumed it created all plLayerAnimations.
In reality, nodes could create the plLayerAnimation first. If the material
exporter recreates the object, bad things happen, and an invalid
plLayerAnimation is added to the hsGMaterial. UruExplorer then goes
KABLOOEY!!!
2016-02-19 18:26:17 -05:00
jb
36a3750372 Only one underscode in make_physical_movable (ack !) 2016-02-19 22:34:36 +01:00
jb
ce2d393099 Move make_physical_movable and make it private 2016-02-18 22:03:26 +01:00
e1251dd545 Merge branch 'rt-lights' 2016-02-15 21:55:30 -05:00
1553985392 Some style nitpicks 2016-02-15 21:55:12 -05:00
f869bbf640 Match lamp export settings to PlasmaMax's settings. 2016-02-15 21:49:17 -05:00
ffd0e6ed8a Be more careful about toggling renderability 2016-02-15 18:53:26 -05:00
1dfaace9b1 Don't arseplode if lightmaps are not baked 2016-02-15 18:44:05 -05:00
8970758f8e bpy.types.Mesh.materials is an ebil liar! 2016-02-15 18:39:09 -05:00
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
26cca8889a Merge pull request #30 from Hoikas/lightmaps
Lightmap Modifier Refactor
2016-02-15 13:06:13 -05: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
2883289e06 Merge pull request #29 from Deledrius/NameConstant_fixes
Fix parsing of Python scripts which use variable Booleans.
2016-02-12 19:19:36 -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
e499690f05 Merge pull request #25 from Hoikas/addcolorxalpha
Port better alpha blending from PyPRP
v0.03
2016-01-24 22:17:01 -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
7d75474d1c Merge pull request #24 from Deledrius/blendererrorerror
Fix typo in exception name so error reporting doesn't throw an error.
2016-01-20 00:08:57 -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
9f9926488c Merge pull request #23 from Hoikas/softvolumes
Soft Volumes and Vis Regions
2016-01-18 15:17:28 -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