Page 1 of 2
Adjusting View Point
Posted: Thu Mar 24, 2011 12:12 am
by andyw823
Is it possible to adjust the in cab view point? In a particular loco i find the view point a little high and faces down slightly, how would i adjust this?
Re: Adjusting View Point
Posted: Thu Mar 24, 2011 12:44 am
by BobLatimer
The adjustments are in the .cvf file. Play around with the Position and Direction lines.
Re: Adjusting View Point
Posted: Thu Mar 24, 2011 12:52 am
by andyw823
Will this adjust the full cab or just the view point? Basicy the cab is in the right place but it looks/feels like im stood up in the cab.
Re: Adjusting View Point
Posted: Thu Mar 24, 2011 1:28 am
by BobLatimer
It's been a long time since I played around with those settings and from memory it moves the whole cab. However, if you change one of the position variables (I think it's the middle one for height) you'll find out.

Re: Adjusting View Point
Posted: Thu Mar 24, 2011 2:32 am
by emufarmer3
Hi
This should help you a bit
Frank
Re: Adjusting View Point
Posted: Thu Mar 24, 2011 11:10 am
by ianmacmillan
Use the Measuring tool to find the exact position for the cabview.
 | |  | MSTS Measuring Tool [103101 bytes] - MSTS_MeasuringTool.zip File ID: 14872 Date: 10 Jul 2006 - 667 Downloads |
|
Re: Adjusting View Point
Posted: Thu Mar 24, 2011 12:01 pm
by steam4me
andyw823 wrote:Is it possible to adjust the in cab view point? In a particular loco i find the view point a little high and faces down slightly, how would i adjust this?
http://msts.steam4me.net/tutorials/cabview.html
Re: Adjusting View Point
Posted: Thu Mar 24, 2011 12:29 pm
by rlmathers
Just to make it absolutely clear what the Position & Direction parameters are:
CabViewType ( 2 )
CabViewFile ( Front1024.ace )
CabViewWindow ( 0 0 640 480 )
CabViewWindowFile ( Front1024.ace )
Position ( -0.9 3.15 7.7 )
Direction ( 15 10 0 )
CabViewFile ( Left1024.ace )
CabViewWindow ( 0 0 640 480 )
CabViewWindowFile ( Left1024.ace )
Position ( 0 3.15 6.2 )
Direction ( 10 -80 0 )
CabViewFile ( Right1024.ace )
CabViewWindow ( 0 0 640 480 )
CabViewWindowFile ( Right1024.ace )
Position ( 0 3.15 6.2 )
Direction ( 0 100 0 )
Position ( x y z ) these are the positional axes (Distance) from the centre of the model in metres.
Direction ( x y z ) these are the rotational axes (Rotation) of the axes in degrees.
These are in the associated .cvf file.
The cabview headout
HeadOut ( -1.6 2.94 6.74 ) again these are positional axes ( x y z )
This is found in the .eng file.
Kindest regards
Ray
Re: Adjusting View Point
Posted: Thu Mar 24, 2011 10:45 pm
by steam4me
rlmathers wrote:Just to make it absolutely clear what the Position & Direction parameters are:
Ray,
Did you find my tutorial too hard to follow?
Re: Adjusting View Point
Posted: Fri Mar 25, 2011 12:22 am
by rlmathers
Hi Yuri
The tutorial fails to mention that the ordinates (x y z) are actually axes, with 3 dimensional properties for positional distance and directional rotation.
Otherwise a thoroughly good read.
Kindest regards
Ray
Re: Adjusting View Point
Posted: Sat Mar 26, 2011 2:23 am
by BobLatimer
I didn't think the tutorial failed to mention anything useful at all.

Re: Adjusting View Point
Posted: Sat Mar 26, 2011 3:06 am
by andyw823
Thanks for all the info posted but i dont think its possible to edit what i wanted to. If you look at the screen shot below i have used this loco as an example of what i wanted to edit, the drivers eye view looks as though he stood up in the cab regardless of the hight the cab is set at.

Re: Adjusting View Point
Posted: Sat Mar 26, 2011 7:51 am
by dkightley
I think the answer to what you're asking is that the "viewpoint" cannot be altered.
The cabview is essentially a "photograph" from a fixed point relative to everything inside the cab. The changeable parameters only allow adjustment of the whole cab in relation to what you can see through the windows.
Re: Adjusting View Point
Posted: Sat Mar 26, 2011 10:09 am
by jbilton
Hi
I think this is what I ended up with
Tr_CabViewFile (
CabViewType ( 2 )
CabViewFile ( "..\\..\\C15-Class40-cab\\AIR\\Class40-BY-Front1024.ace" )
CabViewWindow ( 0 0 640 480 )
CabViewWindowFile ( ..\\..\\C15-Class40-cab\\AIR\\Class40-BY-Front1024.ace )
Position ( -0.6 3.55 5.6 )
Direction ( 16 357 0 )
CabViewFile ( "..\\..\\C15-Class40-cab\\AIR\\Class40-Left-viewB.ace" )
CabViewWindow ( 0 0 640 480 )
CabViewWindowFile ( ..\\..\\C15-Class40-cab\\AIR\\Class40-Left-viewB.ace )
Position ( -0.3 2.9 7.5 )
Direction ( 0 298 0 )
CabViewFile ( "..\\..\\C15-Class40-cab\\AIR\\Class40-Right-view.ace" )
CabViewWindow ( 0 0 640 480 )
CabViewWindowFile ( ..\\..\\C15-Class40-cab\\AIR\\Class40-Right-view.ace )
Position ( -0.6 3.1 7.4 )
Direction ( 0 69 0 )
EngineData ( C15-40127-air )
CabViewControls ( 22
http://www.youtube.com/watch?v=MWUic1eppn4
Cheers
Jon
Re: Adjusting View Point
Posted: Sat Mar 26, 2011 10:22 am
by rlmathers
Hi Andy
Have you measured the loco cab viewpoint for the loco being used with the cabview, using Ian`s Measuring Tool.
This will give you the ordinates ( x y z) for the initial view that you desire. This will give you the Positional (Distance) in metres of the viewpoint.
As Doug has stated the actual cabview appears to be created from photographs. The perpective is therefore fixed.
However by using the Direction (Rotational) parameters in degrees, you can rotate the cabview either horizontally using the (y) parameter, vertically using the (x) parameter and roll left or right using the (z) parameter.
If you want to lift the bonnet, use the front view: Direction ( x y z) altering the x value in degrees.
Kindest regards
Ray