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
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
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
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
Adam Johnson
f7499f25bb
Add some age detail validation nastygrams.
...
Fixes #234 .
4 years ago
Adam Johnson
2cff0d9464
Don't encrypt any MOUL files at all.
...
This should be done by a build tool, eg UruManifest </shamelessplug>
4 years ago
Adam Johnson
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.
4 years ago
Adam Johnson
64c59480e5
Who reviewed this?
4 years ago
Adam Johnson
d48b83d2f1
Merge pull request #219 from DoobesURU/ObjectSDLAnimation
...
Add plAgeGlobalAnim support
4 years ago
Adam Johnson
7757d9b578
Merge pull request #232 from Hoikas/float-fog
...
Round funny values to hide float precision details.
4 years ago
Adam Johnson
5426643eec
Round funny values to hide float precision details.
4 years ago
Adam Johnson
a0022ef067
Fix #227 .
4 years ago
Adam Johnson
f4efe15e3d
Merge pull request #226 from DoobesURU/FixExpFog
...
Fix Exponential Fog
4 years ago
Adam Johnson
d1baf0ee04
Merge pull request #231 from DoobesURU/WindObjFix
...
Wind Object fix
4 years ago
Patrick Dulebohn
7d82db3185
Wind Object fix
...
A long time coming but only now just fixed, but this makes a small correction to the wind object part of the waveset modifier to get it to work.
4 years ago
Adam Johnson
6c8325d2f9
Merge pull request #230 from Hoikas/moar-lighting
...
More DSpan Lighting Fixes
4 years ago
Adam Johnson
172d8083aa
Only set runtime colors to black if we are not preshading.
...
Otherwise, what we wind up doing is making it pretty much impossible for
RT lights to affect objects with kLiteMaterial.
4 years ago
Adam Johnson
39a3a88bb8
Ensure PFM-related lights are marked animated.
4 years ago
Patrick Dulebohn
cf217d3528
Add Linear Fog Value Warning
...
Warns the user if the linear fog start value is greater than the end value, which can cause visual fog problems.
4 years ago