Notiusweb wrote:Hi Notius, here is a Lua Script based of Beppe's that has 10 'Stations'. Think of it like a train ride, with an origin followed by 10 stops, with the 10th stop being the end stop.
The time value you enter will be the per-station trip time. So at the default, of 1 second, the animation runs at a total of 10 seconds. If you set at 6, it will run for 60 seconds.
So, with this you could manually plot out a float value's oscillation (ie rise and fall with 0, 1, 0...... a plateau with 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2.... a stairway with 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6....etc) amidst the total trip time, which is the per-trip time you specify *10. Each individual station will be exactly the same, but you could plot the same values repeatedly to get a different effect.
Or, instead of inputting #'s in to each station, you could just set the per-trip time to a longer time (ie 5) and then have just 1 or two stations > 0, for a 10 second animation let's say. Just keep in mind if you do this, the entire frame / time displayed in the Octane viewport will look large, but you can always batch render to any frame/time point you want, prior to the displayed last time or frame, thus capping where you want it to end.
Here is the script and a pic:
Remember, in principle it works the same as the one Beppe gave us, his had 1 stop from the point of origin, which was called 'End'. The time was still a per-trip time, but as there was one it represented the entirety of the trip.
But this is neither here, nor there. I saw you had asked for a script with stations, and despite that I have no idea what I am doing with Lua, I edited the script for you.
Now, go and get to rendering...come on...Go...Go....
Users browsing this forum: No registered users and 0 guests