Sign in to follow this  
WebMaximus

Tilt the eye point

Recommended Posts

I know you can adjust the default eye point forward/backward, up/down, left/right for an aircraft by modifying the eyepoint parameter under the Views section in aircraft.cfg but does someone know if it's also possible to tilt the default eye point?

 

I do all my flying in the NGX and I would like to tilt the default view down a bit to see all of the PFD and NAV displays.

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

I know you can adjust the default eye point forward/backward, up/down, left/right for an aircraft by modifying the eyepoint parameter under the Views section in aircraft.cfg but does someone know if it's also possible to tilt the default eye point?

 

I do all my flying in the NGX and I would like to tilt the default view down a bit to see all of the PFD and NAV displays.

 

I think you mean roll the view but not sure you can do that without chaseplane or ezca 

Share this post


Link to post

Track IR.

 

That would work - I dont use it sits in a corner somewhere but good point 

Share this post


Link to post

Provided I understand your question, on my setup, the '9' and '0' key tilt up/down.  Actual QWERT keyboard; not the numberpad.

I don't recall if that is default, or if I mapped those in.

Ron

Share this post


Link to post

Thanks for your input guys.

 

Maybe roll is a better word than tilt. What I would like to do is simulate looking down a bit so I see all of the PFD and NAV displays and not just the upper half of them.

 

I just tried using 9 and 0 on my keyboard but that didn't have any effect so maybe it's like you say that you mapped those keys. I can look into that later on. However that won't help me because I can accomplish the same thing using the hat switch on my CH yoke and pull the hat key towards me.

 

What I want to do is to change the default view, that is the view you will get by pressing the reset view key. Normally to change this default view you can accomplish this by modifying the values I mentioned in my first post in aircraft.cfg but since that only takes your up/down, forward/backward, left/right position it doesn't help me. And if I manually change the view that will only last until I reset the view or restart P3D. I wish there was a way to adjust the view to your liking and then save it.

 

As for TIR I've been using that a lot in the past but currently I find it more comfortable to fly without it and simply use my hat switch or SPACE and the mouse to move around.

Share this post


Link to post

The default VC view is defined in the cameras.cfg file in AppData\Roaming\Lockheed Martin\Prepar3D v3
 

[CameraDefinition.002]
Title = "Virtual Cockpit"
Guid = {C95EAB58-9E4A-4E2A-A34C-D8D9D948F078}
Description = This is the description of the virtual cockpit view.
Origin = Virtual Cockpit
SnapPbhAdjust = Swivel
SnapPbhReturn = No
PanPbhAdjust = Swivel
PanPbhReturn = No
Track = None
ShowAxis = Yes
AllowZoom = Yes
InitialZoom = 0.70
SmoothZoomTime = 2.00
ShowWeather = Yes
XyzAdjust = Yes
ShowLensFlare=No
Category = Cockpit
MomentumEffect = Yes
ZoomPanScalar = 1.0
PitchPanRate = 30.0
HeadingPanRate = 75.0
Panacceleratortime = 0.0
ClipMode = Minimum


You could add "InitialPBH" to this definition to change the pitch, for example:
InitialPbh = 5,0,0
will change the default VC eyepoint to tilt 5 degrees down. But it will then be that way in every aircraft.
 
Or you just create a new camera by right clicking into the P3D window, then selecting "Custom camera->Create new".

Share this post


Link to post

That would work - I dont use it sits in a corner somewhere but good point 

 

Missing out on some major immersion, brother.  I wont fly without it.

Share this post


Link to post

Missing out on some major immersion, brother.  I wont fly without it.

 

If you want some real immersion you should try a pair of Oculus Rift glasses coupled with the FlyInside software. But then again maybe you shouldn't because after that your TIR device won't be that much of fun anymore :wink:

 

I was using a pair of Oculus Rift glasses for a couple of weeks and the immersion was absolutely amazing!! Wearing the glasses you are actually in the cockpit just like in the real aircraft. Unfortunately though the resolution still isn't what I would like it to be and especially being used to 4K so will wait for next or maybe even the third generation. It's not just about the glasses but also we need graphics cards powerful enough to run higher resolution VR glasses with acceptable performance.

The default VC view is defined in the cameras.cfg file in AppData\Roaming\Lockheed Martin\Prepar3D v3

 

You could add "InitialPBH" to this definition to change the pitch, for example:

InitialPbh = 5,0,0

will change the default VC eyepoint to tilt 5 degrees down. But it will then be that way in every aircraft.

 

Or you just create a new camera by right clicking into the P3D window, then selecting "Custom camera->Create new".

 

Now we're getting somewhere :smile:

 

I tried created a new camera with a tilt down of 5 degress and that was just about right! Unfortunately though as soon as I pressed the reset key I was back to the normal v/c camera instead of the new one I created myself. Maybe there's some option for the new camera I missed that I need to check to make it "stick" even when resetting my view.

 

