Red Hong flyby

User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Red Hong flyby

Post by BKilburn »

Alright, let's get started on the Red Hong fly by.

What I'm looking for is a simple flyby. It comes from the left and exits to the right. Opening scene is looking at the front from the starboard side and the ship is way off in the distance, not quite a speck but more of blob form.

It comes in fast and leaves fast. There will be sound. If possible, I would like the engine lights to pulse and flicker a little bit on exit.

Where do I start? :D

No hurry.
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

yes, I was waiting for this moment :excited:

Similar to the Nostromo fly-by that comes from the right but yours will be from the left?
Your support team.
https://SoftByteLabs.com
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

Sort of.

It does not fly away. Just travels from left to right. Completely linear. Like a car passing by.
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

ok, so does it start off the screen on the left and at a fixed speed? If you can maybe give me a screen shot of the start view and end view?
Your support team.
https://SoftByteLabs.com
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

Support wrote: Tue Nov 07, 2023 9:37 pm ok, so does it start off the screen on the left and at a fixed speed? If you can maybe give me a screen shot of the start view and end view?
I send screenshots tomorrow. I've already done an animatic block out in SU.
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

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

Re: Red Hong flyby

Post by Support »

What did you use to animate it in SU?
Your support team.
https://SoftByteLabs.com
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

Support wrote: Tue Nov 07, 2023 10:44 pm What did you use to animate it in SU?
SU itself.
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

So try this:

Accelerate(x, 5000", 0, 1)
LookAt(6.8, 0, duration)
MoveCamera(wy, -1400", 0, 7)
Orbit(-20, 6.8, 10)

In Rayanimation?
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

BKilburn wrote: Thu Nov 09, 2023 9:42 pm So try this:

Accelerate(x, 5000", 0, 1)
LookAt(6.8, 0, duration)
MoveCamera(wy, -1400", 0, 7)
Orbit(-20, 6.8, 10)

In Rayanimation?
No, in Raynimation, the animation plugin I made for Sketchup that works inside Sketchup...

https://raylectron.com/webver2/raynimat ... -sketchup/
Your support team.
https://SoftByteLabs.com
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

Turn off the shadows so it's faster for SU to draw, and turn off "View Profiles" as well.
Your support team.
https://SoftByteLabs.com
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

OK. Copied to Main in window.

Error message

Error message in 'Main' at: undefined method 'Orbit' for Rayanimation:Model
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

That's because you have the old one, just download the new one, I updated it yesterday.
Your support team.
https://SoftByteLabs.com
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

The download page says Oct 26th. ??
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

oh! I forgot to update the date, but the download is the latest as of yesterday.
Your support team.
https://SoftByteLabs.com
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

Support wrote: Thu Nov 09, 2023 10:21 pm oh! I forgot to update the date, but the download is the latest as of yesterday.
Got it. Thanks!
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

Ok, working.

Linear motion is close enough for now but orbit does not stay locked on ship.
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

Fiddling with the variables. So, so close. If I can get the camera to stay locked on the ship, it's done.

Speed and direction are now very good.

How do I get the camera to stay locked on the ship?
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

oh! What I did is center the axis because you had it set at the origin. Use the Raylectron Tool, the last one on the right to center a component's axis...
Attachments
Video_2023-11-09_215339.mp4
(4.01 MiB) Downloaded 2556 times
Your support team.
https://SoftByteLabs.com
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

also, the line MoveCamera(wy, -1400", 0, 7) is to have the camera step out of the way of the coming ship, so the camera moves left.
Your support team.
https://SoftByteLabs.com
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

Done. Still no lock on ship.
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

can you send a short clip so I can visualize what it does? If you use the script I sent, without modification but with the axis centered, does it animate the same as the video I posted?
Your support team.
https://SoftByteLabs.com
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

Animatic
Attachments
Red Hong small ship animation 2 animatic.mp4
(282.87 KiB) Downloaded 2581 times
User avatar
BKilburn
Posts: 474
Joined: Sat Nov 29, 2014 7:09 pm

Re: Red Hong flyby

Post by BKilburn »

I've modified the script. Movement of ship is almost perfect. Just need camera to accurately follow the ship on rotation. ;)

Accelerate(x, 5000", 0, 1)
LookAt(6.8, 0, duration)
MoveCamera(wy, -1200", 0, 8)
Orbit(-60, 6.8, 0)
User avatar
Support
Site Admin
Posts: 3124
Joined: Sun Oct 02, 2011 10:49 am

Re: Red Hong flyby

Post by Support »

ok, the Orbit is set to start at 6.8 sec and end at 0 sec, so that won't do anything at all, it's the same as deleting that line. When I run your script, it fly-by without stopping. The orbit is to rotate around the axis of the component, even as it moves. In my initial script, the ship appear to stop because the camera started to orbit the ship, then when it stopped orbiting, the ship appear to take off when in fact, the camera was simply left behind as the ship continue to move
Your support team.
https://SoftByteLabs.com
Post Reply