Skip to main content

Math Coding In Asteroids Game

Today Ant taught us all about Dot Product.
The mathematics description of dot product:
“The Dot Product gives the cosine of the angle between two vectors times by the length of each vector”
The dot product would look like this when it is written out. (?,?,?) . (?,?,?)
Say the 2 coordinates are
(7,-4,2) and (6,2,0.5)
You must multiply the XYZ values against the other XYZ values
(42,-8,1) 
You then add them 3 numbers together to get the dot product which in this case would be 37.

Comments

Popular posts from this blog

Model [Doomhammer Model]

So today we decided to do some more 3d modeling. The models could be of anything we like of any genre so I decided that because I have played World of Warcraft in the past and it is a game I enjoy I decided to model one of the weapons in the game. The weapon i chose was Doomhammer which happens to be very nice model and has some nice detail in the model. The picture I chose to help: As you can tell the model looks quite difficult however a lot of the detail in the model can just be done with texturing the only part I could worry about or just not have on the model is the cloth above the hilt that sticks out but we shall see what happens when it comes to me texturing the model. My model so far: The shape of my model is looking very similar to what the original looks like and I am enjoying making the model as this is definitely developing my skills in 3ds max as well as texturing. I will be updating this post with every time the model is updated.

Synoptic Project So far Personal & Group

So this post is just an update on the Synoptic Project so far as of right now we are onto week three of the synoptic project and so far the project that I am working is one of the ones I voted for when we were choosing which of the projects we were going to do. So for my job role in the project I am a 3d Modeler and so far I have been working on models that can be placed around the environment to fill up the environment so that it doesn't look empty when you are walking around the environment. So far I am enjoying the project and so far I am getting on pretty well with the task I have been given however it doesn't really have that much to it as I was just told to make some models to place in the environment so even though I know how the project needs to look and the theme of the project it is still quite hard to get the right type of models to go inside the environment. I have managed the work pretty efficiently so I am never left with nothing to do I have made sure that I ...

The 12 Principles of Animation

1: Squash and Stretch - this is how rigid or soft and object is. So an object will never just take one size so if you drop a ball from a height when it hits the floor it get squashed down and stretch out the sides of it. 2: Anticipation - An action that tells the viewer what will be happening next. So if someone is shooting a gun the anticipation of the person squeezing the trigger of the gun tells you that they are going to shoot it before the animation is even there. 3: Staging - Presenting your idea so it makes sense. This could be just how the area around the objects so in the film Monster House every house has either a picket fence or a wall however the monster house itself has no wall or fence which gives it a sort of feeling of dread and then house looking all dark. 4: Straight Ahead and Pose to Pose animating - Straight ahead animation is the process of animating each frame in order. Then you have pose to pose which is where you draw three key frames then go back to draw...