4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-13 08:23:54 -04:00
Commit Graph

1061 Commits

Author SHA1 Message Date
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
cca1a90d1c Fix __exit__ binding to wrong method, and enable the GCC warnings that
could catch this kind of thing (unused static function).
2017-12-05 13:18:41 -08:00
740da9c92b Don't export plOmniSqApplicator to PotS or ABM
This is unimplemented and causes the game to crash when dereferencing a
null controller.
2017-12-02 21:51:30 -05:00
f3b2cd59e7 Use existing collision bounds type for ladder region if one is set. 2017-10-29 14:50:08 -07:00
1b45152734 Merge pull request #75 from Hoikas/proc-mods
Fix #63
2017-10-09 20:23:37 -04:00
170eb694d2 Remove modifiers from objects for baking
If certain modifiers are applied during the bake process, the resulting
lightmap is fullbright. To solve this, we cache the modifier data, clear
them away, then bake. When the export is completed, we then restore the
modifiers.
2017-10-09 16:34:05 -04:00
f6182b05b5 Update LM preview to apply modifiers as well 2017-10-08 23:49:26 -04:00
b98aec8840 Fix #63 2017-10-08 23:49:26 -04:00
ba98e029e2 Merge pull request #77 from Hoikas/moar-lightmapz
Fix Lightmapping Issues
2017-10-08 23:31:54 -04:00
5e067388b3 Suppress "Use Vertex Color Paint" for lightmaps
This prevents lighting from being rendered to a texture, as noticed by
@deledrius
2017-10-08 22:55:14 -04:00
0b4da161ff Only allow LM previews in Object mode
Generating lightmap previews in edit mode is nonsense. Also, there is
some issue in blender with changing the image assignment programatically
while in edit mode, so it's best to just disallow this entirely.
2017-10-08 22:12:31 -04:00
31dacce6b2 Fix hidden UVs not being lightmapped 2017-10-08 22:03:43 -04:00
6417188285 Create Plasma 'Add' menu and premade ladder. 2017-10-07 20:52:05 -07:00
c620b3b666 Add plAvLadderMod.
Adds modifier panel and export for Uru-style ladders.
2017-10-07 20:46:05 -07:00
effaa88920 Merge pull request #65 from Deledrius/journalmod
Add a simple JournalMod.
2017-10-07 23:34:22 -04:00
c4202b49f4 Fix another IDProp oversight 2017-10-07 23:28:25 -04:00
ee822c1fbd Remove crazy from korlib PythonInterp selection 2017-10-07 23:27:57 -04:00
5e8196b984 Merge pull request #73 from Deledrius/simple_node_display
Show value of simple nodes in their label when collapsed.
2017-10-03 23:56:02 -04:00
790fd9f399 Fix error when trying to get keywords of ptAttrib without arguments. 2017-10-03 20:47:24 -07:00
3fd77ce8f5 Fix reading plWAVHeader in korlib.
The plWAVHeader expects to start its read *after* the chunk size.
2017-10-03 20:47:01 -07:00
8bf863b674 Merge pull request #74 from Deledrius/wav_fixes
Wave file fixes.
2017-10-03 23:33:54 -04:00
c2ea65c719 Fix crash when exporting sounds. 2017-10-03 20:27:37 -07:00
076a7088a2 Use WAV header and size information instead of throwing it out. 2017-10-03 20:26:31 -07:00
ae9e3a2695 Fix korlib not reading Wave files when compiled module present.
Improves chunk parsing to be more flexible.
2017-10-03 19:59:31 -07:00
3736df84ba Show value of simple nodes in their label when collapsed. 2017-10-02 19:51:01 -07:00
3714373fc6 Merge pull request #68 from Deledrius/pfm_attributes
Add support for PythonFileNode attributes arguments.
2017-10-02 20:59:32 -04:00
72547b0570 Use Python Node Attribute Arguments.
Parses and loads the PFM arguments into accessible properties, used
by numeric nodes for range, dropdown nodes for enums, etc.

Also moves PlasmaAttribDropDownListNode into its proper alphabetical
position.
2017-10-02 17:58:08 -07:00
448d855a1e Fix #62 2017-10-02 20:33:47 -04:00
c33e17d6ce Merge pull request #72 from dpogue/reflect-flags
Use Reflection Xform for env maps
2017-10-02 20:18:22 -04:00
94dd8b1de3 Merge pull request #70 from dpogue/detail-blend
Set kBlendDetail flag on detail blends
2017-10-02 20:17:58 -04:00
4066dff6ae Use Reflection Xform for env maps
Refraction Xform causes the camera movement to affect the resulting
output differently, leading to an envmap that seems to run around the
object in the opposite direction as you turn.

Reflection Xform keeps it much more steady, and also matches what
PlasmaMax outputs by default (they have a checkbox to use Refract mode).
2017-10-01 19:30:23 -07:00
acc9aa54b1 Set kBlendDetail flag on detail blends 2017-10-01 17:27:36 -07:00
8f65ce2fac Merge pull request #66 from Hoikas/hulls
Convex Hull Improvement
2017-10-01 17:13:37 -04:00