pioneerspacesim/pioneer — pull request #1130 by Luomu (2012-03-30 18:23:50+00:00)
Title: More ships need to make use of camera offsets

Ships that currently use this feature:

4 eagles (rear camera only)

Ships that do not, but could:

Adder
Asp explorer
Boa freighter
Caribou
Cobra
Cobra mk3
Constrictor
EYE
Flowerfairy
Hammerhead
Imperial Courier
IP Shuttle
Ladybird
Lanner
Natrix
Sidewinder
Sirius Interdictor
Stardust
Talon Military Interceptor
Turtle
Viper
Viper X
Walrus
Wave

They are easy to add, just add front_camera = v(x,y,z) and rear_camera = v(x,y,z) to the ship definitions like in 4_eagles.lua.
Attached to this issue is a developer tool that lets you try different camera offsets without continuously restarting the game, open the console and type:
Dev.SetCameraOffset(x,y,z), and the current camera will have an offset applied to it. When you find new values, write them down and use them in the shipdefs :)