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.
So I adjusted the sides. The left side is correct, but right is still cut. I think it even makes a sense, because there is this defensive offset, no? When I skate there in the practice with just one player.

Edit: yes, its because of the defensive/offensive bump. If you stand in the cut corner go to the option>camera and roll with the direction you can see it fix the cut once the game "think" its your offensive zone. So at that time, there will be cut on the other side.

So we probably need to address/force the bottom corner for the defensive bump?
Yeah, I did that in a previous code, but didn't have time to port it over to this one. It's a little trickier here, unless we don't mind the camera being centered while at the bottom of the screen no matter what.
Yeah, but then we would kinda lose half of the huge work you did last couple of days on bumps? As it would be all OFF, when the puck is not at the top of the ice surface. If I understand it correctly.
Script looks fine other than a few typos I wasn't sure if you needed pointing out.

I hope this works, it was rather painful trying to keep it short, but it still came out long. I did the whole thing without branches, which was interesting. The new values can't be edited, they basically form a diagonal-ish line defining where to start scaling back the camera bump so we can see the corner. My math could probably be better, so if it feels jerky or weird let me know.

Broadcast Pan and Side fix: (Show Spoiler)
Great.
Should I use this with or without AR side limits code?
I use it both it, because it affects only top/bottom sides.
So the corners works great now, but the camera is not following the player on the right side, until he reaches the blue line Smile
Working for me. Did you try it without any AR camera stuff? Where is the camera when it's not following the player?
Yes, tried without the AR, but then the camera is panned way too down.

The camera just sits in the right corner and then jump as the player moves ti the neutral zone. So must be just something on my side, that a good news Smile
Yeah, it something in that AR code

Something in these 2 lines

04ec2784 43000000
04ec276c 44d00000

Without these I have the left corner cut. When I add them to the AR both corners are fine, but the right side is sitting in the corner until I reach the blue line with the character.

If this doesn't work with the AR code, then find the comments for what each line of the broadcast AR limits does and delete the horizontal values, but keep the vert ones. I may be able to simplify the code to just use all the AR limits again, but I'll have to test that later.