# Movie Render Queue Stereo Panorama C++ workaround

**URL:** <https://forums.unrealengine.com/t/movie-render-queue-stereo-panorama-c-workaround/2653090>\
**Category:** Rendering\
**Tags:** panoramic, unreal-engine, Rendering, CPP\
**Created:** [September 2, 2025, 7:19pm UTC](https://forums.unrealengine.com/t/movie-render-queue-stereo-panorama-c-workaround/2653090 "2025-09-02T19:19:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cys10107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cys10107/32/749367_2.png) [@cys10107](https://forums.unrealengine.com/u/cys10107)\
**Post date:** [September 2, 2025, 7:19pm UTC](https://forums.unrealengine.com/t/movie-render-queue-stereo-panorama-c-workaround/2653090/1 "2025-09-02T19:19:02Z")

</div>

> [@New Panoramic Rendering feature in UE5 Movie Render Queue](https://forums.unrealengine.com/t/new-panoramic-rendering-feature-in-ue5-movie-render-queue/541432/56):
>
> it support stereoscopic render. But your need fixed some bug in source code. I think the mian problem is huge memory for render.

Follow up of this thread. @MonsterNice showed a working stereoscopic movie render queue render, but didn’t posted the solutions. I’m not very good at C++, so starting this thread to share my workaround to get stereoscopic panorama working. Hopefully it can help someone, and maybe figure out better solutions!

I’ll first share my working workaround, and then the steps, attempts and possible improvements afterwards.

## Workaround

The CPP files for panorama rendering is in `Engine/Plugins/MovieScene/MoviePipelineMaskRenderPass`, with an extra header file in the main MovieRenderPipeline plugin.

Basically utilizing the existed but unfinished stereo features in `MoviePipelinePanoramicPass.cpp` and the respective header file, exposing the settings, and override the eye index interger. This way I can simply render 2 times to get the panorama of both eyes, then combine it afterwards.

**In the header:**  
Add a new variable `EyeIndex` after the line `bool bStereo;`, and expose it to MRQ panel

```auto
/**
 * -1=Disabled, 0=Left eye, 1=Right eye. Use this instead of stereo rendering!
*/
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Panoramic Settings")
int32 EyeIndex;

```

**In CPP:**  
Set the default value to -1 on top of the file

```auto
UMoviePipelinePanoramicPass::UMoviePipelinePanoramicPass() 
	: UMoviePipelineImagePassBase()
	, NumHorizontalSteps(8)
	, NumVerticalSteps(3)
	, bFollowCameraOrientation(true)
	, bStereo(false)
	, EyeIndex(-1) // Here is our variable!!!
	, EyeSeparation(6.5f)
	, EyeConvergenceDistance(EyeSeparation * 30.f)
	, bAllocateHistoryPerPane(false)
	, bPageToSystemMemory(false)
	, bHasWarnedSettings(false)

```

Find the line

```auto
int32 StereoIndex = bStereo ? EyeLoopIndex : -1;

```

Override the variable it with `EyeIndex` variable we created in header

```auto
int32 StereoIndex = bStereo ? EyeLoopIndex : -1;         
int32 StereoIndex = EyeIndex; // Override with EyeIndex
Pane.Data.EyeIndex = StereoIndex;		

```

Optionally disable stereo FOV values in function `GetFieldOfView`, for some reason Epic’s dev locked it at a low value and doesn’t allow overriding. This doesn’t really matter to the workaround.

```auto
void UMoviePipelinePanoramicPass::GetFieldOfView(float& OutHorizontal, float& OutVertical, const bool bInStereo) const
{
	// ToDo: These should probably be mathematically derived based on numSteps
	
	// Allows manual override for FOV when using stereo
	OutHorizontal = HorzFieldOfView > 0 ? HorzFieldOfView : 90.f;
	OutVertical = VertFieldOfView > 0 ? VertFieldOfView : 90.f;
}

```

Then recompile the plugin [Compiling a plugin for a new engine version | Community tutorial](https://dev.epicgames.com/community/learning/tutorials/0RG4/unreal-engine-compiling-a-plugin-for-a-new-engine-version)

## Workaround result:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/d/75dc0a8934b19c0698c84713b7e0708babc10baa.png)  
With the newly exposed Eye Index setting, we can now render with left/right eye. Set this to -1 to render neutrally without offset, 0 to render as right eye, 1 to render as left eye. Combine 2 afterwards in post.  
Do note that with left/right eye offset, you will need more steps especially horizontal to have less ghosting effects.  
 ![Seq_PanoramaStill.0000.02.21.53](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/3/cd3f6432b5e65ef17bd9b3508fc418277c6775c8.jpeg)  
 ![Seq_PanoramaStill.0000.02.23.22](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/2/962b971eb2c52742aca7d834e2621aaad9946478.jpeg)

## Fix attempts and info:

Ideally stereoscopic rendering should produce 1 clean output with left, right eye stacked vertically, and should be driven by `bStereo` variable.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/3/633cf741e03688b7fd01b4d97a9175ca63bec444.jpeg)

In `MoviePipelinePanoramicPass.h`, exposing `bStereo` allows us to use the unfinished stereo rendering features. Without tweaking the code the renders will look something like this:

 ![Seq_PanoramaStill.0000_Stereo_00.58.42](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/a/1da30e06feb8357c4727c720aca4ccb77150b317.png)  
This is partially because in CPP devs locked stereo FOVs to a fixed value, so the individual panes doesn’t cover the entire image.  
By tweaking the FOV function to allow manual FOV override for stereo and increases horizontal/vertical slices, I’ve managed to get the following render:  
 ![Seq_PanoramaStill.0000.01.38.04](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/a/5/0a57de93c469a300881bfee0027b242bbcc8a3b3.jpeg)  
But I cannot get it to fill up the bottom side, also producing the ghosting effect. Ghosting is the result of blending both left and right eye’s image into one, and MRQ probably only rendered 1 eye worth of panes, which results in the missing half.

I’ll post updates if I figure out more info..

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [September 3, 2025, 3:09am UTC](https://forums.unrealengine.com/t/movie-render-queue-stereo-panorama-c-workaround/2653090/2 "2025-09-03T03:09:34Z")

</div>

that’s pretty cool. i wonder if making a fork in github could attract more devs.

good luck!
