4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-13 18:17:38 -04:00
Commit Graph

1171 Commits

Author SHA1 Message Date
f95a9d34d6 Fix empty profile log files 2018-12-10 01:03:35 -05:00
eae02c133d Fix traceback introduced by 742baf3 when exporting to PotS 2018-12-06 20:39:18 -05:00
742baf338e Fix #116 2018-12-04 23:16:32 -05:00
c876e41ba7 Merge pull request #123 from Hoikas/mod-copypasta
Modifier CopyPasta
2018-10-23 19:40:57 -04:00
af16d58be5 Refactor some silly mod searches 2018-09-22 22:41:52 -04:00
e307c36a7d Fix #119
This adds the ability to copy and paste all modifiers (or a single
modifier) to another object.
2018-09-22 22:41:52 -04:00
0c8e333ad5 Fix overly explicit collider vertex export 2018-09-22 21:36:30 -04:00
3e90ac4727 Fix lightmap preview operator devilry
The "Preview Lightmap" operator no longer changes the active selected
objects or the active layer selection.
2018-09-18 20:41:14 -04:00
d16f064043 Fix incorrect path logic introduced in b588c87 2018-09-18 19:52:32 -04:00
734eb58819 Fix noisy tracebacks when not in Korman mode
Blender used to not specify COMPAT_ENGINES on the physics panels. It
does now, and the new poll methods are incompatible with ours. This
results in lots of noisy errors being raised when in Blender Render mode
with the Korman addon active.
2018-09-16 18:30:52 -04:00
b588c87234 Fix issue with texcache files on stale HDDs 2018-09-15 18:31:19 -04:00
f988a588ff Fix spurious assertion on blend load 2018-09-15 17:18:10 -04:00
15a16500e5 Fix issue with python files on dead HDDs 2018-09-15 17:17:48 -04:00
4523f5a2fd Merge pull request #122 from Hoikas/lm-passes
Add named lightmap passes
2018-09-15 16:51:40 -04:00
c0cdf46460 Generalize the lightmap modifier
The lightmap modifier is now a more general "Bake Lighting" modifier
that can control how vertex colors are baked as well. The default vertex
color baking behavior is unaffected. It is now identical to adding a
Bake Lighting modifier, changing it to bake vertex colors without
specifying a pass.
2018-09-15 16:50:24 -04:00
f94ef379d9 Swim Surfaces don't have to be flat 2018-09-10 20:56:00 -04:00
4779c8c710 Centralize lightmap render layer settings
This allows the artist to control what happens with lightmaps more
easily when there are lots of lightmapped objects in the age.
Fixes #118
2018-09-09 17:16:39 -04:00
a672db70a0 Merge pull request #121 from Hoikas/mod-versions
Modifier Upgrading
2018-09-09 17:16:20 -04:00
647c09e6e6 Implement modifier version upgrading 2018-09-08 20:31:13 -04:00
1f9a872afc Fix another dict check-key then add antipattern 2018-09-08 14:32:53 -04:00
67f2b907e0 Fix #120 2018-09-08 13:33:51 -04:00
2748bc2ab3 Merge pull request #117 from Hoikas/texcache
Texture Cache
2018-09-05 19:28:22 -04:00
fdc6ae3f22 Recache on file updates
Unfortunately, packed images don't appear to store any kind of modify
time attribute. In the case of those, we're just idly hoping that we can
find one on disk.
2018-09-05 19:24:31 -04:00
62f8b59ce2 Add per-image cache controls 2018-09-05 19:24:31 -04:00
72a4cf179e Add export-time texcache controls
Now you can turn off the texture cache entirely or force a recache of
the entire age... :)
2018-09-05 19:24:31 -04:00
2a49634e43 Update korlib for texture caching
Previously, the C korlib used a custom buffer class to avoid a memcpy
operation. However, pyMipmap expects binary string (PyBytes) objects, so
this changes the code to use them. Future work would be to continue
using PyBytes and removing the copy. For now, there are bigger fish to
fry...
2018-09-05 19:24:31 -04:00
654af0e56a Add rudimentary texture cache 2018-09-03 18:35:36 -04:00
eb622e5318 Prefer dict setdefault vs membership tests 2018-09-02 21:36:48 -04:00
7b5eb4f389 Fix "Compose Geometry" out of range progress steps
I like it when we're on step 13 of 7... :D
2018-09-02 21:35:51 -04:00
2b48c6dcc2 Replace a slow string search with isinstance 2018-09-02 21:34:42 -04:00
688407dc82 Ensure the export always has an active_object
Some operators, namely the bake operator, require there to be an
active_object. The lightmap operator manages the selection, so this only
fixes Blender whining about the context being incorrect due to a
technicality.
v0.07
2018-08-31 21:20:12 -04:00
1325a2ad5a Fix game tracker exporting for incorrect versions 2018-08-31 20:23:15 -04:00
1e3f3faa0d Fix potential UnboundLocalError in texture export 2018-08-28 21:36:38 -04:00
dfeb0114de Optimize lightmap dict access 2018-08-28 21:36:20 -04:00
2ebf872fda Check for valid types in add_object 2018-08-28 21:08:14 -04:00
327cf1b5ad Fix spurious responder wait generation
Pull request #114 was causing messages that could wait but had no child
messages to always have waits generated for them. This was causing some
responder states to never be marked completed. This ensures only
messages that need to be waited on have waits generated for them.

