Page 3 of 3

Re: Raylectron v5.2 animator

Posted: Fri Apr 21, 2023 1:45 am
by Support
ok, try the new one, I'll show you how once you install the new version...



and here is a 26 sec animation...



let me know when you have installed the new Raylectron and I'll guide you step by step ok?

Re: Raylectron v5.2 animator

Posted: Fri Apr 21, 2023 1:52 am
by Support
and here is the script for the animation...

Code: Select all

sec := cf/fps;  // convert current frame into seconds

acc := 20*12; // 20 feet per seconds acceleration

// accelerate for 7 sec
if sec <= 7 then begin 
  // calculate distance from acceleration
  py := 0.5*acc*power(sec,2);
  if cf > 1 then
    // subtract from previous frame, it's incremental
    py := py - 0.5*acc*power((cf-1)/fps,2);
end else 
// stay at same speed after 7 sec
  py := 0.5*acc*power(7, 2) - 0.5*acc*power(7-1/fps, 2);

// at 7 sec, go up 20 deg in 3 sec
if (sec>7) and (sec<11) then
  rx := 20/3/fps;

//at 12 sec, rotate 90 deg right in 4 sec
if (sec>12) and (sec<=16) then
  ry := 90/4/fps;

// at 15 sec, rotate 180 deg in 4 sec
if (sec>15) and (sec<=19) then
  rz := 180/4/fps;

// invert direction because it's going backward lol
py := -py;

Re: Raylectron v5.2 animator

Posted: Sun Apr 23, 2023 10:32 am
by Okwa
Support wrote: Fri Apr 21, 2023 1:45 am

let me know when you have installed the new Raylectron and I'll guide you step by step ok?
Downloaded and first try everything works as desired. <3

Re: Raylectron v5.2 animator

Posted: Sun Apr 23, 2023 10:38 am
by Support
oh! I'm happy that it does :salute

I'm now working on the camera so it can be manipulated within the script just as an object.

Re: Raylectron v5.2 animator

Posted: Sun Apr 23, 2023 10:41 am
by Support
and another thing, I don't know if you noticed but the preview no longer do frames by frames, it does as real time so that you can see speeds as they will be in the final.

Re: Raylectron v5.2 animator

Posted: Sun Apr 23, 2023 10:56 am
by Okwa
Support wrote: Sun Apr 23, 2023 10:41 am and another thing, I don't know if you noticed but the preview no longer do frames by frames, it does as real time so that you can see speeds as they will be in the final.
Cool. No, I wasn't aware of that. :D

Re: Raylectron v5.2 animator

Posted: Sun Apr 23, 2023 10:59 am
by Support
Okwa wrote: Sun Apr 23, 2023 10:56 am Cool. No, I wasn't aware of that. :D
Before, if you had set your video to 30 frames per seconds, the preview was playing each frame, even if 30 of them didn't take 1 sec. So it was very hard to know how fast your object was going. Now, it plays back x number of frames / sec depending on how fast it displays a single frame, so it may look jumpier but at least you can see how fast things are moving, the clouds too.

Re: Raylectron v5.2 animator

Posted: Sun Apr 23, 2023 1:29 pm
by GateGirl86
That is amazing! And I will be able to start working on something this week, most likely from Wednesday. Today I'm sleeping :mrgreen: And tomorrow is ANZAC day, so I'll be in the City from 4am until late afternoon :salute

Re: Raylectron v5.2 animator

Posted: Sun Apr 23, 2023 1:34 pm
by Support
GateGirl86 wrote: Sun Apr 23, 2023 1:29 pm That is amazing! And I will be able to start working on something this week, most likely from Wednesday. Today I'm sleeping :mrgreen: And tomorrow is ANZAC day, so I'll be in the City from 4am until late afternoon :salute
Have a great ANZAC Day, Lest We Forget :salute

Re: Raylectron v5.2 animator

Posted: Mon Apr 24, 2023 1:38 am
by Okwa
Support wrote: Sun Apr 23, 2023 10:38 am oh! I'm happy that it does :salute

I'm now working on the camera so it can be manipulated within the script just as an object.
[media]http://sta.sh/01831y6tpe7u[/media]
Small test video with some WIP models. :D

Re: Raylectron v5.2 animator

Posted: Mon Apr 24, 2023 10:22 am
by Support
Very cool :) I'd like to see the script you used?

Re: Raylectron v5.2 animator

