Saturday, July 18, 2020

SVL: Looking Around The Corner


When mounting a camera on a flat car for layout videos or remote operators, a common approach is to set the camera close to the front of the flat car, since we want to give the illusion of being in a locomotive cab. Seeing the front of the flat car destroys that illusion.

However, doing this has an unfortunate side-effect: Depending on the length of the flat car used viewers now complain that they can't see as much of the scenery along the track as they had hoped. Especially in tighter curves there is a distinct lack of scenery visible on the inside of the curve.

The camera doesn't "look around the corner".

Part of the reason for this is basic geometry: The car rides on a curve. The center of the camera view is on a tangent off the center of the curved track. Hence, the center line of the camera image and the center line of the track diverge. The tighter the curve, the larger the divergence, the more scenery on the outside of the curve is taking up screen real estate on the inner side of the camera view.

An additional factor is the length of the flat car. The longer the car, the more the ends of the car hang to the outside of the track center line, making the natural tangent effect worse.

The effect is demonstrated by the car in the middle above. The teal triangle simulates the view of a camera mounted at the very front of the car looking straight ahead. Barely anything to the right of the track is is visible to the camera, while plenty of scenery to the left of the track can be admired.

There are multiple ways to even this out:
  • Mount the camera in or near the front, but use a short flat car: By reducing the overhang at the end of the car, the camera's lens is positioned closer to the tangent off the track center line. Positioning the camera above the center of the front truck, or front axle, minimizes the overhang.
  • Using a long flat car, mount the camera in the middle of the car: Long cars have an overhang to the outside of the curve at the car ends, and an overhang to the inside of the curve in the middle of the car. We can use the middle overhang to move the center line of the camera to the inside of the curved track center line and pick up more visibility.
  • Using a long flat car, mount the camera in the rear of the car: Moving the camera further towards the rear of the car creates a "steering effect" where the front truck is "turning the car deck into the curve." In this setup the camera center line is not on a tangent off the curve, but on a chord. Hence the camera view captures much more of the scenery to the inside of the curve as demonstrated by the car on the right in the image above.
  • Using a wide-angle or fish-eye camera lens can help as well, but results in distortions along the edges of the image.
Using a single long flat car is convenient, since it has plenty of space for the camera and supporting gear like batteries.

If too much of the front half of the car is visible in the resulting video, in many cases cropping the video can hide the car deck. If that's not possible or insufficient, push the camera lens forward until the car deck is no longer visible. This will still produce a better video experience than mounting the camera at the very front of the car. Alternatively, use two flat cars. The front car holds the camera pushed as far to the rear as possible, and the second flat car holds the support gear.

5 comments:

James said...

So looking at this, we might be able to get away with making some acrylic cars to reduce some of the distraction. Even better we could maybe cut the noses off of some engines and put them in place to block the immersion breaking cars.

DaveBarraza said...

Had you thought about using the pivoting truck to pivot the camera on the car?

Looking at this, it would seem that that only swings the camera about half as far as required, maybe a mechanical amplifier of some kind would be required to increase the amount of pivot.

Bernhard Beck said...

Yes, some kind of pivoting camera scheme have been considered. I'm skeptical about how well that would work longterm with the thinfilm connection of the Raspberry Pi camera.

I've seen camera cars with a camera actuated by a servo with input from sensors on the lead truck.

Both approaches seem overly complicated to me. It's ok if the camera doesn't follow the curvature of the track 100%. I think the dynamics of curve transitions make the video a bit more interesting to watch.

Bernhard Beck said...

I really like the idea of simulating the view from the cab by providing window cut outs. However, I'd probably do this in OBS with a graphics overlay instead of with the camera car. Close up cab frames would be very much out of focus.

James said...

I was thinking about the overlay as well, OBS should make that easy enough.