These are used for positioning and animating the camera in the scene.
More...
These are used for positioning and animating the camera in the scene.
ofVec3f testApp::adjustoverShotCameraPosition |
( |
) | |
|
ofVec3f testApp::animate |
( |
int |
pos1, |
|
|
int |
pos2 |
|
) |
| |
Given 2 indices (that are positions in a conical helix,this Function will animate the camera from one position to another using ofLerp
- Parameters
-
pos1 | is the position from which we will animateFrom,pos2 |
- Returns
- ofVec3f
Definition at line 531 of file testApp.cpp.
void testApp::startAnimation |
( |
) | |
|
This function plays the starting animation which zooms out of the spiral
ofVec3f testApp::startAnimationCameraPosition |
( |
) | |
|
If the starting animation is active,this function will return a vector that has the startingCamera's intermediate tweened position
- Returns
- ofVec3f
Definition at line 571 of file testApp.cpp.
int testApp::animationCounter |
Animation Counter that is operative while the animation is occuring.
Definition at line 115 of file testApp.h.
bool testApp::animationMode |
checks whether the camera is currently transitioning to another picture or if it is stationary a.k.a animationMode
Definition at line 106 of file testApp.h.
ofVec3f testApp::cameraEndPosition |
int testApp::cameraindex =0 |
The Cameraindex value,this make the camera go from one image/position to another.
Definition at line 103 of file testApp.h.
ofVec3f testApp::cameraStartPosition |
These variables will be useful if DEBUGMODE is defined.
Definition at line 100 of file testApp.h.
bool testApp::isstartingAnimationActive |
If set,this variable will start the Animation of the spiral zooming out.
Definition at line 118 of file testApp.h.
int testApp::startAnimationCounter |
During the starting animation,the StartAnimationCounter will change the tweenvalue which in turn sets the CameraPosition.
Definition at line 121 of file testApp.h.
ofVec3f testApp::tweenedCameraPosition |
Stores the temporary camera position while tweening(interpolating camera position while moving from 1 point in the spiral to another)
Definition at line 112 of file testApp.h.
float testApp::tweenvalue |
stores intermediate tweenvalues for all animations
Definition at line 109 of file testApp.h.