Monday 12 September 2011

Exp2 Week01 tutorial



This video is to show the average speed of an object going through a certain distance, i chose to
place a helicopter in the environment to go directly up. Recommend all viewers to choose 1080p
HD to watch the video so you would be able to see the numbers clearly in the screen. To do
this simply click on the 1080p hd option in the menu bar at the bottom. Threes numbers shows
up in this video, first one is 153 which is the start 'Z' position of the helicopter, the number
186.299545 shows the end point of the 'Z' postion of the helicopter. Most importantly,
3.329955 represents the average speed for this object to go from the start postion to the end.
To make sure that only the 'Z' postion(vertical up) shows up in the screen, i used the vec3
from vec3 and set string nodes. To calculate the average speed, the idea is to use the last
postion minus start position to get the distance and then just dived by time. To do this
the Math sub dan Math div nodes were vital.

No comments:

Post a Comment