Jump to content


- - - - -

Driver's Cam Too Far Foward In Opengl V2

driver cam forward opengl

  • Please log in to reply
38 replies to this topic

#1 Nicolas

Nicolas

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 293 posts
  • Interests:Grand Prix Legends, Rally racing
  • Sim interest:GPL

Posted Jul 26 2014 - 04:24 PM

When using Direct3D V2 rasterizer, I see the cockpits as others see them according to their screenshots. However, I want to use OpenGL V2 because of better performace. The thing is, on my PC it appears that the driver camera is too far forward in OpenGL. The result is that I can't see some things that normally are in the bottom of your screen. In the Brabham, I cannot see the lower half of the mirrors and hardly see the shifter. In the Lotus, I don't see the rear brackets of the windscreen. Just 2 examples to give you an idea.

Is there any way to solve this? FOV setting in GEM doesn't change the forward position of the camera, and GPL Car Cam editor allows you to change all cams except for the driver's cam.

#2 Nicolas

Nicolas

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 293 posts
  • Interests:Grand Prix Legends, Rally racing
  • Sim interest:GPL

Posted Jul 26 2014 - 04:29 PM

The problem is due to the fact that I use 1920*1080 resolution (widescreen). On 1280*1024 it's OK. Any way to solve this, for example some way to remove the black bars?

#3 gliebzeit

gliebzeit

    Targa Fan

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 2,400 posts
  • Gender:Male
  • Location:Florida - USA
  • Interests:Old guy stuff...
  • Sim interest:GPL

Posted Jul 26 2014 - 04:38 PM

.... "some way to remove the black bars?

Nope, not without cutting off some the the edges.  You should be able to make that adjustment with your TV/Monitor if you still want to.  They usually call that expand, zoom, etc.

Plus, the black bars contain useful text information.

#4 Bob Simpson

Bob Simpson

    The answer man

  • Moderator
  • 2,403 posts
  • Gender:Male
  • Location:Ottawa
  • Sim interest:GPL

Posted Jul 26 2014 - 05:47 PM

FOV doesn't change with rasterizer. There must be something else you're changing.

#5 Nicolas

Nicolas

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 293 posts
  • Interests:Grand Prix Legends, Rally racing
  • Sim interest:GPL

Posted Jul 27 2014 - 12:20 AM

You're right, something else must have changed. Now I don't get the vertical field of view I used to have on any of the rasterizers. The problem must have started when I switched to OpenGL but due to another change, can't figure out which one.

Summary of the problem again: on 1920*1080 I loose a part of the cockpit view on the bottom. I have the full view on 1280*1024, I used to have the full view on 1920*1080 but I don't anymore.

#6 Nicolas

Nicolas

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 293 posts
  • Interests:Grand Prix Legends, Rally racing
  • Sim interest:GPL

Posted Jul 27 2014 - 12:29 AM

Here's what I see on 1920*1080, 78° FOV:

Posted Image

For comparison, a screenshot from someone else to show what I'm missing (atm, I can see this bottom part too on 1280*1024).

Posted Image

What setting could cause me to loose that bottom part on 1920*1080 now? I am 99.9% sure I used to see it on 1920*1080 before.

#7 Nicolas

Nicolas

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 293 posts
  • Interests:Grand Prix Legends, Rally racing
  • Sim interest:GPL

Posted Jul 27 2014 - 12:36 AM

Well, posting those screenshots below each other was insightful. My FOV seems to be a lot less at 78°. So I tried the dyslexia route and entered 87°. Much better. Apparently I didn't correctly remember the FOV setting I had before. So the problem is solved now. The only thing is that with 1920*1080 you have a lot of sight to the side if you want to see the bottom of the shifter, which imo doesn't make the view from the cockpit as pretty. But that's camera geometry for you, we can't help that. At least I know what setting to play with now.

It was a bit of a monologue, but sometimes I need that to solve problems. :) Thanks for the help all involved!

#8 bart

bart

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 72 posts
  • Gender:Male
  • Location:Belgium
  • Interests:Music
  • Sim interest:GPL

Posted Jul 27 2014 - 03:06 AM

It's funny, I'm also using 1920x1080 resolution and had the exact same issue. I read on this forum ("wide-screen" thread somewhere) that you should use FOV of at least 94 when using wide-screen resolutions.
But I guess you figured it out already :)

#9 Fat Rich

Fat Rich

    Lazy Blipper

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 775 posts
  • Gender:Male
  • Location:Fallen out of the Karussell again
  • Interests:GPL has got me by the throat and won't let go.
  • Sim interest:GPL

