|
Tue. Oct. 7 Scriptor Meeting
About Truespace Archives
These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.
They are retained here for archive purposes only.
Tue. Oct. 7 Scriptor Meeting // Collaboration
Post by frootee // Oct 7, 2008, 11:34am
frootee
Total Posts: 2667
|
Hi everyone.
We'll have a scriptor meeting tonight if you want to come; I'll probably be watching the debate though. Anyone else?
I do have something to show. I could show it next week.
Basically, we were discussing some very interesting topics a couple weeks ago. One involved using clips/keyframes to trigger animation in a script. Something like that; I apologize for not having the whole story straight. Anyway.
I played with this idea for awhile. The discussion was based around the RsAnim example in the plugin SDK example set.
In a nutshell, with a script command, I created a clip for a cube. The clip itself contains no keyframes. I don't need keyframes for my particular application; I just need the start and stop times of the clip. Obviously, when the clip is moved or resized, the start and stop values change.
So, if I add script code to another command, which will:
1) start scene animation
2) start a timer, which is connected to the script command
the script code (in the command connected to the timer) checks to see if the timer value is > the clip start time, AND < the clip stop time.
If so, then I perform an action, like, load a file. :D
Now, some other things I need to think about are offline renderers. I need to be able to render a frame, then on render complete, advance the timer one tick, and advance the animation one tick. Then render the next frame. Yes, this is necessary for my project.
I may wait til next week to show this thing; it still needs work anyway.
But if you're interested in coming tonight, here's the info:
start time:
http://www.caligari.com/birdsofafeather.asp
later,
Froo |
Post by robert // Oct 7, 2008, 12:06pm
robert
Total Posts: 609
|
I know I'll be watching the debate, mainly for history class, but also I'm interested in how well Obama will do as the "New Guy". |
Post by frootee // Oct 7, 2008, 12:22pm
frootee
Total Posts: 2667
|
well I imagine it will be interesting.
That's for sure! :D
I am currently looking to see if I can 'queue' render jobs using the D3DView script set, basically execute:
D3DView.RenderToFile(.., .. )
on each timer tick.
Funny thing is, you can't specify a FILENAME. hehe so we'll see what happens. |
Post by robert // Oct 7, 2008, 12:24pm
robert
Total Posts: 609
|
I assume you've looked at the Render Cloth object, correct? I know that renders to file between each physically calculated frame. |
Post by frootee // Oct 7, 2008, 12:25pm
frootee
Total Posts: 2667
|
ah cool forgot about that. Thanks man! I'll check right away.
Froo |
|