Jrius
8c6e49ea50
Smarter handling of BMesh. Sharp edges are ignored only if auto-smooth
...
is on, just like Blender does.
3 years ago
Jrius
fc77f67ecc
Vertex color smoothing, preserving sharp edges
3 years ago
Adam Johnson
4adbeb7cc2
Merge pull request #269 from Hoikas/lighting_no_uvtouching
...
Don't touch my UV maps!
3 years ago
Adam Johnson
0435a943b6
Move uv select all per @Jrius .
3 years ago
Adam Johnson
9c6d862fff
Merge pull request #268 from DoobesURU/AddBackExp2Fog
...
Add Back Exp2 Fog
3 years ago
Patrick Dulebohn
b46188b22e
Update Fog Type Descriptions
3 years ago
Adam Johnson
b18ce1c5c0
Fix "no valid lights" in lightmap preview op.
3 years ago
Adam Johnson
0f5f9f34c8
Regenerate lightmap UVs on ephemeral meshes.
3 years ago
Adam Johnson
dc93d93b32
Apply suggestion from CR.
...
Co-authored-by: Jrius <2261279+Jrius@users.noreply.github.com>
3 years ago
Adam Johnson
d22b7170b7
Fix mesh manager chicken/egg problem.
3 years ago
Adam Johnson
1c21295432
Apply suggestions from CR.
...
Co-authored-by: Jrius <2261279+Jrius@users.noreply.github.com>
3 years ago
Patrick Dulebohn
069818e7bd
Add Back Exp2 Fog
...
Reintroduces the Exp2 Fog option and also updates the "none" fog function description.
3 years ago
Adam Johnson
6f83192909
Add a few more profiling helpers.
...
Especially useful is the log print before converting the mesh verticies.
This is the slowest part of Korman, per profiling.
3 years ago
Adam Johnson
6af1a40072
Don't touch my UV maps!
...
It's better to trust the artist to know what they are doing if they
provide a uv map for the lightmap modifier to use. Closes #265 .
3 years ago
Adam Johnson
15bbcc3d89
Fix #266 .
...
This ensures that autocolor layers are disposed before their temporary
mesh objects are disposed.
3 years ago
Adam Johnson
1a60a47ef5
Merge pull request #261 from Hoikas/lighting_noregen
...
Persistent Baked Lighting
3 years ago
Adam Johnson
304f23bd00
Don't touch my Col layer!
...
In user testing, the "Bake All" operator overwriting the "Col" layer was
blowing away too much manual shading, reducing the usefulness of the
feature severely. This changes us to using the "autocolor" layer and
making it a somewhat ephemeral coloring layer. Any "autocolor" layer
generated by the exporter should be removed when the export finishes.
Otherwise, it should persist.
3 years ago
Adam Johnson
9517c06741
Remove incorrect crash hack.
...
This didn't seem to fix the problem in previous testing; however, it
seems to have been fixed in force push change.
3 years ago
Adam Johnson
8634cf3e89
Simplify lightmap packing.
3 years ago
Adam Johnson
b2859a3a41
Don't track lightmaps by name.
...
That's bugprone and can lead to pain.
3 years ago
Adam Johnson
7eb9111236
Add vcol clear warning.
...
This is so artists who manually paint their vertex colors on won't be
surprised when they are nuked from orbit.
3 years ago
Adam Johnson
f52669e78f
Allow persistent baked lighting.
...
You can now bake "finalized" lighting to either vertex colors or a
lightmap image. This can be done either from the toolbox or from the
individual lightmap modifier. The purpose of doing this is to allow the
artist to opt-into a workflow where they can chose when to incur the
performance penalty, instead of on export. The downside is that the
artist now has to manually click a bake button. But, for some Ages,
especially "finished" ones receiving small updates, there is no need to
rebake the lighting each export.
3 years ago
Adam Johnson
61b0178e05
Fix spurious autocolor generation.
3 years ago
Adam Johnson
599dccb872
Allow previewing vertex lighting from lightmap mod.
...
This is the beginning of a workflow loop to (hopefully) improve the
performance of exporting Ages with expensive lighting. This commit
allows you to generate the autocolor layer in the Korman UI and rename
it to `col` to prevent needless re-baking.
3 years ago
Adam Johnson
6b0b6f8e75
Projection lamps don't need to be LPMovable.
...
As of the HSPlasma changes to generate proper bounds, this causes
projection lights to affect things more correctly, exposing this
problem.
3 years ago
Adam Johnson
480b37c89b
Add profile button to world export menu.
3 years ago
Adam Johnson
8c15794dac
Fix single-face cube map issue.
...
If a cube map's image filename did not contain a `_` character, then a
traceback was triggered.
3 years ago
Adam Johnson
bda85fdf3d
Fix #177 .
...
Mark any (re-)generated cube maps as needing to be re-cached.
3 years ago
Adam Johnson
e6051f6d7e
Fix type error with SoundMsg node.
...
Reported on the forum by dendwaler
https://forum.guildofwriters.org/viewtopic.php?p=75543#p75543
3 years ago
Adam Johnson
9884e7a061
Fix #260 .
...
Adds the ability to reset and/or delete all modifiers on a single
blender object.
3 years ago
Adam Johnson
29eb163634
Merge pull request #254 from Hazado/patch-1
...
Support for quaternion rotation animations
4 years ago
Adam Johnson
715ac3f414
Re-add `data_path` arguments for pos and scale controllers.
4 years ago
Adam Johnson
22ac9ae735
Support all types of rotation animations.
...
This allows you to explicitly select quaternion animations. These appear
to be the default for bone animations and were silently dropped on the
floor before this change. A selection of quaternion or axis angle
implicitly disables bezier interpolation. Also fix the assumption that
Eulers are always in XYZ order.
4 years ago
Adam Johnson
4ab6fd7412
Merge pull request #247 from TikiBear/patch-4
...
Enable Shadow-only Lamps
4 years ago
Adam Johnson
d1972b7ec8
Merge pull request #251 from Hoikas/rndsound
...
Implement the Random Sound modifier.
4 years ago
Hazado
f90a689afa
Apply suggestions from code review
...
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
4 years ago
Hazado
4c621f6457
Support for quaternion rotation animations
...
Put this together, through trial and error
There are probably better way to do this
Was able to export quaternion animation with it
4 years ago
Adam Johnson
484813955b
Add the "User" surface types.
...
Because Cyan used these in Relto, and we need them to be available for
ZLZ doggone it.
4 years ago
Adam Johnson
1ccdd2e116
Adapt sound message node for random sound emitters.
...
When an emitter is a random sound emitter, then it is no longer possible
to address the individual sounds on that emitter. Instead, you can now
only stop or resume the randomization OR set the volume of the active
sound.
4 years ago
Mark Eggert
32bd8bd75d
Enable Shadow-Only Lamps
...
Remove bad clause in Shadow-Only lamp logic.
4 years ago
Adam Johnson
0ac6be879e
Implement the Random Sound modifier.
4 years ago
Adam Johnson
91bace85a4
Merge pull request #249 from Hoikas/grass-shader
...
Add grass shader modifier (MOUL only).
4 years ago
Adam Johnson
1a3533f55f
Add grass shader modifier (MOUL only).
4 years ago
Adam Johnson
d07592a3a9
Fix potential crash when converting images exported by GIMP.
4 years ago
Mark Eggert
8aaca6e424
Update rtlight.py
...
Enable shadow-only lamps.
4 years ago
Adam Johnson
a20101ca28
Merge pull request #246 from Hoikas/fix-emissive-lightmaps
...
Fix emissive lightmaps broken by a203e10
.
4 years ago
Adam Johnson
4d013bb670
Fix emissive lightmaps broken by a203e10
.
4 years ago
Adam Johnson
32147354fc
Merge pull request #243 from Jrius/layer_offset_fix
...
Convert layer offsets to Plasma's space
4 years ago
Adam Johnson
81e51c3b64
Merge pull request #245 from Jrius/mastermod_anim_light
...
Allow GroupMaster (MsgForwarder) to animate object data (such as lamps)
4 years ago
Jrius
ca23fbf5f8
GroupMaster: simplify using has_animation_data
4 years ago