[RVGL] Camera issues since 19.0819 update

Report issues and bugs here.
User avatar
Kiwi
Posts: 404
Joined: Thu Dec 07, 2017 9:04 pm
Location: Austria

[RVGL] Camera issues since 19.0819 update

Unread post by Kiwi » Fri Aug 23, 2019 7:01 pm

Since the update to RVGL version 19.0819, I have some strange camera issues.
  • The camera is zooming more groundwards at some track areas. Examples are the area after the house at Skating Toys, or the conveyor area at Biohazard Factory. The camera movement is not caused by the placement of camera shorteners.
  • When you drive right beside a wall, the camera moves to a slightly different position, which was not the case before. An example are the tight areas between the houses at the Ghost Town tracks.
I guess this bug is related to the same issue, which caused the "teleporter bug" at Hull Breach 3000?
User avatar
ZipperZbieracz
Posts: 178
Joined: Thu Dec 21, 2017 12:38 pm
Discord: ZipperZbieracz#9343

Re: [RVGL] Camera issues since 19.0819 update

Unread post by ZipperZbieracz » Fri Aug 23, 2019 7:42 pm

Either I am doing something wrong, or I do not experience the problems in the point #1.

As for the #2, I see nothing extraordinary – camera works, at least from my experience, just like before.

Can you provide some video or at least a pic, how it looks on your end?
User avatar
Huki
Developer
Posts: 209
Joined: Wed Dec 06, 2017 5:54 am
Discord: Huki#1668

Re: [RVGL] Camera issues since 19.0819 update

Unread post by Huki » Sat Aug 24, 2019 8:49 am

Kiwi wrote:
Fri Aug 23, 2019 7:01 pm
Since the update to RVGL version 19.0819, I have some strange camera issues.
  • The camera is zooming more groundwards at some track areas. Examples are the area after the house at Skating Toys, or the conveyor area at Biohazard Factory. The camera movement is not caused by the placement of camera shorteners.
  • When you drive right beside a wall, the camera moves to a slightly different position, which was not the case before. An example are the tight areas between the houses at the Ghost Town tracks.
The issues you mentioned can happen at high frame rates (i.e., when v-sync if off). The higher the frame rate, the worser it gets, although RVGL uses an internal cap of 250 fps.

Until 19.0430, a fix was used to better handle camera collisions at high frame rates. But the fix caused bad jittering, especially at lower frame rates, when the camera is resting against the wall. You can see that behavior in this video.

Because of this, the fix was reverted in 19.0819. If the current camera behavior is not acceptable, then I think our options are:
  • Switch back to 19.0430 behavior and keep the jittering. (or)
  • Reduce the internal cap to 125 fps.
Perhaps I can send you a test build with the 125 cap?
Kiwi wrote:
Fri Aug 23, 2019 7:01 pm
I guess this bug is related to the same issue, which caused the "teleporter bug" at Hull Breach 3000?
Note that the "teleporter bug" in Hull Breach 3000 already used to happen in 19.0430 when v-sync is on (i.e., at lower frame rates). I'm guessing you have v-sync off and that's why you (and other players) hadn't noticed this before.
User avatar
Kiwi
Posts: 404
Joined: Thu Dec 07, 2017 9:04 pm
Location: Austria

Re: [RVGL] Camera issues since 19.0819 update

Unread post by Kiwi » Sat Aug 24, 2019 5:31 pm

I normally have v-sync OFF, because with v-sync ON I have some "stuttering" while playing, which is not the case when I switch v-sync OFF.

I can confirm, that in RVGL 19.0819 the strange camera behaviour is not here anymore, as soon I switch v-sync ON. But the gameplay is by far not as smooth as with v-sync OFF.

Here two examples:

Skating Toys - Low camera (@ second 7 onwards): https://streamable.com/iw5zj
Ghost Town 1 - Strange camera when near to a wall (@ second 5) https://streamable.com/okic8

Speaking for me, I had no issues with older RVGL versions (no jittering). Feel free to send me a test build with the 125 cap.
User avatar
ZipperZbieracz
Posts: 178
Joined: Thu Dec 21, 2017 12:38 pm
Discord: ZipperZbieracz#9343

Re: [RVGL] Camera issues since 19.0819 update

Unread post by ZipperZbieracz » Sat Aug 24, 2019 7:20 pm

In the #1 the camera didn't go back up after it decreased its height because of driving under the bed. Should not happen, could maybe possibly happen in other places on other tracks too?

#2 the bendbent is bent visibly by too much

I will try to get higher fps and see if it happens to me too at ~600~800 fps, cuz at ~200 (skating) ~300 (gt1) fps camera works fine for me
User avatar
Kiwi
Posts: 404
Joined: Thu Dec 07, 2017 9:04 pm
Location: Austria

Re: [RVGL] Camera issues since 19.0819 update

Unread post by Kiwi » Sat Aug 24, 2019 7:29 pm

ZipperZbieracz wrote:
Sat Aug 24, 2019 7:20 pm
In the #1 the camera didn't go back up after it decreased its height because of driving under the bed. Should not happen, could maybe possibly happen in other places on other tracks too?
It happens also at other places. For example when driving underneath the cars at Hood1. I know that it is caused by this, but it wasn't the same at older RVGL versions for me. As soon I activate v-sync, the issues are gone.
ZipperZbieracz wrote:
Sat Aug 24, 2019 7:20 pm
#2 the bendbent is bent visibly by too much
Yes, this "issue" is not really bad. I just wanted to bring it up, so Huki is aware of it. If it will stay the way it is now, I also have no problem with it. :)
User avatar
ZipperZbieracz
Posts: 178
Joined: Thu Dec 21, 2017 12:38 pm
Discord: ZipperZbieracz#9343

