OpenMLTD / MLTDTools

Tools for THE iDOLM@STER Million Live! Theater Days (MLTD/MiriShita/ミリシタ) / 偶像大师百万演唱会剧场时光工具箱
BSD 3-Clause Clear License
139 stars 17 forks source link

Fix camera computation #18

Closed hozuki closed 4 years ago

hozuki commented 4 years ago

Coordinate computation in camera motion is still buggy. May be because of LHS to RHS transformation.

hozuki commented 4 years ago

There are some strage values in camera curves.

For example, look at frame ~5602 of alstar. Comparing to the reference visual, the converted camera is at a different position, with completely different Y (i.e. below the stage, XOZ plane).

Coverted:

pos = (-11.06979, 3.231802, -34.16661)
rot = (-9.7438932, 164.6800598, 0.7779374)

To reproduce the reference visual:

pos = (-11.06979, ~8.0, -34.16661)
rot = (~-2.74, 164.6800598, 0.7779374)
hozuki commented 4 years ago

At least starting from Glow Map, scenario introduced procedural camera control (type 58).

hozuki commented 4 years ago

General camera orientation was fixed in commits a17b8b7ceabbafd6338b1dcef4f9a48fd18328a7 and 8a0a2de03b4be808a1cb886186f1efa4e4050f43. It requires more samples to investigate procedural camera control.