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
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.
9 years ago
Joseph Davies
88f17ef654
Add plFollowMod.
9 years ago
Adam Johnson
dfc1b687ab
Don't unconditionally add DynTextMaps
...
They could be referenced in logic nodes, creating a race condition
9 years ago
Adam Johnson
209c65a95b
Actually use UV maps as specified
9 years ago
Adam Johnson
36c5d71032
Don't touch mah strings!
9 years ago
Adam Johnson
a24a14f090
Actually add DynTextMaps to the layer
...
I swear, one day...
9 years ago
Adam Johnson
338860cadf
Improve DynTextMap generation
9 years ago
Adam Johnson
09be2f053d
Fix typo in volume sensor node key getter
9 years ago
Adam Johnson
84c300fe6c
Fix error in fetching texture attributes
9 years ago
Adam Johnson
cb00e75fd4
Don't post process objects with no SceneObject
9 years ago
Adam Johnson
07ee39f2e1
Small node socket color tweak
9 years ago
Adam Johnson
d1e51562e9
Fix troll error message
9 years ago
Adam Johnson
75e2651cda
ptAttribActivators MUST send notify messages
9 years ago
Adam Johnson
70dc620f94
Complain about invalid links
9 years ago
Adam Johnson
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
9 years ago
Adam Johnson
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...
9 years ago
Adam Johnson
70da2980e6
Add some missing ptAttrib colors
9 years ago
Adam Johnson
04e4f28927
Merge pull request #10 from Deledrius/vfm
...
Add ViewFaceMods.
9 years ago
Adam Johnson
e4ca37c06d
Ensure variable input sockets stay grouped
9 years ago
Adam Johnson
9543dc6c12
Implement exclude region nodes
9 years ago
Joseph Davies
788dc2fe9c
Add ViewFaceMods.
...
The ViewFaceMod is presented as a Swivel component, with artist-ready
presets for the typical Sprite and Billboard, as well as an advanced
'Custom' option which exposes additional features.
9 years ago
Adam Johnson
f0ee39b1c3
Fix issues resulting from incorrect korlib merge
...
I merged the version with access violations related to textures not
actually being set in OpenGL. Dang! Here is the correct version.
9 years ago
Adam Johnson
d27630f501
Delay manipulating the selection
...
We may not be baking anything, so this can be a collosal waste of time.
Observed speedups of several seconds in some ages.
9 years ago
Adam Johnson
fe685f57f1
Allow user to opt-out of vertex shading
9 years ago
Adam Johnson
1b726330e2
Merge remote-tracking branch 'hoikas/korlib'
9 years ago
Adam Johnson
3e811f58c1
Implement C korlib
...
NOTE: This is mostly a curiosity atm. There are many undiagnosed access
violations...
9 years ago