Posted: Tue Apr 25, 2023 5:29 am
by Okwa
Support wrote: Mon Apr 24, 2023 10:22 am Very cool :) I'd like to see the script you used?
:shock: Sorry, I have already overwritten the file again. And I can't really remember the exact script. But I'll try to put it together somehow. It should have looked something like this:

sec := cf/fps;
acc := 20*4;
py := 0.5*acc*power(sec,2);
py := -py;
CamRotz := 0.5*3;
CamRotz := -CamRotz;

:D So, I have tried this script. It is correct so far, but the command for the camera rotation is not quite correct. With this script, the camera turns a little longer than in the video. But for the movement of the models it is absolutely correct.
Oh, and I used the script on both models that move.

Re: Raylectron v5.2 animator

Posted: Tue Apr 25, 2023 1:22 pm
by Support
The camera rotation is in degree, so it's rotating 1.5 deg per FPS so after one seconds, it should have rotated 45 degrees and 90 after 2 seconds, assuming you have set 30 FPS.

Re: Raylectron v5.2 animator

Posted: Wed Apr 26, 2023 11:15 am
by Okwa
Support wrote: Tue Apr 25, 2023 1:22 pm The camera rotation is in degree, so it's rotating 1.5 deg per FPS so after one seconds, it should have rotated 45 degrees and 90 after 2 seconds, assuming you have set 30 FPS.
In the meantime, I also think that it is not due to the script. The distance between the camera and the models is different, I think. Hence the difference.

Re: Raylectron v5.2 animator

Posted: Wed Apr 26, 2023 11:34 am
by Support
"The distance between the camera and the models is different", indeed it is. When you move your mouse over an object, you can then look at the status bar and it will tell you the distance between the camera and the point on the object your mouse is on.

Re: Raylectron v5.2 animator

Posted: Wed Apr 26, 2023 2:24 pm
by GateGirl86
I have been busy and while I haven't been able to try the new effects, I did do this :mrgreen:


Re: Raylectron v5.2 animator

Posted: Wed Apr 26, 2023 2:43 pm
by Support
:o :o :o :o WOW That's so NICE, I LOVE it, and the music <3

Re: Raylectron v5.2 animator

Posted: Wed Apr 26, 2023 5:24 pm
by GateGirl86
I wish I could have made it longer...I ran out of ideas! :mrgreen:

Thank you Michael! :salute

Re: Raylectron v5.2 animator

Posted: Fri Apr 28, 2023 9:04 am
by Okwa
Support wrote: Wed Apr 26, 2023 11:34 am "The distance between the camera and the models is different", indeed it is. When you move your mouse over an object, you can then look at the status bar and it will tell you the distance between the camera and the point on the object your mouse is on.
Indeed. :)

Re: Raylectron v5.2 animator

Posted: Fri Apr 28, 2023 9:09 am
by Okwa
GateGirl86 wrote: Wed Apr 26, 2023 5:24 pm I wish I could have made it longer...I ran out of ideas! :mrgreen:
Fortunately. :P Otherwise, the bar you have set would have been even higher! :mrgreen: How can one compete with such a masterpiece? :D

Re: Raylectron v5.2 animator

Posted: Tue May 02, 2023 1:46 pm
by GateGirl86
Okwa wrote: Fri Apr 28, 2023 9:09 am
Fortunately. :P Otherwise, the bar you have set would have been even higher! :mrgreen: How can one compete with such a masterpiece? :D
How strange! :mrgreen: Not what you said really, at least not in context. My CO though said almost exactly the same, the other day. Thank you Okwa <3

Re: Raylectron v5.2 animator

Posted: Wed May 03, 2023 2:06 am
by Okwa
GateGirl86 wrote: Tue May 02, 2023 1:46 pm
Okwa wrote: Fri Apr 28, 2023 9:09 am
Fortunately. :P Otherwise, the bar you have set would have been even higher! :mrgreen: How can one compete with such a masterpiece? :D
How strange! :mrgreen: Not what you said really, at least not in context. My CO though said almost exactly the same, the other day. Thank you Okwa <3
So she's an overachiever at work too. I knew it. :P

:D

Re: Raylectron v5.2 animator

Posted: Wed May 03, 2023 1:17 pm
by GateGirl86
To be clear, he said my stitching was worthy of any sewing contest :P

Re: Raylectron v5.2 animator

Posted: Sat May 06, 2023 2:02 am
by Okwa
GateGirl86 wrote: Wed May 03, 2023 1:17 pm To be clear, he said my stitching was worthy of any sewing contest :P
:lol: