Idea

Serge A avatar image
2 Likes"
Serge A suggested Logan Gold edited

Improve antialiasing (jagged lines, flickering edges in videos)

FlexSim does not use anti-aliasing and it results in jagged lines and object edges in the 3D view. The effect is tolerable when we look at a static image or use FlexSim interactively, but it is very noticeable in videos when the camera or the objects are moving.

1643894198200.png

I know two workarounds which help to reduce this effect, but they are not sufficient to produce high quality graphical results.

1. Override application settings in Nvidia Control Panel and force some kind of antialiasing.

2. Render videos at 4x resolution and then reduce resolution in editing (basically, simulating 4x sampling).

I recorded a video which shows the problem, both with and without Nvidia override.

https://weboffice.flexcon.it/weboffice/index.php/s/W6KreUTqkVWKFJS

I would be happy to see some improvement in this area, particularly reducing edge flickering in videos.


For reference, the object in this video is this Sketchup 2019 model https://3dwarehouse.sketchup.com/model/9a2c577d223d4a274480322965138b9b/Box-Lattice

video recordergraphicsrendering
1643894198200.png (950.3 KiB)
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 Logan Gold edited

Using your graphics card to enable anti-aliasing isn't a workaround. It is a feature of your graphics driver. If you want to use anti-aliasing, turn it on in the Nvidia Control Panel.

Also, if you want to super-sample with the video recorder, then use a Shared Sequence and increase the Samples from 1 to 2:

1643913582265.png

With Samples set to 2:

Samples2.mp4

With Sample set to 1:

Samples1.mp4

(There's a bug in the UI with setting the samples to 4 right now, but if you change the value in the tree, then you can get it to super-sample even larger.)

1643915096535.png

With Sample set to 4 (in the tree):

(Also, all these videos are 720p. They'll look even better if you record them at a higher resolution.)

With Nvidia anti-aliasing settings:

1643913646811.png

Without Nvidia anti-aliasing settings:

1643913630761.png

AA_test.fsm

· 2
5 |100000

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

Serge A avatar image Serge A commented ·
Supersampling feature in the Shared Sequences is actually helpful. Thank you. I always found the layers UI confusing and preferred basic sequences instead, but they don't have it.


  1. Is it possible to add this option also to the basic sequences?
  2. Do you think it's possible to set "2 Samples" supersampling as the default mode of the video recorder, at least if the hardware is reasonably capable. 2 samples are still not too slow, but the results are already presentable.
  3. So what FlexSim calls "2 samples" is actually an aggregation across 4 pixel samples for one pixel of output, isn't it? (At least this is what the tooltip suggests).

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Serge A commented ·

1. No. The basic sequence is purposefully basic. If you want to use the other features of the video recorder, use the shared sequences.

2. No. The default is set to purposefully use the simple settings that work as expected, not record 4 times as many pixels as defined in the video size.

3. Yes. "Samples 2" increases the resolution by 2x in both width and height, aggregating 4 pixels.

0 Likes 0 ·

Your Opinion Counts

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