Re: [RVGL] Camera issues since 19.0819 update

Unread post by ZipperZbieracz » Sun Aug 25, 2019 10:20 am

I can confirm that with higher FPS (~390 on Skating Toys, ~800 on TW1 and Hood1) I've been able to replicate both the low-camera bug as well as the bent-camera near a wall glitch, although this one only slightly, but still.

The low-camera bug seems to go away only and right when the camera is forced to change it's position after the car changes it's elevation (Y axis?) or spin relative to the ground (Z axis? whatever…).

The bent-camera-wall glitch obviously goes off when car is far enough from the wall. The glitch appears in the first place when car goes near a wall, goes away from it slightly and comes back near to it again, the camera shows the car more from a side, directing the camera more at the wall and side of the car (showing more of the side of a car that is opposite to the wall), can make it harder to properly direct the car.
User avatar
Boban
Posts: 1
Joined: Sun Aug 25, 2019 11:19 am

Re: [RVGL] Camera issues since 19.0819 update

Unread post by Boban » Sun Aug 25, 2019 11:32 am

Until that low-camera bug is fixed you can just tap rear view key to reset the camera position. I did that in Rooftops when it's counting down and when camera should get behind my car, it gets stuck so i tap rear view key and it gets there.
User avatar
Huki
Developer
Posts: 209
Joined: Wed Dec 06, 2017 5:54 am
Discord: Huki#1668

Re: [RVGL] Camera issues since 19.0819 update

Unread post by Huki » Sun Aug 25, 2019 2:24 pm

Kiwi wrote:
Sat Aug 24, 2019 5:31 pm
Speaking for me, I had no issues with older RVGL versions (no jittering). Feel free to send me a test build with the 125 cap.
The previous versions had an ugly jitter when the camera is resting against the wall.
This is a video from 19.0430: https://streamable.com/pksoj

Anyway, here are the test builds with the reduced internal frame rate cap and a few other fixes.
rvgl_19.0825a_test_win32.7z
rvgl_19.0825a_test_win64.7z
rvgl_19.0825a_test_linux.7z

Let me know both of your results with this.
User avatar
Kiwi
Posts: 404
Joined: Thu Dec 07, 2017 9:04 pm
Location: Austria

Re: [RVGL] Camera issues since 19.0819 update

Unread post by Kiwi » Mon Aug 26, 2019 5:07 pm

Thank you Huki. I've tested the test build (Windows x64) at Skating Toys, and at Botanical Garden.

The "low camera"-issue is gone. Also the slightly different camera position when driving beside a wall is gone. I also tested if I can reproduce the jitter you talked about, and I think it is still there. But I must say I never recognised this, before you mentioned it / showed a video of it. Are there any situations, where the jittering is really visible? Maybe at the end of a race when the camera is circeling around a car which have passed the finish line. But I can't imagine another situation? Only speaking for me: The camera issues I have talked about in my first post are much more annoying then the jittering...

Here the video with my Skating Toys test run (v-sync OFF) https://streamable.com/sw0pq

I also did a test-run at Botanical Garden, because I recognised some stuttering while driving at Skating Toys. The stuttering is also there when driving Botanical Garden. The stuttering feels nearly the same, as when I have vsync enabled.

I don't know if you can recognise it at the video I have captured (Also v-sync OFF):

https://streamable.com/6r6vm

I guess this has something to do with the internal 125 fps cap?

With older RVGL versions and v-sync OFF gameplay felt "smoother" for me, but maybe this is just a placebo effect.
User avatar
Huki
Developer
Posts: 209
Joined: Wed Dec 06, 2017 5:54 am
Discord: Huki#1668

Re: [RVGL] Camera issues since 19.0819 update

Unread post by Huki » Tue Aug 27, 2019 10:56 am

Kiwi wrote:
Mon Aug 26, 2019 5:07 pm
I also tested if I can reproduce the jitter you talked about, and I think it is still there. But I must say I never recognised this, before you mentioned it / showed a video of it. Are there any situations, where the jittering is really visible?
The jittering I talked about is supposed to happen when the camera is against the wall, just like in your video:
- https://streamable.com/6r6vm (@ second 20) and again (@ second 35)

Try to reproduce those situations in 19.0430 and you can see the jitter. It's as though the camera is being pushed back and forth by the collision and it results in jerky animation when the camera is supposed to be still.
Kiwi wrote:
Mon Aug 26, 2019 5:07 pm
I also did a test-run at Botanical Garden, because I recognised some stuttering while driving at Skating Toys. The stuttering is also there when driving Botanical Garden. The stuttering feels nearly the same, as when I have vsync enabled.

I don't know if you can recognise it at the video I have captured (Also v-sync OFF):

https://streamable.com/6r6vm

I guess this has something to do with the internal 125 fps cap?

With older RVGL versions and v-sync OFF gameplay felt "smoother" for me, but maybe this is just a placebo effect.
I received the same feedback from Ciccio, and it's actually caused by the 125 fps cap. In your recorded video I see it's actually smooth, but on an actual monitor, the 125 cap can indeed cause the animations to stutter.

Also I heard that the "jitter" I talked about is not as important for players as the other camera collision issues at high frame rates. This means I've decided to restore the 250 fps cap, and put back the high fps fix from 19.0430. I'll give one last try to see if anything can be done about the "jitter", otherwise we'll have to live with it. :gremmecing:
Post Reply