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

933 Commits

Author SHA1 Message Date
9884e7a061 Fix #260.
Adds the ability to reset and/or delete all modifiers on a single
blender object.
2021-07-27 23:13:50 -04:00
29eb163634 Merge pull request #254 from Hazado/patch-1
Support for quaternion rotation animations
2021-06-14 14:57:31 -04:00
715ac3f414 Re-add data_path arguments for pos and scale controllers. 2021-06-13 21:30:03 -04:00
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.
2021-06-12 00:37:28 -04:00
4ab6fd7412 Merge pull request #247 from TikiBear/patch-4
Enable Shadow-only Lamps
2021-06-11 13:14:04 -04:00
d1972b7ec8 Merge pull request #251 from Hoikas/rndsound
Implement the Random Sound modifier.
2021-06-09 23:26:28 -04:00
f90a689afa Apply suggestions from code review
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
2021-06-09 12:43:38 -07:00
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
2021-06-08 20:54:23 -07:00
484813955b Add the "User" surface types.
Because Cyan used these in Relto, and we need them to be available for
ZLZ doggone it.
2021-05-30 19:21:48 -04:00
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.
2021-05-05 07:12:37 -04:00
32bd8bd75d Enable Shadow-Only Lamps
Remove bad clause in Shadow-Only lamp logic.
2021-05-03 21:59:42 -07:00
0ac6be879e Implement the Random Sound modifier. 2021-05-02 23:24:19 -04:00
91bace85a4 Merge pull request #249 from Hoikas/grass-shader
Add grass shader modifier (MOUL only).
2021-04-28 19:44:18 -04:00
1a3533f55f Add grass shader modifier (MOUL only). 2021-04-27 21:49:56 -04:00
d07592a3a9 Fix potential crash when converting images exported by GIMP. 2021-04-26 20:40:37 -04:00
8aaca6e424 Update rtlight.py
Enable shadow-only lamps.
2021-04-26 07:05:12 -07:00
a20101ca28 Merge pull request #246 from Hoikas/fix-emissive-lightmaps
Fix emissive lightmaps broken by a203e10.
2021-04-25 23:58:16 -04:00
4d013bb670 Fix emissive lightmaps broken by a203e10. 2021-04-24 19:36:29 -04:00
32147354fc Merge pull request #243 from Jrius/layer_offset_fix
Convert layer offsets to Plasma's space
2021-04-24 17:54:40 -04:00
81e51c3b64 Merge pull request #245 from Jrius/mastermod_anim_light
Allow GroupMaster (MsgForwarder) to animate object data (such as lamps)
2021-04-24 15:02:06 -04:00
ca23fbf5f8 GroupMaster: simplify using has_animation_data 2021-04-24 14:30:24 +02:00
9a82d32793 Fix #238. 2021-04-23 21:52:20 -04:00
2ad3774917 Allow GroupMaster (MsgForwarder) to animate object data (such as lamps) 2021-04-23 18:13:00 +02:00
9443b62e99 (Remove unnecessary addition of 1.0 to UV Y) 2021-04-16 21:27:36 +02:00
454c190f87 Convert layer offsets to Plasma's space 2021-04-16 19:51:55 +02:00
b4d229e761 Merge pull request #242 from Jrius/region_sensor_receiver_fix
Region sensor: assume receiver on parent_so instead of own sceneobject
2021-04-15 19:50:37 -04:00
7dcf35f292 Better argument names for _export_volume_event 2021-04-15 21:20:09 +02:00
465c431727 Merge pull request #237 from DoobesURU/FirstPersonCam
Add First Person Camera Object
2021-04-15 14:55:28 -04:00
9defcfe483 Region sensor: assume receiver on parent_so instead of own sceneobject 2021-04-15 19:57:21 +02:00
cb30098bda Merge pull request #239 from DoobesURU/EnvMapAvatarBool
Toggle EnvMap Avatar Render
2021-03-26 11:22:39 -04:00
4d356ef2c6 Apply suggestions from code review
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
2021-03-26 11:21:46 -04:00
519516f9a0 Toggle EnvMap Avatar Render
Adds a Bool property in the EnvMap properties to toggle avatar rending on and off (fixes some waveset problems)
2021-03-26 11:16:29 -04:00
79cab5677c Make Hoikas' suggested changes
Fix up things with better coding!

Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
2021-02-23 18:57:58 -05:00
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.
2021-02-23 09:21:27 -05:00
30ee43b2b7 Nuke accidental debug print. v0.11a 2021-02-22 15:32:24 -05:00
d6072b6689 Fix crash in Path of the Shell related to empty animations. 2021-02-22 15:31:03 -05:00
a893ac2725 Fix syntax goof that eats opacity animations. 2021-02-22 15:22:43 -05:00
9f97d5d5d1 Merge pull request #236 from Hoikas/moar-anims
Implement Material Diffuse Animations
v0.11
2021-02-19 21:51:30 -05:00
763b086b9c Implement material diffuse animations.
Closes #188.
2021-02-18 19:17:05 -05:00
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.
2021-02-18 19:16:51 -05:00
6c278167db Merge pull request #235 from Hoikas/child-sub-ci-fixage
Fix many issues with parented physicals.
2021-02-17 19:01:23 -05:00
59d852d330 Fix kickables in subworlds. 2021-02-17 18:29:07 -05:00
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.
2021-02-17 17:29:39 -05:00
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.
2021-02-17 15:09:35 -05:00
f7499f25bb Add some age detail validation nastygrams.
Fixes #234.
2021-02-16 20:37:42 -05:00
2cff0d9464 Don't encrypt any MOUL files at all.
This should be done by a build tool, eg UruManifest </shamelessplug>
2021-02-16 20:05:24 -05:00
419a6f396e Fix incorrect FPS assumption with layer animations.
This was troublesome in that the Blender documentation implies that
`FCurve.range()` returns times when it actually returns frame numbers.
This superceeds and closes #216. Prefer this fix because
`functools.reduce` is not as readable and the formatting is closer to
what exists in the animation converter.
2021-02-16 20:03:32 -05:00
64c59480e5 Who reviewed this? 2021-02-16 19:47:45 -05:00
d48b83d2f1 Merge pull request #219 from DoobesURU/ObjectSDLAnimation
Add plAgeGlobalAnim support
2021-02-16 19:27:28 -05:00
7757d9b578 Merge pull request #232 from Hoikas/float-fog
Round funny values to hide float precision details.
2021-02-16 19:18:18 -05:00