Will also try to modify the cameras.cfg file as you suggested. This I guess will not pose the same issue as when creating a new camera since you will be modifying the default v/c view. A bit confused though how this cameras.cfg file and what's in it relates to the eyepoint parameter in the aircraft.cfg file?

 

I guess the main difference is changes done to the cameras.cfg file will affect all your a/c just like you say while modifying the aircraft.cfg file will of course only affect that specific a/c.

Share this post


Link to post

In cameras.cfg there are the default camera definitions (and categories) for the whole simulator.

 

Aircraft can then add their own to those general definitions in their aircraft.cfg

 

Both are part of the viewing system. You can have an aircraft without any camera definitions in its cfg, but you will be in trouble if you compromise the cameras.cfg beyond spec. For example, EZDOK takes the default VC definition completely out of cameras.cfg, and by doing this it kills the default virtual cockpit viewing system dead - to be able to replace it with it's own.

 

Edit: oh, right, eyepoint. That is the point of reference where the simulator will put the default VC camera in relation to the internal 3D model.

Share this post


Link to post

Super thanks Oliver!!

 

Adding the suggested line to cameras.cfg had the exact effect I was looking for :drinks:

Share this post


Link to post

YW.
 
Just don't forget that you did this - when you try out a new aircraft in a few weeks. :-)

Share this post


Link to post

http://www.prepar3d.com/SDKv3/LearningCenter/getting_started/view_system/using_views_and_windows.html

 

Scroll down to:

 

Moving the Eyepoint

Having trouble seeing over the instrument panel? In a real airplane you'd just lean forward a bit or sit on a phone book. In Prepar3D you can move the eyepoint, the point from which your virtual eyes look out. This is particularly useful ability when taxiing taildraggers in Cockpit or Virtual Cockpit views.

To move the eyepoint in any view:

*3-D virtual cockpit only

Action                           Key command

Move Eyepoint Back* CTRL+ENTER

Move Eyepoint Up SHIFT+ENTER

Move Eyepoint Down SHIFT+BACKSPACE

Pan Eyepoint Up CTRL+SHIFT+Q

Pan Eyepoint Down CTRL+Q

Move Eyepoint Forward* CTRL+BACKSPACE

Move Eyepoint Left* CTRL+SHIFT+BACKSPACE

Move Eyepoint Right* CTRL+SHIFT+ENTER

Reset Eyepoint CTRL+SPACEBAR Look up CTRL+SHIFT+NUMPAD 8

Share this post


Link to post

Since I do all my flying in the NGX that won't be a problem but of course it would have been even better if you were able to add a similar line to aircraft.cfg instead only affecting that a/c

Share this post


Link to post

Since I do all my flying in the NGX that won't be a problem but of course it would have been even better if you were able to add a similar line to aircraft.cfg instead only affecting that a/c

That is only possible by adding your own camera definition to the aircraft.cfg - but it won't be the default one. But you could assign a hotkey to it, so you can always return to it quickly.

Share this post


Link to post

http://www.prepar3d.com/SDKv3/LearningCenter/getting_started/view_system/using_views_and_windows.html

 

Scroll down to:

 

Moving the Eyepoint

Having trouble seeing over the instrument panel? In a real airplane you'd just lean forward a bit or sit on a phone book. In Prepar3D you can move the eyepoint, the point from which your virtual eyes look out. This is particularly useful ability when taxiing taildraggers in Cockpit or Virtual Cockpit views.

To move the eyepoint in any view:

*3-D virtual cockpit only

Action                           Key command

Move Eyepoint Back* CTRL+ENTER

Move Eyepoint Up SHIFT+ENTER

Move Eyepoint Down SHIFT+BACKSPACE

Pan Eyepoint Up CTRL+SHIFT+Q

Pan Eyepoint Down CTRL+Q

Move Eyepoint Forward* CTRL+BACKSPACE

Move Eyepoint Left* CTRL+SHIFT+BACKSPACE

Move Eyepoint Right* CTRL+SHIFT+ENTER

Reset Eyepoint CTRL+SPACEBAR Look up CTRL+SHIFT+NUMPAD 8

Very useful information, thanks!

That is only possible by adding your own camera definition to the aircraft.cfg - but it won't be the default one. But you could assign a hotkey to it, so you can always return to it quickly.

Ok, thanks but I'm fine with the modified cameras cfg file only flying the NGX and should I decide to use another aircraft I will remember the modification.

Share this post


Link to post

 

 


You could add "InitialPBH" to this definition to change the pitch, for example:
InitialPbh = 5,0,0
will change the default VC eyepoint to tilt 5 degrees down. But it will then be that way in every aircraft.

 

Top tip! :good:

Share this post


Link to post

