Old 3rd May 2005, 17:38   #1
roboBOT
Junior Member
 
roboBOT's Avatar
 
Join Date: Sep 2004
Location: Look out behind you!
Posts: 20
Send a message via AIM to roboBOT
camera movement

I've been working on this for a while, but I don't know what to do for camera movement. I'm thinking some sort of drifting thing that passes above/below the clouds. I haven't touched it in a while, so I don't quite remember how it works.
roboBOT is offline   Reply With Quote
Old 3rd May 2005, 17:44   #2
roboBOT
Junior Member
 
roboBOT's Avatar
 
Join Date: Sep 2004
Location: Look out behind you!
Posts: 20
Send a message via AIM to roboBOT
forgot to attach the file
Attached Files
File Type: zip robobot -- the great gig in the sky.zip (2.1 KB, 192 views)
roboBOT is offline   Reply With Quote
Old 7th May 2005, 20:28   #3
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851
you need to have a global rotation matrix (regular rotation matrix that is just inverse of regular rotation matrix). then you can do

code:

point = point - camera_position //transform
point = point * rotation_matrix //rotate camera
iz = 1/point.z; //
x = point.x*iz // convert 3D point
y = point.y*iz // to 2D



you just have to make sure that camera is looking at same point, which is imo more complicated than figuring out camera.
I can easily be wrong, so correct me if i am

Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 8th May 2005, 15:06   #4
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
Right now it is way too random and bumpy. The onbeat random shift means it always hovers around the same position. This is not just stupid (as you are discarding the majority of the possible view angles) but also annoying because you never show people everything.

UnConeD is offline   Reply With Quote
Old 13th May 2005, 11:45   #5
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,150
Send a message via ICQ to jheriko
looks okay for a scene... but where is the camera movement??? oh wait... reads first post again

make it go straight line forward + psuedo random rotation, i really love those classics...

might be good when fixed up

edit: dont know if i ever commented but robobot v2 is teh good shit. especially since it features my name in some comments!!! woooo!!!

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Visualizations > AVS > AVS Presets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump