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

1093 Commits

Author SHA1 Message Date
b8414394da Fix lightmap baking with "Receive Transparent"
Due to our disabling of texture baking when lightmapping, Blender would
not be able to cast light through transparent materials. Now, we revert
back to something resembling the manual method of lightmapping from the
bad old days of PyPRP.

Do note that because we attempt to batch object baking as much as
possible, I have disabled baking lightmaps to transparent objects.
This is because the transparent objects would need its textures disabled
for it to be baked to, but with the textures disabled, the renderer
would be unable to correctly determine the object's transparency. D'oh!
It would be possible, I suppose, to move them into their own batch, but
that makes the state machine a bit more complex. It would be better to
wait for someone to need that functionality, I think.
2018-08-05 17:53:33 -04:00
1bae36b7bc Merge pull request #97 from dpogue/anim-addcallback
Add callbacks flag to chained AnimCmdMsgs
2018-07-08 12:39:07 -04:00
415629890a Add callbacks flag to chained AnimCmdMsgs 2018-07-08 01:33:54 -07:00
4a435ae01b Fix #81
This fix only changes the behavior to use whatever the original
filename is. A complete fix would involve managing sound files and
ensuring that they are ogg-compressed.
2018-07-07 18:23:50 -04:00
6b296dd904 Merge pull request #95 from Hoikas/responder_cmd
Deprecated Responder Command Nodes
2018-07-05 19:30:38 -04:00
6e9e690d8a Ensure only valid responders can be graphed
Responder commands are serialized, so it is not possible to execute a
truly tree-shaped responder. Sigh.
2018-07-04 17:08:45 -04:00
b30f03eafc Responder Command node upgrader/deprecate
Adds a framework for dealing with deprecated logic nodes. First
implementation is for Responder Commands, which hooks the messages
directly onto the Responder States. Note that the old socket definitions
are left alone because the upgrader will need that data.
2018-06-18 19:19:12 -04:00
36a9c3ee43 Update Footstep Region Modifier for Node changes
Footstep Region Modifiers now properly connect Message nodes to
Responder State nodes
2018-06-18 19:03:43 -04:00
35d07d3645 Deprecate Responder Command nodes
This commit removes the ability for Responder State nodes to specify
Responder Command nodes. Now, Responder State nodes reference Message
nodes directly. Messages that support sending callbacks can now
reference other messages as linked outputs.

Note that old node trees are currently broken and will need to be
reworked by hand. TODO is to automatically upgrade those old command
based node trees. Also, LOGICWIZ code using command nodes needs to be
updated.
2018-06-18 19:03:42 -04:00
476ede1405 Fix infinite recursion in Python int attrib nodes 2018-06-18 19:02:24 -04:00
0457dad4ca Merge pull request #92 from Hoikas/game-tracker
Game tracker
2018-06-18 18:20:39 -04:00
8b9846d712 Fix some usability issues with age names.
Disallow exporting from the World panel if the age name is blank and
draw attention to it in the UI.
2018-06-17 21:10:59 -04:00
b5cf75afd1 Handle filepaths better
This change lops off any filename portion of a path and attempts to
verify that it is a valid Uru directory.
2018-06-17 21:10:59 -04:00
0ed6ddd34f Merge pull request #94 from Deledrius/ladder_pots_fix
Fix ladder detector regions for PotS exports.
2018-06-17 16:45:25 -04:00
cb8011c135 Fix ladder detector regions for PotS exports. 2018-06-17 13:43:54 -07:00
e17ada3fca Fix access violation in node socket updates
As it turns out, enumerating a collection that can be modified is a bad
idea. Indeed, Blender expects that we won't do this. Sometimes, it
appears to work, however, other times, Blender is unable to handle it
and the internal data gets corrupted, causing a crash.
2018-06-16 21:29:10 -04:00
bbb02094a1 Add the ability to export to tracked games 2018-05-26 16:35:58 -04:00
3e7b22c344 Rudimentary game tracking 2018-05-26 13:45:19 -04:00
e3b2ce53d6 Fix another idprop oversight 2018-01-13 15:43:19 -05:00
418fbfe86e Fix oversights in fb244df v0.06 2018-01-01 21:27:54 -05:00
c3daa72677 Fix the fix for PotS swim regions 2018-01-01 15:25:04 -05:00
43c84c41f0 Detect invalid nodes in Plasma node trees
and don't raise seemingly random AttributeErrors!
2018-01-01 15:16:47 -05:00
fb244dfc36 Fix broken numeric attribute nodes 2018-01-01 14:59:57 -05:00
3e09bff06f Merge pull request #85 from Hoikas/subworld
Subworlds
2018-01-01 14:59:24 -05:00
7018add7f9 Remove redundancy from modifier names 2017-12-29 18:36:32 -05:00
ccf78561f1 Implement subworlds
This commit includes some bonus improvements for animated parenting
situations that I discovered through sciencing the various MOUL and PotS
PRPs. Hopefully it all works as advertised.
2017-12-29 18:36:31 -05:00
ed5b6d7022 Implement the Filter Transform modifier
This causes an object to be given a plFilterCoordInterface instead of a
plCoordinateInterface. The difference is that plFilterCoordInterface
will reject changes to certain components of an object's transform. This
is useful in certain parenting situations, namely subworlds.
2017-12-29 18:36:31 -05:00
f9bccf6107 Fix ExcludeRegion physics flags for PotS 2017-12-29 18:36:07 -05:00
be223901de Merge pull request #89 from dpogue/dem-fixes
DynaEnvMap fixes
2017-12-29 18:19:41 -05:00
291aad1a98 Fix swim detector physics flags for PotS 2017-12-29 18:03:56 -05:00
b81eeb73ee Merge pull request #91 from dpogue/blend-flag
Don't set multiple exclusive blend flags
2017-12-28 22:51:18 -05:00
893fb86aa4 Don't set multiple exclusive blend flags
This causes the layer to just be entirely transparent.
2017-12-28 19:48:30 -08:00
fd5f01aa74 Merge pull request #86 from dpogue/mat-fixes
Handle shadeless & emit material flags
2017-12-28 18:58:40 -05:00
84bd8cf444 Handle shadeless & emit material flags 2017-12-28 15:17:35 -08:00
10c644691b Merge pull request #90 from dpogue/specular
Add support for specular layers
2017-12-28 16:03:43 -05:00
122d8a1ac5 Merge pull request #87 from dpogue/spansort
Sort spans for opacity modifiers
2017-12-28 16:03:29 -05:00
b9dfb94835 Fetch the Blender install from MSI registry
Somewhere around Blender 2.75, the SCONS build system was removed and
CMake reigned supreme. The installer was of course changed to a Windows
Installer generated by CPack. Unfortunately for us, the registry keys
changed. Windows Installer's registry stuff sucks, but this is the
easiest way for us to get at it.
2017-12-28 16:03:05 -05:00
c34a0d4b9f Add support for specular materials 2017-12-27 21:48:29 -08:00
2a9ecba3de Reorder DEM properties to fix vanishing color prop
Not sure why this was happening, but if you got into a state where no
VisRegion was selected, the Environment Clear Color property would also
disappear.

Reordered to put the Clear Color at the top, so that it works
consistently and also makes it more obvious that it's unrelated to the
visibility regions.
2017-12-27 20:48:13 -08:00
51830c9ff1 Also export the rootNode for DynaEnvMaps 2017-12-27 20:47:41 -08:00
faaff8f882 Update installer to support 64-bit 2017-12-27 17:49:26 -05:00
ed1da6e86a Merge pull request #88 from dpogue/blend-fix
Fix Span/BlendSpan discriminator
2017-12-27 15:30:23 -05:00
9db5be7533 Fix Span/BlendSpan discriminator
We're only a BlendSpan if the *first* layer of a material has a blend.
Other layers are permitted to have blend modes, because those don't
affect the blending of the span itself against other spans.

This matches the behaviour of PlasmaMax:
42c4acbc9d/Sources/Tools/MaxConvert/plMeshConverter.cpp (L1205-L1210)
2017-12-27 01:08:14 -08:00
1ee4c5be51 Sort spans for opacity modifiers 2017-12-26 22:37:09 -08:00
17a7087887 Merge pull request #64 from Deledrius/Ladders
Add Ladders.
2017-12-27 00:41:22 -05:00
bfee3eec82 Reword Add Ladder operator label for consistency. 2017-12-26 19:39:37 -08:00
746b9409aa Merge pull request #1 from Hoikas/ladder-fixes 2017-12-26 19:32:05 -08:00
91f38b519b Thou shalt not animate mine operator... 2017-12-26 18:59:45 -05:00
b3474effc6 Allow custom names for ladder stems 2017-12-26 18:59:45 -05:00
79370bd725 Merge pull request #82 from zrax/exit_binding
Fix __exit__ binding to wrong method, ...
2017-12-21 20:41:07 -05:00