You should just be able go to your global cameras.cfg file, make a copy of the VC camera, changing the CameraDefinition to a new unique value, the title to VC 5 degrees down (or whatever), new GUID, Hotkey to an unused value or remove entry, and InitialPBH to 5,0,0.

You then have both your original VC and a 5 degrees down VC camera available to all aircraft.

Share this post


Link to post

http://www.prepar3d.com/SDKv3/LearningCenter/getting_started/view_system/using_views_and_windows.html

 

Scroll down to:

 

Moving the Eyepoint

Having trouble seeing over the instrument panel? In a real airplane you'd just lean forward a bit or sit on a phone book. In Prepar3D you can move the eyepoint, the point from which your virtual eyes look out. This is particularly useful ability when taxiing taildraggers in Cockpit or Virtual Cockpit views.

To move the eyepoint in any view:

*3-D virtual cockpit only

Action                           Key command

Move Eyepoint Back* CTRL+ENTER

Move Eyepoint Up SHIFT+ENTER

Move Eyepoint Down SHIFT+BACKSPACE

Pan Eyepoint Up CTRL+SHIFT+Q

Pan Eyepoint Down CTRL+Q

Move Eyepoint Forward* CTRL+BACKSPACE

Move Eyepoint Left* CTRL+SHIFT+BACKSPACE

Move Eyepoint Right* CTRL+SHIFT+ENTER

Reset Eyepoint CTRL+SPACEBAR Look up CTRL+SHIFT+NUMPAD 8

 

When playing around with your eyepoint using the above commands is there any way to permanently save the eyepoint once you're happy with it?

 

Would be awesome if you could adjust your view this way and then save it once you're happy rather than having to manually modify the eyepoint value in aircraft.cfg and then reload the a/c to see the result between every change.

Share this post


Link to post

When playing around with your eyepoint using the above commands is there any way to permanently save the eyepoint once you're happy with it?

 

Would be awesome if you could adjust your view this way and then save it once you're happy rather than having to manually modify the eyepoint value in aircraft.cfg and then reload the a/c to see the result between every change.

That is what my CameraPosition X addon does.

(probably will get shouted at for this post - but this requirement is exactly what I made that tool for)

 

A lot more sophisticated are tools like EZDOK, Opus camera or Chaseplane though. If you like to adjust views a lot and pan/jump around camera positions, those are the go-to solutions IMHO.

Share this post


Link to post

When playing around with your eyepoint using the above commands is there any way to permanently save the eyepoint once you're happy with it?

 

Would be awesome if you could adjust your view this way and then save it once you're happy rather than having to manually modify the eyepoint value in aircraft.cfg and then reload the a/c to see the result between every change.

 

heh, yes, the method you describe is basically exactly how ezdok and chaseplane work..you can understand why they are popular addons. i would go crazy trying to adjust things manually in text files especially with using many different aircraft..

 

good luck!

 

cheers

-andy crosby

Share this post


Link to post

Thanks Oliver but in my case only flying a single a/c and hopefully not messing around with these things that often I don't feel like buying a separate add-on for this single purpose.

 

I'm sure it can be very useful though if you're playing around a lot and fly many different a/c.

 

Was hoping maybe the values you come up with after using the key commands were saved somewhere so you could grab them but I guess I'll have to do it the hard way then.

Share this post


Link to post

Thanks Oliver but in my case only flying a single a/c and hopefully not messing around with these things that often I don't feel like buying a separate add-on for this single purpose.

 

I'm sure it can be very useful though if you're playing around a lot and fly many different a/c.

 

Was hoping maybe the values you come up with after using the key commands were saved somewhere so you could grab them but I guess I'll have to do it the hard way then.

Unfortunately yes, that is the way. This is pretty much how my addon came into existence, in its initial state it was supposed to only show those coordinates. Seemed like a good idea to expand a little on that...

 

A suggestion: the first thing that you need to do is to figure out which value designates which axis (x,y,z) in which direction, relative to which point of reference. Then you can try to calculate the values that you need for your desired eyepoint and start from there with alternating adjustments (+1.0, -0.5, +0.25 etc). I would add at least 5 camera positions with different values right from the start, so you can call up each and see which one fits best - then take it from there, altering the whole batch. This minimizes the reloads IMHO.

Share this post


Link to post

I got tired trying to find the correct values so I ended up buying your Camera Position X software which made things very much easier so thanks for the tip and for your great software!

 

Still had some problems though even when using your software where the eyepoint I saved still wouldn't come back in the exact same way when I pressed the reset eyepoint keys. I think the problem is I'm using a pair of Oculus Rift VR glasses meaning the eyepoint is constantly moving with my head movements vs having a fixed eyepoint when not using this kind of VR headset or a TrackIR device for that matter.

 

After playing around a bit I think I finally found a good eyepoint which I was able to save and I noticed the importance of keeping my head absolutely still while pressing the 'Set default eyepoint to current postition' button.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this