2 registered members (AbrahamR, 1 invisible),
858
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Handheld style camera movement?
[Re: jaknine]
#214888
07/08/08 00:28
07/08/08 00:28
|
Joined: Aug 2000
Posts: 7,490
Orange Brat
Senior Expert
|
Senior Expert
Joined: Aug 2000
Posts: 7,490
|
I want to say this was covered once on here a long time ago, but I can't remember exactly when or if it even was. I used to be known as the resident camera guru around here, but I haven't been that active in recent months (I'm here just about everyday, but I don't spend that much time browsing or actively playing with camera code anymore).
I know once upon a time I wanted this, and I still want it. You might try searching the User Contributions forum or one of the scripting forums. There have been massive changes to the forum system over the years, and things get moved around and sometimes posts just disappear, so if there was something here then it may or may not have survived.
Perhaps randomly changing the camera's coordinates within a very small range inside a loop would do it. You'd have to build some internal clamps so the camera position wouldn't go crazy and end up 10 miles from where it started. In other words just move around a fixed point. If the camera can be moved by the player then just save the fixed point where ever the camera ends up once the player stops moving it. It might be a bit trickier whenever the camera is in motion, though.
Oh, and good movie reference would be the newest Rambo. Almost every shot is handheld. It has a very documentary style to it.
My User Contributions master list - my initial post links are down but scroll down page to find list to active links
|
|
|
Re: Handheld style camera movement?
[Re: Orange Brat]
#215556
07/12/08 00:59
07/12/08 00:59
|
Joined: Feb 2002
Posts: 288 California, USA
jaknine
OP
Member
|
OP
Member
Joined: Feb 2002
Posts: 288
California, USA
|
Thanks guys.
Joey that would be great if you could post the code.
And Orange_Brat... I saw Rambo the other night and the camera work was awesome. Loved it.
Last edited by jaknine; 07/12/08 00:59.
|
|
|
Re: Handheld style camera movement?
[Re: jaknine]
#215821
07/13/08 16:00
07/13/08 16:00
|
Joined: Jan 2003
Posts: 4,615 Cambridge
Joey
Expert
|
Expert
Joined: Jan 2003
Posts: 4,615
Cambridge
|
cos(x*pi) * cos(x*3*pi) * cos(x*5*pi) * cos(x*7*pi) + sin(x*25*pi) * 0.1 this formula gives you a nice smooth looking animation with not too much repetitance. apply that to pan and tilt and maybe even to its position, maybe with different factors. try replacing some of the numbers by different ones, e.g. cos(x*13*pi) or the like. i think you get the idea. joey.
|
|
|
Re: Handheld style camera movement?
[Re: Joey]
#216100
07/15/08 06:44
07/15/08 06:44
|
Joined: Feb 2002
Posts: 288 California, USA
jaknine
OP
Member
|
OP
Member
Joined: Feb 2002
Posts: 288
California, USA
|
cos(x*pi) * cos(x*3*pi) * cos(x*5*pi) * cos(x*7*pi) + sin(x*25*pi) * 0.1 this formula gives you a nice smooth looking animation with not too much repetitance. apply that to pan and tilt and maybe even to its position, maybe with different factors. try replacing some of the numbers by different ones, e.g. cos(x*13*pi) or the like. i think you get the idea. joey. Great, thanks, I appreciate it. I'll give it a shot.
|
|
|
Re: Handheld style camera movement?
[Re: Orange Brat]
#216101
07/15/08 06:45
07/15/08 06:45
|
Joined: Feb 2002
Posts: 288 California, USA
jaknine
OP
Member
|
OP
Member
Joined: Feb 2002
Posts: 288
California, USA
|
I used to be known as the resident camera guru around here... Speaking of that... any chance of getting updated forum links for your Master List? None of the links in it work anymore.
|
|
|
|