Simulation 3D Scene Configuration Background all black.

I am using the Simulation 3D Scene Configuration block with the SImulation 3D Aircraft Block to display a model of Aircraft Dyanmics. I have the settings and parameters as shown in the images below, but whenever I run the simulation, the aircraft behaves as expected and can be seen clearly, however the background is completely black.
I was using this video tutorial to set the settings for the blocks and theirs worked fine: https://www.youtube.com/watch?v=vBVOeEt63kY&ab_channel=MATLAB

 Accepted Answer

Jayant
Jayant on 8 Jul 2023
Edited: Jayant on 8 Jul 2023
As shown in the ''scene.jpg'' image, the sample time is the default value. Kindly change it to 1/60 as instructed in the video.
Hope that helps.

1 Comment

I had it as 0.01 since I was getting an error related to the sample time needing to be a multiple of the timestep of integration and I have been using a fixed time step integrator. However, I tried variable step and using 1/60 and still the same result.

Sign in to comment.

More Answers (0)

Asked:

on 8 Jul 2023

Commented:

on 10 Jul 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!