Adjusting View Point
Moderator: Moderators
- andyw823
- Very Active Forum Member
- Posts: 1381
- Joined: Tue May 03, 2005 11:04 am
- Location: North West
Adjusting View Point
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?
-
BobLatimer
- Very Active Forum Member
- Posts: 2765
- Joined: Mon Jan 07, 2002 12:00 am
- Location: Auckland, New Zealand
Re: Adjusting View Point
The adjustments are in the .cvf file. Play around with the Position and Direction lines.
- andyw823
- Very Active Forum Member
- Posts: 1381
- Joined: Tue May 03, 2005 11:04 am
- Location: North West
Re: Adjusting View Point
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.
-
BobLatimer
- Very Active Forum Member
- Posts: 2765
- Joined: Mon Jan 07, 2002 12:00 am
- Location: Auckland, New Zealand
Re: Adjusting View Point
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. 
- emufarmer3
- GWR Toddington Author
- Posts: 342
- Joined: Wed Jun 30, 2004 1:17 am
- Location: In the Coogee Beach Cafe at Munster with all the other Oldies. Perth. Western Australia
Re: Adjusting View Point
Hi
This should help you a bit

Frank
This should help you a bit

Frank
- ianmacmillan
- Very Active Forum Member
- Posts: 9588
- Joined: Fri Feb 28, 2003 12:39 pm
- Location: N. Lanarkshire Scotland
Re: Adjusting View Point
Use the Measuring tool to find the exact position for the cabview.
|
[album 80489 WWCo.jpg]
If it's got buffers it's Chain.
If it's got buffers it's Chain.
- steam4me
- Well Established Forum Member
- Posts: 583
- Joined: Thu Dec 06, 2001 12:00 am
- Location: Melbourne, Victoria, Australia
- Contact:
Re: Adjusting View Point
http://msts.steam4me.net/tutorials/cabview.htmlandyw823 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?
Yuri
______________________________
steam4me
Freeware Australian MSTS Add-Ons & Tutorials
team-ALCO retail
Quality Australian payware MSTS Add-Ons
_______________________________
______________________________
steam4me
Freeware Australian MSTS Add-Ons & Tutorials
team-ALCO retail
Quality Australian payware MSTS Add-Ons
_______________________________
Re: Adjusting View Point
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
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
- steam4me
- Well Established Forum Member
- Posts: 583
- Joined: Thu Dec 06, 2001 12:00 am
- Location: Melbourne, Victoria, Australia
- Contact:
Re: Adjusting View Point
Ray,rlmathers wrote:Just to make it absolutely clear what the Position & Direction parameters are:
Did you find my tutorial too hard to follow?
Yuri
______________________________
steam4me
Freeware Australian MSTS Add-Ons & Tutorials
team-ALCO retail
Quality Australian payware MSTS Add-Ons
_______________________________
______________________________
steam4me
Freeware Australian MSTS Add-Ons & Tutorials
team-ALCO retail
Quality Australian payware MSTS Add-Ons
_______________________________
Re: Adjusting View Point
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
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
-
BobLatimer
- Very Active Forum Member
- Posts: 2765
- Joined: Mon Jan 07, 2002 12:00 am
- Location: Auckland, New Zealand
Re: Adjusting View Point
I didn't think the tutorial failed to mention anything useful at all. 
- andyw823
- Very Active Forum Member
- Posts: 1381
- Joined: Tue May 03, 2005 11:04 am
- Location: North West
Re: Adjusting View Point
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
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.
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.
- jbilton
- Very Active Forum Member
- Posts: 19267
- Joined: Fri Oct 10, 2003 12:08 pm
- Location: At home ..waiting to go to Work.
- Contact:
Re: Adjusting View Point
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
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
------------------------Supporting whats good in the British community------------------------


Re: Adjusting View Point
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
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
