Adjusting View Point

General MSTS related discussion that doesn't really fit into any of the other specific forums.

Moderator: Moderators

User avatar
andyw823
Very Active Forum Member
Posts: 1381
Joined: Tue May 03, 2005 11:04 am
Location: North West

Adjusting View Point

Post 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?
BobLatimer
Very Active Forum Member
Posts: 2765
Joined: Mon Jan 07, 2002 12:00 am
Location: Auckland, New Zealand

Re: Adjusting View Point

Post by BobLatimer »

The adjustments are in the .cvf file. Play around with the Position and Direction lines.
User avatar
andyw823
Very Active Forum Member
Posts: 1381
Joined: Tue May 03, 2005 11:04 am
Location: North West

Re: Adjusting View Point

Post 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.
BobLatimer
Very Active Forum Member
Posts: 2765
Joined: Mon Jan 07, 2002 12:00 am
Location: Auckland, New Zealand

Re: Adjusting View Point

Post 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. :)
User avatar
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

Post by emufarmer3 »

Hi

This should help you a bit



Image


Frank
User avatar
ianmacmillan
Very Active Forum Member
Posts: 9588
Joined: Fri Feb 28, 2003 12:39 pm
Location: N. Lanarkshire Scotland

Re: Adjusting View Point

Post by ianmacmillan »

Use the Measuring tool to find the exact position for the cabview.

 Click to view more informationMSTS Measuring Tool [103101 bytes] - MSTS_MeasuringTool.zip
File ID: 14872 Date: 10 Jul 2006 - 667 Downloads
[album 80489 WWCo.jpg]
If it's got buffers it's Chain.
User avatar
steam4me
Well Established Forum Member
Posts: 583
Joined: Thu Dec 06, 2001 12:00 am
Location: Melbourne, Victoria, Australia
Contact:

Re: Adjusting View Point

Post 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
Yuri
______________________________
steam4me
Freeware Australian MSTS Add-Ons & Tutorials
team-ALCO retail
Quality Australian payware MSTS Add-Ons
_______________________________
rlmathers
Very Active Forum Member
Posts: 1069
Joined: Fri Dec 06, 2002 10:32 pm

Re: Adjusting View Point

Post 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
User avatar
steam4me
Well Established Forum Member
Posts: 583
Joined: Thu Dec 06, 2001 12:00 am
Location: Melbourne, Victoria, Australia
Contact:

Re: Adjusting View Point

Post 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?
Yuri
______________________________
steam4me
Freeware Australian MSTS Add-Ons & Tutorials
team-ALCO retail
Quality Australian payware MSTS Add-Ons
_______________________________
rlmathers
Very Active Forum Member
Posts: 1069
Joined: Fri Dec 06, 2002 10:32 pm

Re: Adjusting View Point

Post 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. :cry:
Otherwise a thoroughly good read. :fadein:

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

Post by BobLatimer »

I didn't think the tutorial failed to mention anything useful at all. 8)
User avatar
andyw823
Very Active Forum Member
Posts: 1381
Joined: Tue May 03, 2005 11:04 am
Location: North West

Re: Adjusting View Point

Post 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.

Image
dkightley
Very Active Forum Member
Posts: 9802
Joined: Sat May 08, 2004 8:52 pm

Re: Adjusting View Point

Post 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.
User avatar
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

Post 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
------------------------Supporting whats good in the British community------------------------
Image
rlmathers
Very Active Forum Member
Posts: 1069
Joined: Fri Dec 06, 2002 10:32 pm

Re: Adjusting View Point

Post 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
Locked

Return to “[MSTS1] General MSTS Discussion”