Messages that must be waited on include:
- the last waitable message if the responder is attatched to a PFM
- the last waitable message if it's the last message in the state
- any waitable message that has a child message
2018-08-28 20:17:53 -04:00
9a875d262b Merge pull request #115 from Deledrius/plImageLibMod
Add plImageLibMods.
2018-08-28 19:25:15 -04:00
eb75794996 Add plImageLibMods. 2018-08-28 15:35:35 -07:00
0fd9c5cf63 Merge pull request #114 from Hoikas/pfm-resp
Fix responder nodes not notifying python nodes
2018-08-25 21:12:15 -04:00
10b65e9ab9 Merge pull request #105 from Hoikas/cameras
Cameras
2018-08-25 20:51:58 -04:00
97305ee3e9 Clarify camera transitions/cutting
What was previously marked as transition cuts would really only cut goal
and POA tracking. Transition cutting requires the addition of a
transition ovveride. The engine supports cutting transitions on
plCameraMsg receipt by the virtual camera. The option looked sloppy on
regions (and should probably be controlled in the transitions), but it
has been added to camera message nodes for more control.
2018-08-25 20:51:32 -04:00
c91eb32939 Nuke auto circle camera
Tey're probably just a disaster waiting to happen. If you want a circle
camera, that's sufficiently advanced to require a new camera object.
Auto cameras are just a dumb helper.
2018-08-25 20:51:32 -04:00
e2b931fe9e Add Camera Message node 2018-08-25 20:51:32 -04:00
0f26deb65e Camera transition overrides 2018-08-25 20:51:32 -04:00
1ca9456870 Rework camera UI to not be so monolithic 2018-08-25 20:51:32 -04:00
02eb0e71fc Fix some camera bugs due to code shuffling 2018-08-25 20:51:32 -04:00
e21b8d7032 Rail Cameras 2018-08-25 20:51:32 -04:00
c656b0e51a Camera transform and FOV animations 2018-08-25 20:51:32 -04:00
de23d77649 Implement Circle Cameras
This includes circle cameras of the manual and auto-region variety
2018-08-25 20:51:32 -04:00
03746ed681 Fix responder nodes not notifying python nodes
In order for a python script to be notified that a responder attribute
has finished executing, we have to have a callback notify message in the
responder state. Cyan seems to require the artist to do this by hand,
but that seems like such a common operation that we'll add a callback at
the end of every state of any responder linked to a Python node. Cyan's
approach is somewhat more flexible in that you can call back at any
point in the responder, but that seems a bit excessive.
2018-08-25 20:33:26 -04:00