Rendering view modes as AODs via console commands with Movie Render Queue

Hi

I’m trying to find a way to render out image sequences of the debug view modes available inside the editor viewfinder panel.

I can see there are a few AOV options added into the Movie Render Queue, but I’d like to get access to the Path Tracer debug view modes to render out.

In the past I’ve done this in other engines by scripting a console command to play on launch, although I can’t see any console commands that relate to the Path Tracer debug nodes.

Maybe a bit of an unusual ask, but can anyone advise on a good route forward?
Ideally i’d like to be rendering EXR image sequences instead of capturing my screen of in editor footage.

Thanks!

1 Like

You will have to fire cvars at render time to enable/disable components like r.pathtracing.enableemissive 0

We are going to make this easier in 5.5 with the Movie Render Graph where you can set this on the pathtracer renderer node.

2 Likes

Thanks for putting me onto the Movie Render Graph, this looks really useful.

In terms of cvars, are any of the raytracing debug visualisation modes accessible?

I can see the r.RayTracing.DebugVisualizationMode but not sure what values to use with it. Can it be used to access barycentrics / triangles viewmodes for example?

thanks

You can fire some cvars.

ShowFlag.RayTracingDebug 1
r.RayTracing.DebugVisualizationMode Triangles
1 Like

The list of the modes can be obtained from RayTracingDebug.cpp or here is a snippet

"Radiance, "World Normal, "BaseColor, "DiffuseColor, "SpecularColor, "Opacity, "Metallic, "Specular, "Roughness, "Ior, "ShadingModelID, "BlendingMode, "PrimitiveLightingChannelMask, "CustomData, "GBufferAO, "IndirectIrradiance, "World Position, "HitKind, "Barycentrics, "PrimaryRays, "World Tangent, "Anisotropy, "Instances, "Performance, "Triangles, "FarField, "Traversal Node, "Traversal Cluster, "Traversal Triangle, "Traversal All, "Traversal Statistics, "Dynamic Instances, "Proxy Type, "Picker, "Instance Overlap, "Triangle Hit Count, "Hit Count Per Instance, "Light Grid Occupancy

1 Like

Brilliant. Thanks for the help!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.