Overblown jagged edges matinee render, what to do?

Hi guys, i ran into another problem and after bashing my head with UE4 for 5 hours here i am so please help me out. I made a cutscene in matinee and it works well within UE4 as you can see in screenshot 1, But when i render out using movie tool inside matinee, the render comes out overblown with jagged edges like there no anti-aliasing and it flickers a little, see screenshot 2. I have no idea what i have done wrong, it plays really well inside UE4 stand alone window or viewport, only when i render the video out in AVI format, video comes out overblown. I am using UE 4.6.

Hey the3dsgeek -

Are you applying the Post Process Effects like Auto Exposure and AA through a Global Post Process Volume? If so, try taking the same settings and add them to the matinee’s camera(s) and re-render our your movie and see if the post process effects are rendered and let me know -

Thank You

Eric Ketchum

Hi Eric, thank you for replying. I tried what you said. Matched all the similar settings in post process volume and matinee camera but its still coming out like before.

Hey -

Have you tried to reproduce this issue in a new sample project, if so could you upload that project for our testing? If you want I would also be happy to look at the original project but you may need to upload it somewhere else for me to get access to, if you need to keep it private feel free to message me via the Forums.

Thank You

Eric Ketchum

Hi,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

Eric Ketchum

Hi, I have an similar Issue, but don’t have tried out your suggestions yet. In my case, i have made a moving Camera around some Buildings. In 90% everything is ok, only at edges with very low angles I see some Alias. I have tha impression, that the Movie is recorded directly from the framebuffer and the Engine is not able to give the FULL antialiasing every frame. It’s the same as in Gameplay: If you move, then the Antialiasing goes one Step back. Only when the Frustum stays still, after a Split of a Second, the full Antialising comes back in. Is there an Option to record and render with full Antialiasing for every Frame? Maybe with the Commandline Options “Dumpmovie” and “Benchmark”. I will try your suggestion and check the Camera settings from the Matinee Cam also. Thanks Tolero

After a few more testing, it looks like that the Temporal AA Effect gets not recordet. Even not when the scene is paused
through matinee or Set Global Time Dilation. In the Moment the Screenshot got taken, the Image in the Editor gets back to little Alias. So the only way to record absolutely perfect Movies is to take Snapshots with an external tool from the Monitor. This all occurs most notably in Scenes, where hard edges are present (Architecture). Used Version 4.6.1

Hey Tolero,

I did a little bit of research and found some good resources with tips on how to go about capturing/rendering out a movie with Unreal. The DUMPMOVIE and Benchmark options will be your best choice when trying to render out a clean movie.

Rendering Video Sequences

These links should get you to the correct location and provide a good start for capturing your movie. Let me know if you have any further questions or need additional help.

Cheers,

Hey Andrew, thanks i will check that out!

Hey Andrew, so i have tested the way with -dumpmovie and -benchmark, but this doesn’t bring the desired effect. There is still aliasing at edges. Look at the image for what i mean. This jagged lines are vanishing, when the camera stands still. So they only occur during camera motion. Mybe i miss something totally, but i don’t think so. That’s the way the engine behaves in game. So the best thing would be, if there was a “Step by step” or frame by frame option in the matinee record options. So that after every played frame will be a short pause, to give the antialiasing a chance to fully sharpen the edges. Thanks

Here for comparison, direct from the editor without camera motion.

Hey Tolero,

There are the options within the ‘Movie’ button of ‘Matinee’ that allow you to render individual frames as images.

Matinee Movie Options

34753-movierenderoptions.png

Also, the camera(s) you are using for your movement contain the same settings as other camera actors. Select the camera track within matinee and then check your details panel to be able to change the options like ‘Temporal AA’ and ‘Motion Blur’.

Matinee Camera Actor

Let me know if these suggestions worked or if you need some more help.

Cheers,

Hey Andrew, thanks for your help.

I checked your suggestions and everything was setup right. The camera actor was set to Temporal AA. What do you mean with render individual frames in matinee? I can only select to render as avi or still images (as in your rollout image). There’s no Option to say: render frame 350 to 800 or something like that.

After a little research, i guess i can break down the problem: First, it is a bad idea to make meshes with absolut sharp edges (Walls ect.). They should be roundet at the edges, or even just cut with a little surface that brakes the edge from 90 degrees to 45 degree. The second thing is to avoid little overlapping parts (like the roof in my image) which causes tiny shadows.

The same thing with the border at the street. This boarder creates a sharp shadow from aprox. 20 centimeters. when watched from far away, this is so tiny that aliasing occurs. I have read in the “ray traced distance field soft shadows” Documentation, that jaggies can occur in temporal AA. I guess this is the case in my project. The only strange thing is, that Temporal AA does a great job when the camera is not moving.

When i move in the editor or in game, alias comes out (not everywhere! just on sharp edges…), and after standing still, the image get polished with sharp edges. This can take sometimes a second or two. The Editor is set to EPIC in all sections and runs at 50fps…Maybe this is a gfx card issue? Super AA from the gfx Card?

I have watched the videos from koola and others, and there is absolut no alias visible, but they also don’t use absolut sharp edges in their models. I will perform a test with sharp edged and smooth edged cubes and then lets see, if that has an impact. Thanks

Hey Tolero,

You are welcome. Yes, there are a lot of small adjustments that can be made with your geometry and shadowing technique to improve the movie capture quality. Usually when we are flying around in the viewport creating content and designing our levels/scenes, the smaller details like the sharp edges and overlapping areas can sometimes get overlooked. These are more noticeable when creating a rendered video through a camera that is slowly flying around your scene focusing on individual sections of your environment.

Quick question, have you used the AVI movie option and rendered to 30 frames per second? I have found that upon initial capture of a movie, it will appear washed out, but if you go to the directory where the movie is saved in your project folder and play the movie, it will look as intended. By ‘render individual frames’ I just meant taking the individual frame images that are created when using the sequence and compiling them with an external movie editor.

The points you bring up are valid and your workarounds sound like they will do a good job on cleaning up the overall smoothness and quality when rendering your video. Let me know if you are able to get your movie to the desired quality, or if you have any other questions or concerns.

Cheers,

Hey Andrew, i have done the test. Here is the clip: unreal antialias test - YouTube
The geometry was not so crucial how i was thinking. The most important thing is to avoid edges WITH high contrast to the fore or background. Also the tiny shadow thing is somethin to watch for, but in that demo example, even that don’t turn out bad. (i was walking around in the level to check that, you cant see that in the vid). Maybe my Project also get messed up with the time, i was working on it since version 4.3. Cheers

Sometimes working with a project that has been copied or converted multiple times will cause some corruption in various places, so that is a good point of interest.

From the looks of the video it seems pretty clean as you mentioned, so I am assuming you are getting closer to your desired results?

Regards,

Hey Andrew, yes, when i take all considerations in count for the next project and get similar results as in the posted vid, i will be happy with that. Thanks

So to finally close this, I have to say that after cooking the Project the Antialias is much more better than in the Editor Preview! (Also Play in New Window wasn’t good). So it seems it is the best way to cook your content, and then record your animations.