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
3 years ago
Adam Johnson
715ac3f414
Re-add `data_path` arguments for pos and scale controllers.
3 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.
3 years ago
Adam Johnson
4ab6fd7412
Merge pull request #247 from TikiBear/patch-4
...
Enable Shadow-only Lamps
3 years ago
Adam Johnson
d1972b7ec8
Merge pull request #251 from Hoikas/rndsound
...
Implement the Random Sound modifier.
3 years ago
Hazado
f90a689afa
Apply suggestions from code review
...
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
3 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
3 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
Adam Johnson
9a82d32793
Fix #238 .
4 years ago
Jrius
2ad3774917
Allow GroupMaster (MsgForwarder) to animate object data (such as lamps)
4 years ago
Jrius
9443b62e99
(Remove unnecessary addition of 1.0 to UV Y)
4 years ago
Jrius
454c190f87
Convert layer offsets to Plasma's space
4 years ago
Adam Johnson
b4d229e761
Merge pull request #242 from Jrius/region_sensor_receiver_fix
...
Region sensor: assume receiver on parent_so instead of own sceneobject
4 years ago
Jrius
7dcf35f292
Better argument names for _export_volume_event
4 years ago
Adam Johnson
465c431727
Merge pull request #237 from DoobesURU/FirstPersonCam
...
Add First Person Camera Object
4 years ago
Jrius
9defcfe483
Region sensor: assume receiver on parent_so instead of own sceneobject
4 years ago
Adam Johnson
cb30098bda
Merge pull request #239 from DoobesURU/EnvMapAvatarBool
...
Toggle EnvMap Avatar Render
4 years ago
Patrick Dulebohn
4d356ef2c6
Apply suggestions from code review
...
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
4 years ago
Patrick Dulebohn
519516f9a0
Toggle EnvMap Avatar Render
...
Adds a Bool property in the EnvMap properties to toggle avatar rending on and off (fixes some waveset problems)
4 years ago
Patrick Dulebohn
79cab5677c
Make Hoikas' suggested changes
...
Fix up things with better coding!
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
4 years ago
Patrick Dulebohn
59e10c6c9d
Add First Person Camera
...
Adds camera brain for first person types of cameras such as the baron's office desk. Disappears the avatar as well.
4 years ago
Adam Johnson
30ee43b2b7
Nuke accidental debug print.
4 years ago
Adam Johnson
d6072b6689
Fix crash in Path of the Shell related to empty animations.
4 years ago
Adam Johnson
a893ac2725
Fix syntax goof that eats opacity animations.
4 years ago
Adam Johnson
9f97d5d5d1
Merge pull request #236 from Hoikas/moar-anims
...
Implement Material Diffuse Animations
4 years ago
Adam Johnson
763b086b9c
Implement material diffuse animations.
...
Closes #188 .
4 years ago
Adam Johnson
ef58917536
Refactor keyframe handling for material diffuse anims.
...
The old code was objectively terrible and placed the burden of handling
missing values effectively on the user instead of just figuring it out.
This is objectively better in that we can now count on all values being
"known" at keyframe convert time. Whether that "known" is because it's a
real keyframe, we evaluated it, or we pulled it out of our @$$ is
another story, of course.
4 years ago
Adam Johnson
6c278167db
Merge pull request #235 from Hoikas/child-sub-ci-fixage
...
Fix many issues with parented physicals.
4 years ago
Adam Johnson
59d852d330
Fix kickables in subworlds.
4 years ago
Adam Johnson
9a9bfa9ed6
Fix child physicals appearing in the wrong location.
...
A few observed problems:
- In PotS, any physical parented to another object fell through the
floor on link in.
- In MOUL, physicals in a subworld were exported in the wrong coordinate
system. They were exported in local-to-world space, but MOUL expects
them in local-to-subworld space.
- In PotS, any scaled physical parented to another object wiped out the
visual (but not physical) scaling due to an improper flag setting.
4 years ago
Adam Johnson
3b999f550d
Fix child font objects.
...
Font objects were exported as a completely different SceneObject,
causing the parenting relationship to be broken. This ensures that the
drawable is properly attached to the correct SceneObject.
4 years ago