4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 02:27:36 -04:00
Commit Graph

431 Commits

Author SHA1 Message Date
31dacce6b2 Fix hidden UVs not being lightmapped 2017-10-08 22:03:43 -04: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
71fe4dcdba Fix adding sounds to Sound Emitter mods
This was not completely converted to the new ID Property scheme, it
appears. We have to use an intermediate string property so we can have
get/set callbacks. :(
2017-10-01 14:04:28 -04:00
dc547a05d9 Add rudimentary DropDownList logic node, with a string as input 2017-10-01 05:28:51 -07:00
8cbbb17f32 Add missing visitor for signed numerics. 2017-10-01 05:28:18 -07:00
cdb630af16 Add simple Journal Book modifier.
This modifier automatically constructs the necessary node tree
to create a basic, working Journal.  It exposes only essential
fields to the artist.
2017-09-30 21:36:12 -07:00
9029b2b792 Merge pull request #67 from Hoikas/moar_toolbox
Moar Toolbox Schtuff
2017-09-30 23:28:02 -04:00
5eef79223f Add a Disable All tool for Plasma Objects 2017-09-30 23:27:44 -04:00
5ac7ac149a Add a Plasma Object toggle tool for dendwaler 2017-09-30 23:27:43 -04:00
13d6b94e3f Add a more useful PyPRP->Korman Plasma Object tool
This actually inspects the old style page_num property and will put the
objects into the correct page if the page has been created by the
artist. Fancy.
2017-09-30 23:27:43 -04:00
b6b065e253 Fix op_toolbox.py ordering 2017-09-30 22:35:35 -04:00
b7ac558035 Fix verbose logging crash
It appears that when the progress logger was broken up into separate
classes, the progress_end function was not properly split and some
threading functionality remained in the base class.
2017-09-30 21:15:47 -04:00
84f43a024c Use Blender's convex hull baking for hull bounds
This moves convex hull generation from the file serialization stage to
the object export stage. No longer are we dependent on spotty library
support for proper convex hulls.
2017-09-30 20:52:11 -04:00
0fa352c563 Add base class to Python node socket classes.
This adds the necessary alias properties used by socket connection
functions.
2017-08-26 19:28:09 -07:00
a9e94d8254 Fix node class/idname mismatch. 2017-08-26 17:34:15 -07:00
368c49aca3 Merge pull request #56 from Hoikas/idprops
ID Datablock Properties
2017-08-19 17:05:13 -07:00
d8dd3cc8b0 Ensure node trees are upgraded properly 2017-08-19 19:59:35 -04:00
484b16925a Convert the rest of the message nodes to ID props 2017-08-19 19:59:35 -04:00
9f158c3726 Update Texture props to ID properties 2017-08-19 19:59:35 -04:00
6c5dff5d56 Update RT Lights to IDProps 2017-08-19 19:59:35 -04:00
5344a652c4 Convert python nodes to ID props 2017-08-19 19:59:35 -04:00
ebe1b1bdb5 Convert more logic nodes to newfangled ID props 2017-08-19 19:59:35 -04:00
1b3afbe8d4 Convert sound modifiers to newfangled ID Props
Unfortunately, sound indices do not match up directly with sound ID
blocks, therefore, those remain string properties.
2017-08-19 19:59:35 -04:00
b6418a557b Update Render mods to new ID props 2017-08-19 19:59:35 -04:00
4de9ca0727 Update SoftVolumes to newfangled ID properties 2017-08-19 19:59:35 -04:00
9ec511493a Update Logic Modifiers to ID props 2017-08-19 19:59:35 -04:00
1fe8ecc02d Update Avatar Modifiers and Condition Nodes 2017-08-19 19:59:35 -04:00
904f9b8f77 Update anim modifiers to ID props 2017-08-19 19:59:35 -04:00
7503676d74 Convert water modifier fake-ID props to ID props
I have also added some poll helpers to the idprops module so every time
we use an ID Datablock Property, we won't have to reinvent the wheel. I
also noticed that PointerProperties have to be a direct descendent of
`bpy.types.ID` otherwise Blender crashes. This kind of makes sense and
is not a huge issue to have to work around.
2017-08-19 19:59:35 -04:00
2d3d9495dd Implement an object name -> ID Property converter
This effectively bumps the minimum requirement to Blender 2.79.
Furthermore, any blendfiles saved with ID Datablock properties will
crash earlier versions of Blender. You have been warned...

After approximately 24 hours of writing, rewriting, and cursing Blender,
this appears to be the most flexible way of magically upgrading our old
string properties to ID Datablock properties. The general hacky-ness is
due to limitations in Blender's API.

Here's how it works... In your property group (node, modifier, etc) you
will need to implement the classmethod `_idprop_mapping`. This will map
new ID Datablock property attribute names to old string property
attribute names. Further, you will need to implement the
`_idprop_sources` method. This will map string property attribute names
to a collection to fetch the ID from. If you have specific filtering
rules to follow, they can be implemented here :).

To ensure code sanity, any attempts to access string properties that
have been marked as converted will now fail with an AttributeError.
Happy haxxoring!
2017-08-19 19:59:35 -04:00
c0f2e97a50 Fix swim current python nodes oversight 2017-06-17 14:38:31 -04:00
7243e1bbcd Merge pull request #58 from Hoikas/progress
Improved export progress logging
2017-06-17 00:15:49 -04:00