anachronox-sdk/docs/planet/05.html

66 lines
3.7 KiB
HTML
Raw Permalink Normal View History

2002-01-21 00:00:00 +00:00
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<TITLE>Anachronox Editing Documentation</TITLE>
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#EFEFEF" LINK="#00FFFF" ALINK="#FFFFFF" VLINK="#05F3D0">
<CENTER>
<P>
<FONT FACE="Helvetica">
<FONT COLOR="#0055DD"><B>Tutorial 5: Velocity And The Velocity Graph</B>
</FONT>
</CENTER>
<P>
<HR>
<BR>
Select that node. (the one at 4 seconds, that<61>s all slow)\
<P>
hit '3'
<P>
this will adjust it's velocity. But it has none, so lets give it some. Click & Hold the RMB. Now drag the mouse to the right. (DRAG IT FAR!!!) an arrow should appear. Notice the NUMERIC VALUE changing in the node info box (VEL=??) on the left of the screen. Now let go of the RMB. Now move the mouse around. See the arrow pointing around. But really notice how the whole path completely changes.
<P>
A node looks like a tetrahedron? or box like?
<P>
Nodes with velocities become pyramids/triangles??
<P>
Now this is where velocity can get confusing.
<P>
give that node a velocity value of 50. (Now I dont know if this means 50 pixels a second or what.. the value is just 50)
<P>
What this means is that the camera will fly at a speed of 50 THROUGH that node, But ONLY at the EXACT moment it passes through that node.
<P>
Play this.
<P>
Change the value to 200 and play this.
<P>
Now 25 and play this.
<P>
Great!
<P>
Now stand back and look at the whole path. select that middle node, press "3" again, and adjust only the direction of the velocity (as opposed to right-dragging and changing the amount of the velocity) of that middle node. Look closely at the first and last nodes. Look at the paths as you move the mouse around. This is where velocity becomes interesting. The velocity of any node effects the paths of the surrounding nodes. REMEMBER THAT. Give it high values, low values, ridiculous angles and keep your eye on the WHOLE PATH.
<P>
See that chart up on the top right? That's the velocity graph. Play with the value of the middle node and see also how the graph responds. If you move the 2d cursor over the timeline you can get a rough idea of where the value is at any giving position/time.
<P>
The chart displays exactly what the timeline sees.
<P>
Click on that center node, and adjusts its velocity so that ON THE GRAPH it looks ike a nice arc. Play this back. feel the speed of the camera. play it again and watch the graph. Is it making sense whats going on?
<P>
The camera might have a nice curve, depends on what kind of path you made.
<P>
There is an art to velocity. So spend a lot of time with this. Keep playing around, What I have found is that your Intuition improves with this.
<P>
JUST FOR FUN/HONE YOUR SKILLZ: Run around the level and Stop and hit CTRL. then move somewhere else, STOP and hit CTRL. Maybe drop like 15 nodes. Now take a look at this madness. Play it back. Whoa!!! The camera will keep stopping and starting. Now, go through each node and smooth out the camera path. Much nicer.
<P>
NOTE: If you<6F>re MOVING while you drop a node, this node will have velocity automatically. It<49>s a neat feature, but I almost Never used it. Velocity is such a finesse issue, you can<61>t just run around and have it work.
<P>
Delete all the nodes after 8 seconds, taking us back to our original 3 node path.
<P>
You may wanna save<76> (There will be a tutorial on all this, soon<6F> this is the short version.) Go into 2D mode, click on the button marked "SAVE", and enter the filename you want. A new script with that name will be saved in your anoxdata/scripts directory.
<P>
You've probably noticed by now that the camera is always pointing directly forward. It yearns to have something to look at.
<P>&nbsp;<P>
</BODY>
</HTML>