Dolphin, the GameCube and Wii emulator - Forums

Full Version: Improving the player polygons and LOD
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry it took longer than I hoped, I'm at work now Smile
https://www.mediafire.com/download/ayccfke48n4ulee
You can still edit the camera sideview values it seems. 80001814 and 1818 are position/angle stuff (sideview position code). 1820 don't change, 1824 is zoom scale and 1828 is base zoom (sideview zoom code). We let the game handle the rest, but I may be able to force something else out if needed.

Here's a code that may help aligning the camera, replace the other faceoff cam code with this. Edit bottom line with values around -10 to start. Hopefully just one value will correct all the issues. Are there any corners where the camera is algined properly? Thanks for the pictures. It's sometimes hard for me to get faceoffs in specific corners.
$Faceoff Cam Total Position + Align
C2861BCC 0000000C
389B00D0 3D60814F
616B8240 C00B0000
EC200024 FC000210
FC000840 EC410828
3D608000 41A10020
FC200850 D0240000
C00B1818 D0040004
D0440008 D0410048
4800001C C00B1814
D0040000 C00B1818
D0040004 C042FFD4
D0440008 00000000
04342194 c1200000 //Align

/edit fixed
You mean aligned for the faceoffs? Nope, it seems the same.on every faceoff. It also seems its wrong the same way on every faceoff, so there might be a better chance that once we fix it at one place, it will fix everything else...
Ok, then my new code might fix it.
Should I delete this one too?
$SideView Zoom via parametric + Faceoff

I don't see any difference changing the align values for some reason now.
No, 3 codes on: Position, Zoom, Faceoff.

Sorry there was a typo in the code. I edited it, so replace it with the code above. Actually, I found another issue putting it off-center. It's always correct with the 3/4 camera, right? So I'll need to tweak it more.
Oh ok Smile glad we found the reason...
Try this. It calculates the correct position then if parametric cam is on, it skews the position. Luckily the correct position is saved in memory, so I just pulled it from there. Small chance it will bug on a different arena or match, so let me know if I need to work on it a little more.

$Faceoff Cam Total Position
C2861BCC 0000000D
389B00D0 3D60814F
616B8240 C00B0000
EC200024 FC000210
FC000840 EC410828
3D608000 41A10020
FC200850 D0240000
C00B1818 D0040004
D0440008 D0410048
48000020 C00B1814
D0040000 C00B1818
D0040004 C01FF1C8
D0440008 D0010048
60000000 00000000
Looks to be fixed maestro! Smile
Briliant job, as always.

Looking for the possible bugs...
Wow! Another great side effect! There was a very ugly camera view during the fights. Really stupid one. And now when the fight happens, it uses our new zoomed side/broadcast view. This is exactly how it looks in the real life! So happy how it all comes together Smile)

No bug occurred yet on my side...