Adam Johnson
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!!!
9 years ago
jb
36a3750372
Only one underscode in make_physical_movable (ack !)
9 years ago
jb
ce2d393099
Move make_physical_movable and make it private
9 years ago
Adam Johnson
e1251dd545
Merge branch 'rt-lights'
9 years ago
Adam Johnson
1553985392
Some style nitpicks
9 years ago
Darryl Pogue
f869bbf640
Match lamp export settings to PlasmaMax's settings.
9 years ago
Adam Johnson
ffd0e6ed8a
Be more careful about toggling renderability
9 years ago
Adam Johnson
1dfaace9b1
Don't arseplode if lightmaps are not baked
9 years ago
Adam Johnson
8970758f8e
bpy.types.Mesh.materials is an ebil liar!
9 years ago
Adam Johnson
1ad2b73a74
Don't wreck the layer selection in LM previews
9 years ago
Adam Johnson
a11b1a92b2
__enter__ must return a value
9 years ago
Adam Johnson
80ad230863
Log objects that won't be baked
9 years ago
Adam Johnson
ff0a98115f
Fix incorrect export times
9 years ago
jb
f895348b21
Move physics handling code outside of post_export
9 years ago
Adam Johnson
57ae752e50
Merge pull request #31 from Deledrius/plDist_plFade
...
Add plDistOpacityMod and plFadeOpacityMod.
9 years ago
Joseph Davies
0aaf048468
Add plDistOpacityMod and plFadeOpacityMod.
9 years ago
Adam Johnson
26cca8889a
Merge pull request #30 from Hoikas/lightmaps
...
Lightmap Modifier Refactor
9 years ago
Adam Johnson
deb80dfd17
Add render layer selection to lightmap modifier
9 years ago
Adam Johnson
17c26ac3f4
Lightmap/Autocolor garbage collection
9 years ago
Adam Johnson
2b3656af39
Refactor lighting code to limit bake_image calls
9 years ago
Adam Johnson
2883289e06
Merge pull request #29 from Deledrius/NameConstant_fixes
...
Fix parsing of Python scripts which use variable Booleans.
9 years ago
Joseph Davies
b350f0b67b
Use return statement consistently.
9 years ago
Joseph Davies
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.
9 years ago
jb
e15eccfac5
Move animated physical code into anim post_export + remove a useless test
9 years ago
jb
b73489337e
Physical objects can be animated
9 years ago
jb
1b0e2e715e
Don't force clamping on stencils
9 years ago
Adam Johnson
55566c908a
Convert os.path usage to pathlib. ++code_quality
...
This closes #26
9 years ago
Adam Johnson
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...
9 years ago
Adam Johnson
e499690f05
Merge pull request #25 from Hoikas/addcolorxalpha
...
Port better alpha blending from PyPRP
9 years ago
Adam Johnson
9cbb9b791a
kBlendAlpha is illegal with kBlendAlphaMult and kBlendAlphaAdd
9 years ago
Adam Johnson
5c4f167a29
Port better alpha blending from PyPRP
9 years ago
Adam Johnson
bc66d8ac7a
Implement a LinkToAge Message Node
...
Closes #16
9 years ago
Adam Johnson
4a7f0eaea9
Expose kAlphaTestHigh for halos
9 years ago
Adam Johnson
7d75474d1c
Merge pull request #24 from Deledrius/blendererrorerror
...
Fix typo in exception name so error reporting doesn't throw an error.
9 years ago
Joseph Davies
d8e69fa09b
Fix typo in exception name so error reporting doesn't throw an error.
9 years ago
Adam Johnson
a36c922dce
Implement environment map Vis Regions
9 years ago
Adam Johnson
3c28951b6e
Put FollowMod in the correct order
9 years ago
Adam Johnson
9f9926488c
Merge pull request #23 from Hoikas/softvolumes
...
Soft Volumes and Vis Regions
9 years ago
Adam Johnson
c57407573a
Implement VisRegions
9 years ago
Adam Johnson
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.
9 years ago
Adam Johnson
8d3365e13e
Oops! These lamp files should have been in d814d43
9 years ago
Adam Johnson
5ce618bf4b
Don't crash if an animation has no FCurves
9 years ago
Adam Johnson
d814d4343a
More lamp powah
9 years ago
Adam Johnson
f9d025ff5a
Fix typo in waveset wind schtuff
9 years ago
Adam Johnson
2e07858ea8
Don't create lights for meshes O.o
9 years ago
Adam Johnson
08eaf47aec
Fix self-parenting child CoordinateInterfaces
9 years ago
Adam Johnson
4af2fa2da1
Merge pull request #11 from Deledrius/follow
...
Add plFollowMod.
10 years ago
Joseph Davies
88f17ef654
Add plFollowMod.
10 years ago
Adam Johnson
dfc1b687ab
Don't unconditionally add DynTextMaps
...
They could be referenced in logic nodes, creating a race condition
10 years ago
Adam Johnson
209c65a95b
Actually use UV maps as specified
10 years ago