Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, 7th_zorro), 1,203 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 1 of 2 1 2
Cinematic Swooping Camera #227974
09/17/08 05:32
09/17/08 05:32
Joined: Aug 2002
Posts: 681
Massachusetts, USA
Ichiro Offline OP
User
Ichiro  Offline OP
User

Joined: Aug 2002
Posts: 681
Massachusetts, USA


Ever want to do an exciting swooping camera like they do in Grid? Don't be ashamed -- I've always wanted to. We've created and released some code that'll do just that (download this at www.dejobaan.net/3DGS/camera_swoop.zip). Are there others? Maybe. I don't know. We tossed in some nice cubes with a modified version of the FFP cubemap shader for fun. This was done with A6, since we're still using that with our production code.


Dejobaan Games - Bringing you quality video games for over 75 years.
Re: Cinematic Swooping Camera [Re: Ichiro] #227981
09/17/08 06:26
09/17/08 06:26
Joined: Apr 2005
Posts: 3,815
Finland
Inestical Offline
Rabbit Developer
Inestical  Offline
Rabbit Developer

Joined: Apr 2005
Posts: 3,815
Finland
Wow, thanks Ichiro! You're the man.
Not to forget the other Dejobaan people. You're all awesome. I mean.. AWESOME.

Now. Let me have a look at it..


"Yesterday was once today's tomorrow."
Re: Cinematic Swooping Camera [Re: Ichiro] #227983
09/17/08 06:58
09/17/08 06:58
Joined: Apr 2006
Posts: 624
DEEP 13
badapple Offline
User
badapple  Offline
User

Joined: Apr 2006
Posts: 624
DEEP 13
hi ichiro , i live in massachusetts too, i live in holden are you near there? and your camera sounds very cool but havent seen it yet

Last edited by badapple; 09/17/08 06:59.
Re: Cinematic Swooping Camera [Re: badapple] #227992
09/17/08 07:31
09/17/08 07:31
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Very handy indeed, this will be quite salutary for a plausible camera motion during cut scenes smile smile

Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: Cinematic Swooping Camera [Re: frazzle] #228041
09/17/08 11:46
09/17/08 11:46
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
That's a very nice piece of code! smile Thanks a lot!

Re: Cinematic Swooping Camera [Re: Pappenheimer] #228050
09/17/08 12:41
09/17/08 12:41
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Thanks Ichiro, defently come in handy..


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: Cinematic Swooping Camera [Re: badapple] #228172
09/18/08 02:14
09/18/08 02:14
Joined: Aug 2002
Posts: 681
Massachusetts, USA
Ichiro Offline OP
User
Ichiro  Offline OP
User

Joined: Aug 2002
Posts: 681
Massachusetts, USA
Originally Posted By: badapple
hi ichiro , i live in massachusetts too, i live in holden are you near there?


http://maps.google.com/maps?f=q&hl=e...e=UTF8&z=10


Dejobaan Games - Bringing you quality video games for over 75 years.
Re: Cinematic Swooping Camera [Re: Ichiro] #228174
09/18/08 02:44
09/18/08 02:44
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline
User
DavidLancaster  Offline
User

Joined: Nov 2004
Posts: 862
Australia
Thanks Ichiro this is really nice code!

May I ask what determines the direction the camera swoops along the cos curve?

Re: Cinematic Swooping Camera [Re: DavidLancaster] #228177
09/18/08 03:12
09/18/08 03:12
Joined: Aug 2002
Posts: 681
Massachusetts, USA
Ichiro Offline OP
User
Ichiro  Offline OP
User

Joined: Aug 2002
Posts: 681
Massachusetts, USA
If you're asking what determines the shape of the arc, it's the skill_px (and _py and _pz) values. Here's a prototype I did in Processing (takes a moment to load) -- the target is shown in blue, and has _px and _py values equal (1.0). The camera is shown in orange, and has a _px of (I believe) 2.0 and a _py of 1.0, which means that the camera will approach its target more quickly.

If that all make sense. It's late. smile


Dejobaan Games - Bringing you quality video games for over 75 years.
Re: Cinematic Swooping Camera [Re: Ichiro] #228279
09/18/08 13:59
09/18/08 13:59
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline
User
DavidLancaster  Offline
User

Joined: Nov 2004
Posts: 862
Australia
Thanks Ichiro that makes sense! Have you thought about getting the camera to move along a benzier curve? Or isn't that really needed as the motion feels like that because of the way the target point moves.

Great work!! I love it!

Page 1 of 2 1 2

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1