***************************** CPSC 314 - Winter Term 1 2004 Assignment 1: POODLE ***************************** DOGS NAME: GLOBY THE WONDER PUPPY BY: GLEN KOCIOLEK ***************************** Keys- ***************************** 1-5: change Globy's color scheme q: quit esc: quit z: rotate view left c: rotate view right x: rotate view down d: rotate view up w: wireframe e: shaded/polygon ,: zoom in .: zoom out r: toggle ROBOT MODE l: fire LASERS in ROBOT MODE ONLY!!! spacebar: toggle animation Mouse- click and drag: rotate view using mouse motion ***************************** ANIMATION- ***************************** -smooth interpolation of movement between keyframes -The animation can be passed in as an argument when running the exe ex. dog begANIM.txt /////////////// NOTE*** FOR NON cycling files (files that do specific animations and do NOT loop) such as Cantor.txt please specify non-cycle-mode as follows ****** dog Cantor.txt nonCycle /////////////// -no files passed assumes a standing pose -tongue auto wags the passed in file is a text file such that each joint and position can be interpolated from the file in as many keyframes as needed, also the file loops back to the beginning until the program is quit and run with a different animation file The format of the file is a series of keyframes specified as follows char[] nameOfKeyFrame, int framesFOR float KeyDogPosX, float KeyDogPosY, float KeyDogPosZ, float KeyDogRotX, float KeyDogRotY, float KeyDogRotZ, float KeyHeadRotX, float KeyHeadRotY, float KeyHeadRotZ, float KeyNeckRotY, float KeyNeckRotZ, float KeyJawAngle, float KeyRUpLegAngleX, float KeyRUpLegAngleZ, float KeyRLowLegAngleX, float KeyRLowLegAngleZ, float KeyRFrontPawAngleZ, float KeyLUpLegAngleX, float KeyLUpLegAngleZ, float KeyLLowLegAngleX, float KeyLLowLegAngleZ, float KeyLFrontPawAngleZ, float KeyRBUpLegAngleX, float KeyRBUpLegAngleZ, float KeyRBLowLegAngleX, float KeyRBLowLegAngleZ, float KeyRBFrontPawAngleZ, float KeyLBUpLegAngleX, float KeyLBUpLegAngleZ, float KeyLBLowLegAngleX, float KeyLBLowLegAngleZ, float KeyLBFrontPawAngleZ float TailWagX float TailWagZ ***************************** LIST OF PROVIDED ANIMATIONS: ***************************** sitDONE.txt - this is a still pose where Globy is sitting standDONE.txt - this is a still pose where Globy is standing on his hind legs sitANIM.txt - this is an animation to make Globy sit begANIM.txt - this is an animation to make Globy beg several times wagTailShakeHeadANIM.txt - this animation makes Globy shake his head and wag his tail Cantor.txt - This animation shows Globy cantoring along, then tripping and tumbling over into a sitting position, then getting up and continuing on his way NOTE: run this as "dog Cantor.txt nonCycle" to indicate this is not a linear seq anim ***************************** EXTRA CREDIT- ***************************** -The addition of extra joints to do more complex animations -COLLAR -The addition of features such as eyes, pupils, eye lids, a moving jaw, etc. -Background detail such as trees, a fire hydrant, ground and bushes -Bushes are animated to appear to be blowing in the wind -MASSIVE DESTRUCTION IN ROBOT MODE (toggle ROBOTMODE with r and when in robot mode press l to shoot lasers from eyes of MASSIVE DESTRUCTION) %%%%%%%%%%%%%%%%%%%%% MOST IMPORTANT OF ALL %%%%%%%%%%%%%%%%%%%%% -OVERALL PUPPY CUTENESS !!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: his tongue wags because I give him lots of treats