Raylectron v5.2 animator

Raylectron (https://Raylectron.com) is a 3D rendering engine for Trimble Sketchup (https://sketchup.com)
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Raylectron v5.2 animator

Post 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?
Your support team.
https://SoftByteLabs.com
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Raylectron v5.2 animator

Post 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;
Your support team.
https://SoftByteLabs.com
Okwa
Posts: 580
Joined: Mon Feb 27, 2023 1:34 am

Re: Raylectron v5.2 animator

Post 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
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Raylectron v5.2 animator

Post 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.
Your support team.
https://SoftByteLabs.com
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Raylectron v5.2 animator

Post 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.
Your support team.
https://SoftByteLabs.com
Okwa
Posts: 580
Joined: Mon Feb 27, 2023 1:34 am

Re: Raylectron v5.2 animator

Post 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
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Raylectron v5.2 animator

Post 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.
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: Raylectron v5.2 animator

Post 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
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Raylectron v5.2 animator

Post 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
Your support team.
https://SoftByteLabs.com
Okwa
Posts: 580
Joined: Mon Feb 27, 2023 1:34 am

Re: Raylectron v5.2 animator

Post 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
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Raylectron v5.2 animator

Post by Support »

Very cool :) I'd like to see the script you used?
Your support team.
https://SoftByteLabs.com
Okwa
Posts: 580
Joined: Mon Feb 27, 2023 1:34 am

Re: Raylectron v5.2 animator

Post 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.
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Raylectron v5.2 animator

Post 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.
Your support team.
https://SoftByteLabs.com
Okwa
Posts: 580
Joined: Mon Feb 27, 2023 1:34 am

Re: Raylectron v5.2 animator

Post 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.
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Raylectron v5.2 animator

Post 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.
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: Raylectron v5.2 animator

Post by GateGirl86 »

I have been busy and while I haven't been able to try the new effects, I did do this :mrgreen:

Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Raylectron v5.2 animator

Post by Support »

:o :o :o :o WOW That's so NICE, I LOVE it, and the music <3
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: Raylectron v5.2 animator

Post by GateGirl86 »

I wish I could have made it longer...I ran out of ideas! :mrgreen:

Thank you Michael! :salute
Image
"Come with me if you want to live."
Sarah Connor
Okwa
Posts: 580
Joined: Mon Feb 27, 2023 1:34 am

Re: Raylectron v5.2 animator

Post 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. :)
Okwa
Posts: 580
Joined: Mon Feb 27, 2023 1:34 am

Re: Raylectron v5.2 animator

Post 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
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: Raylectron v5.2 animator

Post 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
Image
"Come with me if you want to live."
Sarah Connor
Okwa
Posts: 580
Joined: Mon Feb 27, 2023 1:34 am

Re: Raylectron v5.2 animator

Post 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
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: Raylectron v5.2 animator

Post by GateGirl86 »

To be clear, he said my stitching was worthy of any sewing contest :P
Image
"Come with me if you want to live."
Sarah Connor
Okwa
Posts: 580
Joined: Mon Feb 27, 2023 1:34 am

Re: Raylectron v5.2 animator

Post 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:
gezgin
Posts: 4
Joined: Sat May 11, 2024 3:09 pm

Re: Raylectron v5.2 animator

Post by gezgin »

I tried case object of example. But nothing is moving.
https://drive.google.com/file/d/1nyvawj ... sp=sharing
Post Reply