View Full Version : Camera shake
NecroDOME
21-11-2006, 09:26 PM
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.
JernejL
21-11-2006, 09:41 PM
use sin & cos to create a shaking wave interference pattern.
Huehnerschaender
21-11-2006, 09:46 PM
Yes, I do so in TANX/Iron Strike at big explosions.
Using sin/cos gives a cool camera shake.
NecroDOME
21-11-2006, 10:43 PM
http://necrodome.homeftp.net/zooi/CamShake.wmv
Gives a bit of wavy effect, but it'll do...
JernejL
21-11-2006, 10:57 PM
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..
NecroDOME
21-11-2006, 11:20 PM
well, I can customize it with 3 vars... maybe I'll put a Random() in it tomorrow...
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...
JernejL
22-11-2006, 08:26 AM
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..
Huehnerschaender
22-11-2006, 08:37 AM
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
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.