Results 1 to 9 of 9

Thread: Camera shake

  1. #1
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Camera shake

    I'm trying to create a natrual looking camera shake. Anyone have any ideas how to create a realistic camera shake?

    I tried something like Postion := Position*Random( something ) and did the same with the rotation, but it's to random.
    NecroSOFT - End of line -

  2. #2

    Camera shake

    use sin & cos to create a shaking wave interference pattern.
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  3. #3

    Camera shake

    Yes, I do so in TANX/Iron Strike at big explosions.

    Using sin/cos gives a cool camera shake.
    <a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&amp;utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>

  4. #4
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Camera shake

    http://necrodome.homeftp.net/zooi/CamShake.wmv

    Gives a bit of wavy effect, but it'll do...
    NecroSOFT - End of line -

  5. #5

    Camera shake

    Quote Originally Posted by NecroDOME
    http://necrodome.homeftp.net/zooi/CamShake.wmv

    Gives a bit of wavy effect, but it'll do...
    you can try another / any function, find one that gives a better result..
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  6. #6
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Camera shake

    well, I can customize it with 3 vars... maybe I'll put a Random() in it tomorrow...
    NecroSOFT - End of line -

  7. #7
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Camera shake

    Hey your 'shake' is pretty realistic.

    Though I think if you enhance it more, try to make it more subtile and uneven yet a bit random...
    Jason McMillen
    Pascal Game Development
    Co-Founder





  8. #8

    Camera shake

    I just had this idea, maybe you could use a simple strong ellastic spring simulation which would oscillate to produce a even more realistic shake..
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  9. #9

    Camera shake

    I think it really depends on what you want to achieve. The shake you created nearly fits to a walking effect (first person view).

    What I was talking about (and did in Iron Strike) is a shake that looks like the camera (which hangs in the air) is affected by a blowup and starts to shake circulary.

    Then there are shakes that should look like earthquakes etc..

    So what kind of shake do you need? Every different shake needs a different formula for the camera movement.

    Greetings,
    Dirk
    <a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&amp;utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •