Darryl Pogue
8fcb728abb
Add FogEnvironment modifier
7 years ago
Adam Johnson
740da9c92b
Don't export plOmniSqApplicator to PotS or ABM
...
This is unimplemented and causes the game to crash when dereferencing a
null controller.
7 years ago
Adam Johnson
1b45152734
Merge pull request #75 from Hoikas/proc-mods
...
Fix #63
7 years ago
Adam Johnson
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.
7 years ago
Adam Johnson
f6182b05b5
Update LM preview to apply modifiers as well
7 years ago
Adam Johnson
b98aec8840
Fix #63
7 years ago
Adam Johnson
ba98e029e2
Merge pull request #77 from Hoikas/moar-lightmapz
...
Fix Lightmapping Issues
7 years ago
Adam Johnson
5e067388b3
Suppress "Use Vertex Color Paint" for lightmaps
...
This prevents lighting from being rendered to a texture, as noticed by
@deledrius
7 years ago
Adam Johnson
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.
7 years ago
Adam Johnson
31dacce6b2
Fix hidden UVs not being lightmapped
7 years ago
Adam Johnson
effaa88920
Merge pull request #65 from Deledrius/journalmod
...
Add a simple JournalMod.
7 years ago
Adam Johnson
c4202b49f4
Fix another IDProp oversight
7 years ago
Adam Johnson
ee822c1fbd
Remove crazy from korlib PythonInterp selection
7 years ago
Adam Johnson
5e8196b984
Merge pull request #73 from Deledrius/simple_node_display
...
Show value of simple nodes in their label when collapsed.
7 years ago
Joseph Davies
790fd9f399
Fix error when trying to get keywords of ptAttrib without arguments.
7 years ago
Joseph Davies
3fd77ce8f5
Fix reading plWAVHeader in korlib.
...
The plWAVHeader expects to start its read *after* the chunk size.
7 years ago
Adam Johnson
8bf863b674
Merge pull request #74 from Deledrius/wav_fixes
...
Wave file fixes.
7 years ago
Joseph Davies
c2ea65c719
Fix crash when exporting sounds.
7 years ago
Joseph Davies
076a7088a2
Use WAV header and size information instead of throwing it out.
7 years ago
Joseph Davies
ae9e3a2695
Fix korlib not reading Wave files when compiled module present.
...
Improves chunk parsing to be more flexible.
7 years ago
Joseph Davies
3736df84ba
Show value of simple nodes in their label when collapsed.
7 years ago
Adam Johnson
3714373fc6
Merge pull request #68 from Deledrius/pfm_attributes
...
Add support for PythonFileNode attributes arguments.
7 years ago
Joseph Davies
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.
7 years ago
Adam Johnson
448d855a1e
Fix #62
7 years ago
Adam Johnson
c33e17d6ce
Merge pull request #72 from dpogue/reflect-flags
...
Use Reflection Xform for env maps
7 years ago
Adam Johnson
94dd8b1de3
Merge pull request #70 from dpogue/detail-blend
...
Set kBlendDetail flag on detail blends
7 years ago
Darryl Pogue
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).
7 years ago
Darryl Pogue
acc9aa54b1
Set kBlendDetail flag on detail blends
7 years ago
Adam Johnson
8f65ce2fac
Merge pull request #66 from Hoikas/hulls
...
Convex Hull Improvement
7 years ago
Adam Johnson
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. :(
7 years ago
Marein Könings
dc547a05d9
Add rudimentary DropDownList logic node, with a string as input
7 years ago
Joseph Davies
8cbbb17f32
Add missing visitor for signed numerics.
7 years ago
Joseph Davies
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.
7 years ago
Adam Johnson
9029b2b792
Merge pull request #67 from Hoikas/moar_toolbox
...
Moar Toolbox Schtuff
7 years ago
Adam Johnson
5eef79223f
Add a Disable All tool for Plasma Objects
7 years ago
Adam Johnson
5ac7ac149a
Add a Plasma Object toggle tool for dendwaler
7 years ago
Adam Johnson
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.
7 years ago
Adam Johnson
b6b065e253
Fix op_toolbox.py ordering
7 years ago
Adam Johnson
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.
7 years ago
Adam Johnson
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.
7 years ago
Joseph Davies
0fa352c563
Add base class to Python node socket classes.
...
This adds the necessary alias properties used by socket connection
functions.
7 years ago
Joseph Davies
a9e94d8254
Fix node class/idname mismatch.
7 years ago
Joseph Davies
368c49aca3
Merge pull request #56 from Hoikas/idprops
...
ID Datablock Properties
7 years ago
Adam Johnson
d8dd3cc8b0
Ensure node trees are upgraded properly
7 years ago
Adam Johnson
484b16925a
Convert the rest of the message nodes to ID props
7 years ago
Adam Johnson
9f158c3726
Update Texture props to ID properties
7 years ago
Adam Johnson
6c5dff5d56
Update RT Lights to IDProps
7 years ago
Adam Johnson
5344a652c4
Convert python nodes to ID props
7 years ago
Adam Johnson
ebe1b1bdb5
Convert more logic nodes to newfangled ID props
7 years ago
Adam Johnson
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.
7 years ago