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
Patrick Dulebohn
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.
4 years ago
Adam Johnson
33c4ac9821
Merge pull request #225 from DoobesURU/SoundAnimFix
...
Fix volume animation conversion
4 years ago
Patrick Dulebohn
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.
4 years ago
Patrick Dulebohn
2f6fa7a75d
Fix SDL state for animated lamps
...
Slight indent change to enable SDL states for lamp RGB and energy animations.
4 years ago
Patrick Dulebohn
891b8f3fca
More adjustments and fixes
...
Another batch of fixes and slight UI adjustment per Hoikas.
4 years ago
Patrick Dulebohn
b9db547669
Even more added fixes
...
More Hoikas suggestions that should get things ready for review.
4 years ago
Patrick Dulebohn
1e9ceccc9c
More fixes per Hoikas
...
Adjusting things according to Hoikas' notes. The globalVarName is once again not exporting with the AgeGlobalAnim.
4 years ago
Patrick Dulebohn
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.
4 years ago
Patrick Dulebohn
6bb0b32a3c
Bring more sanity to animation exporter
...
Rearrange a few things and some sanity checks.
4 years ago
Patrick Dulebohn
32e2553d36
Add plAgeGlobalAnim support
...
Adds SDL Global animation to Korman
4 years ago
Adam Johnson
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.
4 years ago
Adam Johnson
1a31eafe77
Merge pull request #210 from Hoikas/render
...
DSpan Export Improvements
4 years ago
Adam Johnson
36b798c253
Merge pull request #215 from TikiBear/patch-2
...
Fix bugs caused by using Decimate modifier
4 years ago
Adam Johnson
3abb36b4c4
Partially revert the emissive stuff.
4 years ago
Mark Eggert
9b061154dc
Update mesh.py
...
Fix Blender Decimate mod crash. Better syntax.
4 years ago
Mark Eggert
8f3a94589e
Update mesh.py
...
Prevent export of Blender Decimate modifier from failing and corrupting Blender file!
4 years ago