Posted Jul 27 2014 - 03:46 AM

I set the FOV in GEM, I'm running triple screens so I have to set it to the maximum 120 to get any of the dials and mirrors in.

Then I use GPLshift to fine tune the view a little more, you'll probably need to edit the highlighted bits in the config file:


[ ZOOM ]-----------------------------------------------------------------------
Zoom_In_Out_Mode = KA   ;OPTIONS: OFF #.BUT #.POV KA   ;EFFECT:

;OFF = ZOOM In/Out CAR view support Disabled   
;BUT = You select a game device # HERE, and buttons
;   below (up to 4 #) for Zoom In/Out/Reset,
;POV = Point Of View hat:   
;KA  = Keyboard ARROW Keys:

;   Down  =  Zoom In   (back)
;   Up =  Zoom Out (forward)
;   Right =  Zoom Set to UserDefineFov position
;   Left  =  Zoom Reset to default position (78)
;--------------------------------------------------
;N.B. If you have choicen POV or KA then you don`t
;   need to setup any button # below

;No game device # below, ONLY buttons (up to 4 #)  

Zoom_Out_Button =    ;Select a # for zoom out   

Zoom_In_Button = ;Select a # for zoom in   

Zoom_Reset_Button = ;Select a # for reset zoom to default position (78)

Zoom2UserDefineFOV_Butt =   ;a # for setting ZOOM to "UserDefineFOV =" position
;--------------------------------------------------
;OPTIONS:   ##   ##.# ;EFFECT:

UserDefineFOV = 86.2 ;Field Of View in degrees: minimun 45.2 - max. 86.2
;(78.0 = Default position)

;You can use the keyboards HOME key to save the
;present FOV ZOOM positions and the setting will be
;uset next time you starting GPL, if you still have
;enabled this [ ZOOM ] support, and will overwrite
;GEM+2´s Field Of View setting


;--------------------------------------------------
[ DRIVER VIEW ]----------------------------------------------------------------
Up&Down = 1 ;OPTIONS: 0    1 ;EFFECT:

;0 =   OFF   
;1 =   Move the Driver View up or down by using
;   left SHIFT key with ARROW keys:
;   Up =  Up
;   Down  =  Down
;   Right =  Not uset   
;   Left  =  Back to default position   

Forward&Back = 1 ;0 =   OFF   
;1 =   Move Driver View forward or back by using  
;   left CTRL key with ARROW keys:   
;   Up =  Forward   
;   Down  =  Back
;   Right =  Not uset   
;   Left  =  Back to default position   
;Notice: These 2 functions has no effect in LOOK  
; AROUND TrackIR Vector Expansion mode.


You should find your up and down arrow keys move your FOV, shift plus arrows move viewpoint up and down. Press control plus arrows up or down and it should move the camera forward or backward.

That's assuming you're using GPLshift!

Edited by Fat Rich, Jul 27 2014 - 03:46 AM.


#10 bart

bart

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 72 posts
  • Gender:Male
  • Location:Belgium
  • Interests:Music
  • Sim interest:GPL

Posted Jul 27 2014 - 04:26 AM

I do have GPLshift installed, but it doesn't work always.
I wanted to use it for changing the driver position (left ctrl+arrow keys) and I know it did work at some point, but somewhere after installing the Night mod I couldn't get it to work anymore :shrug:
Haven't searched for a solution yet...

#11 Fat Rich

Fat Rich

    Lazy Blipper

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 775 posts
  • Gender:Male
  • Location:Fallen out of the Karussell again
  • Interests:GPL has got me by the throat and won't let go.
  • Sim interest:GPL

Posted Jul 27 2014 - 05:48 AM

I've never had any problem with the H shifter part of gplshift but I found the zoom part of it worked for some mods and not the others.

I've now got separate GPL installs for each mod, I found that for the mods where gplshift wasn't zooming I could copy and paste the entire GPL folder in Windows and it would magically fix gplshift. Don't know why.... very odd. :idunno:

Edited by Fat Rich, Jul 27 2014 - 05:49 AM.


#12 Pete Gaimari

Pete Gaimari

    Jim Clark

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 3,744 posts
  • Gender:Male
  • Location:Colorado
  • Interests:Racing and Muzzleloader Hunting
  • Sim interest:GPL

Posted Jul 27 2014 - 07:49 AM

You do realize if you sat in the real car you wouldn't come close to seeing the view you're after.

I use 1920x1080 with an FOV of 45, and then use GPLSA to move the view back so I can just see the mirrors. That's about as close as we can get to a real view of the car and track.

#13 GPLaps

GPLaps

    GPLaps

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 248 posts
  • Gender:Male
  • Location:Boston
  • Interests:GPL
  • Sim interest:GPL

Posted Jul 27 2014 - 08:00 AM

 gliebzeit, on Jul 26 2014 - 04:38 PM, said:

.... "some way to remove the black bars?

Nope, not without cutting off some the the edges.  You should be able to make that adjustment with your TV/Monitor if you still want to.  They usually call that expand, zoom, etc.

Plus, the black bars contain useful text information.

Does anyone have a tutorial on how to do this? I want to see what the sim looks like with the black bars not there.

#14 bart

bart

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 72 posts
  • Gender:Male
  • Location:Belgium
  • Interests:Music
  • Sim interest:GPL

Posted Jul 27 2014 - 08:10 AM

Pete, can you post a working link for GPLSA please ?

#15 Pete Gaimari

Pete Gaimari

    Jim Clark

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 3,744 posts
  • Gender:Male
  • Location:Colorado
  • Interests:Racing and Muzzleloader Hunting
  • Sim interest:GPL

Posted Jul 27 2014 - 09:06 AM

The only link I had doesn't seem to be working anymore.

I'm not sure I can attach it here. It's not very big.


edit......It won't let me attach it. Sorry.

Edited by Pete Gaimari, Jul 27 2014 - 09:08 AM.


#16 MECH

MECH

    Double poly killer

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,411 posts
  • Gender:Male
  • Location:Here ->
  • Interests:My Girlfriend
  • Sim interest:GPL

Posted Jul 27 2014 - 09:51 AM

 Pete Gaimari, on Jul 27 2014 - 09:06 AM, said:

The only link I had doesn't seem to be working anymore.

I'm not sure I can attach it here. It's not very big.


edit......It won't let me attach it. Sorry.
Try zipping (compressing) the file if you didn't already.
Some of the filetype extentions like .exe can't be attached straight away.
They need to be 'masked' with a zip program.

#17 Pete Gaimari

Pete Gaimari

    Jim Clark

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 3,744 posts
  • Gender:Male
  • Location:Colorado
  • Interests:Racing and Muzzleloader Hunting
  • Sim interest:GPL

Posted Jul 27 2014 - 09:58 AM

I did, and the only option it gives me is to compress and email. I tried that too, but it doesn't find my email which is Yahoo.

edit..I have a new idea. Lets see if it works.

Edited by Pete Gaimari, Jul 27 2014 - 09:59 AM.


#18 Pete Gaimari

Pete Gaimari

    Jim Clark

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 3,744 posts
  • Gender:Male
  • Location:Colorado
  • Interests:Racing and Muzzleloader Hunting
  • Sim interest:GPL

Posted Jul 27 2014 - 10:00 AM

There you go.

Attached Files

  • Attached File  GPLSA.7z   58.95K   21 downloads


#19 Nicolas

Nicolas

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 293 posts
  • Interests:Grand Prix Legends, Rally racing
  • Sim interest:GPL

Posted Jul 27 2014 - 11:46 AM

 Pete Gaimari, on Jul 27 2014 - 07:49 AM, said:

You do realize if you sat in the real car you wouldn't come close to seeing the view you're after.

I use 1920x1080 with an FOV of 45, and then use GPLSA to move the view back so I can just see the mirrors. That's about as close as we can get to a real view of the car and track.

On a real car, it's very easy to turn your eyes or your head left & right. You won't see both mirrors and beyond at the same time (or only peripheral at the most), but it would be no problem with some eye/head movements to get them in view. Lacking things like a head tracker, blowing up your FOV a bit is a good alternative in a game. I now run 1920*1080 with a FOV of 89° in GEM. I can go down to 78° and still see the mirrors, but then I don't see a lot of the shifter anymore. It also depends on the car. The Lotus is wide, the Brabham fills only half of the screen width at 89°. :)

But I'll check out the alternative using GPLSA. As long as it doesn't seem as if I'm sitting on the engine block, it might be a workable alternative. Thanks for the download link.

#20 Pete Gaimari

Pete Gaimari

    Jim Clark

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 3,744 posts
  • Gender:Male
  • Location:Colorado
  • Interests:Racing and Muzzleloader Hunting
  • Sim interest:GPL

Posted Jul 27 2014 - 12:02 PM

You look like you're sitting on the engine now. You don't need GPLSA unless you're going to set the FOV way forward of what you're using now. 78 degrees is not what our natural vision is.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Sim Racing Links