Idea

Serge A avatar image
1 Like"
Serge A suggested Phil BoBo edited

Broken rendering and GUI when there are more than 8 light sources

I noticed that if there are more than 8 light sources in the model, visual rendering is not correct. What's more important, FlexSim user interface doesn't work correctly after the 9th light source is added.

This is how you can reproduce it: set ambient light to black and delete all light sources but the first one, set it to black, then add 8 more light sources (which will be copies of the first one). As soon as the 9th light source is added, you will see wrong colors in the Perspective view window.

User interfaces breaks in a different way if I add point light source or parallel light sources, but it looks like some kind of memory corruption issue.

Applies to: FlexSim 19.1.0 and earlier versions.

buggraphicslight
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Comment

·
Phil BoBo avatar image
0 Likes"
Phil BoBo commented Phil BoBo edited

FlexSim's default shaders are limited to 8 lights. That is by design.

The erroneous rendering when you add a 9th light is a bug; it should be ignoring lights past the 8th.

I will update the View Settings documentation to explain this limitation.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write a Comment

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.