Monday, February 15, 2021

C++ Graphics: Krisney Animation

Krisney Animation

C++ animation/advert as part of university assignment, 2018.   
You can find the project by clicking the Github icon. ->
GitHub

Disclaimer


The content in this animation is original and produced by me (unless stated otherwise). Any relevance to any other characters, living or dead, in this animation is purely coincidental. Names and businesses provided in this project are purely products of the animator's (my) imagination. The content is intended for humorous purposes only and is not in any way meant to hurt or offend anyone. All Rights Reserved.


Krisney?


What's better than Disney? Wait, don't answer that! The point is Disney is the “Happiest place in the world”. Krisney = Kristen (the official owner of this currently made-up company) + Disney. Marshies are the official team members of Krisney. They were modelled after marshmallows, hence the name. But shhh, don't tell them. 

Krisney is an animation (or production) brand, that is targeted at children (or the child-like).


Development and Code


Krisney animation storyboard

A little section to explain the story-line of the ad.

Scene 1: At The University

1.1 Story

Scene opens with a drawing of the university in the day. Fast forward to night and pan into view, a classroom with a boy sitting and studying.

1.2 Code

The sun and moon move across the sky by rotating around the origin. Zooming into the window works by translating the scene on the z-axis. The day-to-night change involves two things:
- Colour change:- The initial colour of the sky, ground, clouds and building are set and incremented after a certain point, by a fixed rate.
- Stars appearing:- The stars appear at a fixed time, on a Boolean value, night.

Scene 2: Tired Brain

2.1 Story

Zoom in to the boy’s head to his brain, in a jail cell, that looks devastatingly tired, eyes red and weary. It moves on to the computer screen which the boy is looking at and the mouse moves across and clicks on a video.

2.2 Code

Zooming in works the same way as the previous scene. The brain’s eyes move as though they are vibrating by translating them forward and backward on the x-axis. The screen on the computer is drawn with a bunch of squares, rectangles and a bunch of for loops. The translation transformation is used on the mouse as well, and the click brings about a circle that grows and disappears shortly.

Scene 3: Video - Krissy Poo character

3.1 Story

Video plays. Krissy Poo, the character walks to the front happily and then stops. She is surprised, and the view is brought to the falling sign. The sign stops and lights up and writes ‘Krisney’ on it. In the background, fireworks alight.

3.2 Code

Walking works with pose cycling (drawPose1, drawPose2). Krisney is written by tweening lines to rectangles. The lights on the sign are a separate struct, showlight, and are animated in sequence around the sign, using a for loop, and the Boolean value, on. The fireworks, also created using another struct, lineParticle, occur randomly in the background.

Scene 4: Video - Error

4.1 Story

Static fills the screen and it goes blank, moving into a transmission error.

4.2 Code

The static is produced by an increasing number of white points over a certain amount of time. The transmission error screen is drawn with a for-loop over a colour array, as well as over positions. And the text is placed over it. The distortions in the text are done by different functions (poses).

Scene 5: End Credits

5.1 Story

The ad is drawn.

5.2 Code

A simple black and white ad is presented. The slogan is animated by having random letters drawn (10 to be precise) quickly, before drawing the intended letter. The animation ends with a flashing off.

Evaluation



Final Krisney ad

There were 3D elements I had planned on adding in the animation, but having the initial character already drawn and a few of the other props too, I felt it unnecessary to add, but given the time, this could be an improvement.


0 comments:

Post a Comment




 
Loading...