New function in animator

Raylectron (https://Raylectron.com) is a 3D rendering engine for Trimble Sketchup (https://sketchup.com)
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

Not the laptop, just the technology in it. It's actually a 2018 model
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

The computer technology doubles every year!!! I bought the best video card last year just to find out that last week they came up with a better one, twice as fast!!!
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

I thought it was everyday :lol:
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

Just about, in a way!
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

It feels like it, the older I get. How is the video going? Did it work?
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

I remember the of 8 bits CPU and 16KB of memory, it was good enough and then we had 64KB and it was wow, then 128KB and that was the ultimate, then came the 16 bit CPU and that was a monster, with a whooping 650KB of memory, ha, then 32 bit CPU, then Megabytes, now 64bit multi-core and gigabytes. It's never enough :lol:

no I didn't start the video because I'm working on fixing more things and I need to compile it all the time. And I was going to ask you if you want me to re-make the script because the video ends after the 302 turns, no take off.
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

I only remember a part of all that. :salute

Oh yes please, I would be truly grateful and you will have your name right there on the credits! :salute <3

See you Monday, taking the kids to visit Nan and Pop (Charlie's parents). :mrgreen:
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

I will do :) and you guys have a great weekend :)
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

We had a great time. Although the drive wasn't the best on the way up. There were two accidents on the Western Highway that slowed things down; we had planned to be in Bathurst around 4pm on Saturday. We didn't arrive until after 6pm and as you'd expect Charlie's parents were worried about us. Sunday was fabulous though. I hope your weekend was great. :salute :)
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

It's Sunday afternoon for me right now :lol:

I'm glad all went well for you guys. Meanwhile, I've been making the script even more easy, so easy in fact, I think you'll get a hang of it quickly and easily. :salute
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

I knew that! :lol:

That'd be great. Now all I need is a decent computer! :lol:

By the way, I need to ask, as I am making a small intro section of the video, which I can at least do with the older version. What window frame ratio are you using?
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

GateGirl86 wrote: Sun May 14, 2023 2:46 pm By the way, I need to ask, as I am making a small intro section of the video, which I can at least do with the older version. What window frame ratio are you using?
What can you do with the older version that the new doesn't???

16:9 is what I use because that's todays standard for monitors and TVs.
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

I'm not using code. Just start and end frames like on my Destroyer video, and its quicker :mrgreen:

Yes but what size? I think you mentioned 1280x720 earlier?
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

GateGirl86 wrote: Sun May 14, 2023 3:02 pm I'm not using code. Just start and end frames like on my Destroyer video, and its quicker :mrgreen:

Yes but what size? I think you mentioned 1280x720 earlier?
oh, but you can do that as well with the new one, just use the Scenes, no script.

1280x729 (HD) for testing and 1920x1280 (FHD) for YouTube is what I use the most.
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

Ah, I didn't know that :mrgreen:

Fabulous! That will work! :salute <3
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

:salute
Your support team.
https://SoftByteLabs.com
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

If you want to download the new one I just posted a minute ago...

https://Raylectron.com/files/Raylectron.rbz

With this one, all you really need now is something like this...

Code: Select all

units := meters;

// Accelerate for a distance of 20 meters starting at 0 seconds and keep steady speed at 6
Accelerate(py, 20, 0, 6);

// Decelerate to a stop within 8 meters starting at 6 seconds
DistDecelerate(py, 8, 6); 

// or 

// Decelerate to a stop within 5 seconds starting at 6 seconds
TimeDecelerate(py, 5, 6);

// Turn 90 degrees over a period of 5 seconds starting at 10 sec and end at 15 sec
yaw(90, 10, 15);

// and to control the camera...

// will move the camera forward by 1 inch for 10 seconds, so total is 10*60 inches
if (sec >= 10) and (sec <= 20) then
  CamPosY := 1;

// will rotate the camera 20 degrees over 10 seconds
if (sec >= 10) and (sec <= 20) then
  CamRotZ := 20 / 10 / fps;

Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

That does look really easy. I'll download that a little later. Meanwhile I have another question elsewhere.....beams out :mrgreen:
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

GateGirl86 wrote: Sun May 14, 2023 3:43 pm Meanwhile I have another question elsewhere.....
Where? I don't see it!
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

You will now. Check 'God's Ray" :lol:
Image
"Come with me if you want to live."
Sarah Connor
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

From terra firma to space.
302_special_wheels_up_rear.avi
(3.06 MiB) Downloaded 474 times
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

it see it dropped off warp speed :D very cool :salute

1 hour 30 min left to render the one you sent me. 2:45 total. Using the following script, it does what you want, and, it also set the camera to follow the 302 and look up a bit...

Code: Select all

Units := Meters;

BlinkLight('emitter_blue_tailight', 2, 0, 999);
BlinkLight('emitter_stb_nav',       3, 0, 999);
BlinkLight('emitter_port_nav',      3, 0, 999);
BlinkLight('emitter_nav_light',     1, 0, 999);

Accelerate(py, 40, 2, 27);

DistDecelerate(py, 25, 27);

Yaw(-90, 30, 40);

Accelerate(py, 30, 42, 43);

if (sec >= 40) and (sec <= 42) then 
  CamRotX := -12/(2*fps);

if (sec >= 42) and (sec <= 52) then 
  CamPosY := py / 1.3;

Pitch(35, 46, 49);

if (sec >= 46) and (sec <= 49) then 
  CamRotX := -10/(3*fps);
Your support team.
https://SoftByteLabs.com
User avatar
GateGirl86
Posts: 845
Joined: Mon Oct 03, 2022 8:32 pm

Re: New function in animator

Post by GateGirl86 »

Yes I had to add the last little part there :lol:

way better than I could manage. Just to try and do that start bit, with as much turned off as possible, took near 40 hours :shock: I'm very grateful Michael. :salute <3
Image
"Come with me if you want to live."
Sarah Connor
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

It's frustrating when you don't have the proper PC to do animations. I'm also working on making the GPU version do animation as well, but I don't know how that's going to help you because you have a laptop and the GPU on that isn't very good, but, it could be fast enough for draft mode, at least, to get the script right.

The RBZ I sent you earlier works for that script, you may want to try it at 25% and draft mode just to see, and the script, I hope it's easy enough? I don't see how else I can make it any easier :idea:
Your support team.
https://SoftByteLabs.com
User avatar
Support
Site Admin
Posts: 3183
Joined: Sun Oct 02, 2011 10:49 am

Re: New function in animator

Post by Support »

I'm not too happy with it. The script works perfectly and as expected but the clouds jump from one pattern to another a couple of times, so I fixed that bug. Too dark I think and not enough details. What do you think? and don't sugar coat it :lol:

Your support team.
https://SoftByteLabs.com
Post Reply