| To: | akiba@xxxxxxxxxxxxxxxxxxxxxxxx (Hiroshi Akiba) |
|---|---|
| Subject: | Re: How to use engine with data file. |
| From: | jlim@xxxxxxxxxxxxxxxxxxxx (Jonathan Lim) |
| Date: | Fri, 22 Jun 2001 19:24:33 -0700 (PDT) |
| Cc: | info-inventor-dev@xxxxxxxxxxx (inventor-dev ML) |
| In-reply-to: | <200106230203.LAA14303@xxxxxxxxxxxxxxxxxxxxxxxx> from "Hiroshi Akiba" at Jun 23, 2001 11:06:45 AM |
| Sender: | owner-info-inventor-dev@xxxxxxxxxxx |
On Fri Jun 22 19:06:45 2001, akiba@xxxxxxxxxxxxxxxxxxxxxxxx wrote:
>
> I would like move an object according to an input
> (which is a set of coordinate data in the text file),
> but I have no idea how to do it.
> I know that, I have to use engines to make a animation.
> But I don't know how I put data from outside into it.
Read your data into an array. Create a SoAlarmSensor that triggers every so
often. In the callback function, fetch the appropriate coordinate values from
the array and feed them into the transform node that affects the object. The
scene graph will be redrawn automatically.
Jonathan Lim _ Silicon Graphics _ Mountain View
GPS Graphics Computer Systems CA, USA
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | How to use engine with data file., Hiroshi Akiba |
|---|---|
| Next by Date: | Simulate human movement., Hiroshi Akiba |
| Previous by Thread: | How to use engine with data file., Hiroshi Akiba |
| Next by Thread: | Simulate human movement., Hiroshi Akiba |
| Indexes: | [Date] [Thread] [Top] [All Lists] |