A state would be a complete state of the transitional data for the =
object.
You might also specify different rates over different sections...
Not defining what state is, it might be more like this?
Animation {
States [ state1, state2, state3... ]
Times [ time1Seconds, time2Seconds, time3Seconds... ]
}
I would be careful to make sure state is an extensible item since people =
may have varied ideas on what to include as items for animation...
So, maybe something like this instsad to be closer to the current =
language (although i have no idea how to specify that 'Animation' is a =
group node with a special behavior... did we miss something in the spec? =
)
Animation {
Fields [ GROUP NODE ]
State {
Fields [ SFVec3f Where, SFFloat Rotation, SFFloat When ]
Where 0 0 0
Rotation 0
When 0
}
State {
Where 0,0,10
Rotation 180 # gee.. isn't this more compact than 3.1415927...???
When 10
}
}
Since "State" has fields, it would be extensible based on each =
applications implementation. Thus, as I add functionality beyond what =
is there, others can make use of it...
[ **Light Bulb** ]
Oh!, could I ( should I ) say:
DEF Animation Separator {
State {
Fields [ SFVec3f Where, SFFloat Rotation, SFFloat When ]
Where 0 0 0
Rotation 0
When 0
}
State {
Where 0,0,10
Rotation 180 # gee.. isn't this more compact than 3.1415927...???
When 10
}
}
and interpret it myself? Seems sensible... Just means I'll have =
multiple instances of the DEF word "Animation" all over the place :-)
Is that general enough?
-Greg
----------
From: Pioneer Joel[SMTP:[email protected]]
Sent: Wednesday, December 06, 1995 1:35 AM
To: K MacArthur
Cc: '[email protected]'
Subject: Re: Assigning Textures to Cylinders and Cones.
> =20
> 2) Is there an object animation node? ...object from point a to point =
b over
> time t?=20
>=20
That would be a really great, simple behavior to have=20
out by the end of December. Don't you think?
Maybe:
DEF XXX Cube {}
Move XXX{
from 0 0 0 #start point
to 3 4 0 #end point
in 5 #number of seconds
}
Anyway, just wishing out [email protected]
.................................http://acmelabs.uhc.asu.edu/~joel