• "Mwoah" - Kimi Räikkönen
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dear Guest. Follow RaceDepartment on Twitter, Facebook, Instagram, Twitch, Steam and YouTube.

Drivers heads camera, making it better?

Discussion in 'Racer' started by Mr Whippy, Nov 23, 2010.

  1. Mr Whippy

    Mr Whippy

    Messages:
    2,989
    Ratings:
    +461
    Is there any way we can improve the camera SMD for the drivers head?

    I often wonder why it doesn't feel real when driving and it's because my head isn't an SMD camera.

    It rocks forward when I brake, and tilts up when I accelerate. It's subtle, but it changes the outlook on the road and the appearance of pitching etc.

    In theory, the offset_to point could be used at the drivers bottom, and then rotate the camera 90deg to look forward again, so the camera is now on the end of a line pivoting about the base of the seat.
    Et voila, you brake hard and the head moves forward but also looks down. Corner and it leans a bit left and right, rather than just staying flat and moving left/right.

    Tweak to how you feel it should be.

    Just looked at FM3, GT5 and rFactor (rFactor camera for driver has many more controls), and they all do this effect more and it adds lots of realism.


    Hmmmm
     
  2. QuadCoreMax

    QuadCoreMax

    Messages:
    765
    Ratings:
    +71
    Since Racer supports Track IR, the driver's head should move accordingly to the TIR head.
    For drifting realism, the head should be able to keep looking sideways for a certain amount of time, usually we drift & keep looking partially in the side windows when reaching extreme drifting angles.
     
  3. Mr Whippy

    Mr Whippy

    Messages:
    2,989
    Ratings:
    +461
    Well, the drivers head with TIR isn't getting the real g-forces, so it's kinda nice to have the g-effects there impacting the drivers camera (set per car), to give the player the feedback they need to get an idea of how many g's there are. Having the TIR then work over the top of that makes some sense.
    I'd find more value in the visual feedback of g forces that I can quickly relate to, than rigidly followed TIR movement.


    Without these cues you will struggle to sense the level you are pushing the car to, imo.

    As for drifting, that is interesting. Maybe some kind of factor to help point the camera in the actual direction of travel? Hmmmmm

    Dave
     
  4. QuadCoreMax

    QuadCoreMax

    Messages:
    765
    Ratings:
    +71
    The camera/head camera should be facing somehow parallel to the splines/track direction independently of the car position/orientation, imo. We usually keep focusing on the "drivable" road, even if we landed in the grass, for sure with the head's rotation limits => approx. -90° to 90°. G-Force should be somehow mixed with it to give a real head/pilot movement....hmm
     
  5. Mr Whippy

    Mr Whippy

    Messages:
    2,989
    Ratings:
    +461
    Problem is defining the track/splines if we are on a big airfield site or skidpan etc... probably best to aim to have the head looking where the car is moving to, not where it's pointing :D

    Or bias it that way anyway?! Hmmm...

    Either way, the SMD system we have now is ok, and can do some fairly interesting stuff. My main issue with it is that it gets shaky when you are about 5km+ away from the track origin :(

    Dave
     
  6. QuadCoreMax

    QuadCoreMax

    Messages:
    765
    Ratings:
    +71
    You're right, poor Ruud/Mitch, another headache !
     
  7. Some1

    Some1

    Messages:
    571
    Ratings:
    +258
    Yeah, not only does the camera get shaky, but also the car... But as Ruud said, it is a very hard if not impossible to fix.
     
  8. Mr Whippy

    Mr Whippy

    Messages:
    2,989
    Ratings:
    +461
    Ruud doesn't know the meaning of the word impossible :D

    Dave
     
  9. BVSX

    BVSX

    Messages:
    188
    Ratings:
    +4
    Awesome thread guys!

    I looked many ways to have a good head camera. If you guys mentioned Drifting, (that i usualy do in Racer xD) so i think we can make the camera to point in the direction of the front wheels somehow... if its possible tho..
     
  10. Mr Whippy

    Mr Whippy

    Messages:
    2,989
    Ratings:
    +461
    Not front wheels, I want to know about where the car is heading :D

    Dave
     
  11. Alex Forbin

    Alex Forbin

    Messages:
    727
    Ratings:
    +125
    Poof! your wish is granted. ;) Actually it's been there a long time, I just never use it. Look in racer.ini for this...
    Code:
      ; Following the steering angle.
      ; An attempt to make the car cameras point in the direction where
      ; the driver would like to look. With high speed, use a smaller angle,
      ; since this can otherwise be disturbing to look at.
      pov_follow
      {
        enable=0
        min
        {
          ; Speed in m/s (100 m/s=360 km/h), angle in degrees
          speed=5
          angle=10
        }
        max
        {
          speed=50
          angle=1
        }
      }
    and set it accordingly.

    Alex Forbin
     
  12. Alex Forbin

    Alex Forbin

    Messages:
    727
    Ratings:
    +125
    The last time I checked Track IR is still another unsupported item (even though it's shown) in racer.
    Ruud said he would look at finishing it, maybe including it in 0.9 would be a good reason to prod him again.

    Alex Forbin
     
  13. Ian Strom

    Ian Strom

    Messages:
    760
    Ratings:
    +264
    If I may; I know I have not been posting much lately.. but I would like to +1 TrackIR related stuff being fixed/improved/added/etc. ;)
     
  14. QuadCoreMax

    QuadCoreMax

    Messages:
    765
    Ratings:
    +71
    @Alex

    I actually tried it, but can't see any difference...any tip ?
     
  15. Alex Forbin

    Alex Forbin

    Messages:
    727
    Ratings:
    +125
    Just tried it myself, apparently it's broken now. :(

    Alex Forbin
     
  16. BVSX

    BVSX

    Messages:
    188
    Ratings:
    +4
    well.. i mentioned, while Drifting it can be usefull...


    So this we put in the cameras section of the car ini or where at?
     
  17. boomer541

    boomer541

    Messages:
    1,349
    Ratings:
    +165
    I think it's in racer.ini, use Ctrl-F key to locate.
     
  18. Alex Forbin

    Alex Forbin

    Messages:
    727
    Ratings:
    +125
    Did you read the post right before the one you posted? Did you read the QUOTE IN YOUR OWN POST?!?

    sigh.

    Alex Forbin
     
  19. BVSX

    BVSX

    Messages:
    188
    Ratings:
    +4

    I don't see the problem with my post, the quotes are normal, the answers too, whats wrong? :)

    ok, so if I enable it I need to do some modification to the cameras in the car.ini? bcoz I enabled it and it doese'nt work :(
     
  20. KS95

    KS95
    RACER Moderator

    Messages:
    2,416
    Ratings:
    +196
    What he's saying is that the answer is right there in front of you! He's saying is that the code is already in the racer.ini and you just have to change enable=0 to 1.

    And no, it's not working here either :)