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
5426643eec
Round funny values to hide float precision details.
2021-02-11 15:18:08 -05:00
a0022ef067
Fix #227 .
2021-02-10 21:42:44 -05:00
f4efe15e3d
Merge pull request #226 from DoobesURU/FixExpFog
...
Fix Exponential Fog
2021-02-10 21:34:19 -05:00
d1baf0ee04
Merge pull request #231 from DoobesURU/WindObjFix
...
Wind Object fix
2021-02-05 11:34:03 -05:00
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.
2021-02-05 11:31:00 -05:00
6c8325d2f9
Merge pull request #230 from Hoikas/moar-lighting
...
More DSpan Lighting Fixes
2021-01-07 00:33:39 -05:00
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.
2021-01-06 16:53:47 -05:00
39a3a88bb8
Ensure PFM-related lights are marked animated.
2021-01-06 12:09:42 -05:00
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.
2020-10-27 10:44:19 -04:00
4c37ad41fa
Fix Exponential Fog
...
For some reason, SetDefExp2 type fog doesn't seem to work upon export, but regular SetDefExp does. This is just a proposed minor change to use the regular SetDefExp option if fixing the other is too big a task.
2020-10-20 15:46:26 -04:00
33c4ac9821
Merge pull request #225 from DoobesURU/SoundAnimFix
...
Fix volume animation conversion
2020-10-14 18:55:28 -04:00
09e7418e72
Fix volume conversion
...
Keyframes need negative values in order for sound volume animations to work properly, and this change, per Hoikas, will fix this.
2020-10-14 17:30:36 -04:00
2f6fa7a75d
Fix SDL state for animated lamps
...
Slight indent change to enable SDL states for lamp RGB and energy animations.
2020-10-12 20:03:47 -04:00
891b8f3fca
More adjustments and fixes
...
Another batch of fixes and slight UI adjustment per Hoikas.
2020-10-09 20:26:07 -04:00
b9db547669
Even more added fixes
...
More Hoikas suggestions that should get things ready for review.
2020-10-09 18:16:24 -04:00
1e9ceccc9c
More fixes per Hoikas
...
Adjusting things according to Hoikas' notes. The globalVarName is once again not exporting with the AgeGlobalAnim.
2020-10-09 16:41:33 -04:00
c5552f890c
Separate ATC and AgeGlobal in Props
...
Separates ATC and AgeGlobal animtaions so we don't get any doubles between the two. Also, AgeGlobal doesn't need auto start and loop values as it does that automatically.
2020-10-09 12:30:30 -04:00
6bb0b32a3c
Bring more sanity to animation exporter
...
Rearrange a few things and some sanity checks.
2020-10-09 11:23:28 -04:00
32e2553d36
Add plAgeGlobalAnim support
...
Adds SDL Global animation to Korman
2020-10-09 11:08:24 -04:00
4f18f64fe7
Adjust linking book mod MSB to match Cyan's.
...
This fixes no readily apparent bug, but it's best to match the existing
data when we can to prevent future GOTCHAs.
2020-10-08 19:49:44 -04:00
1a31eafe77
Merge pull request #210 from Hoikas/render
...
DSpan Export Improvements
2020-10-06 20:17:14 -04:00
36b798c253
Merge pull request #215 from TikiBear/patch-2
...
Fix bugs caused by using Decimate modifier
2020-10-05 23:13:50 -04:00
3abb36b4c4
Partially revert the emissive stuff.
2020-10-05 19:13:06 -04:00
9b061154dc
Update mesh.py
...
Fix Blender Decimate mod crash. Better syntax.
2020-10-05 12:45:44 -07:00
8f3a94589e
Update mesh.py
...
Prevent export of Blender Decimate modifier from failing and corrupting Blender file!
2020-10-04 12:19:45 -07:00
b0c552ae6a
Kickables should be runtime lit.
2020-10-02 23:35:31 -04:00
a203e109ba
Properly set the layer colors and emissive flag.
...
This fixes the layer preshade color to be black when runtime lighting is
requested. Further, both preshade and runtime are properly set to black
for emissive layers.
2020-10-02 23:35:31 -04:00