# Computing dense optical flow with scene capture component 2D

**URL:** <https://forums.unrealengine.com/t/computing-dense-optical-flow-with-scene-capture-component-2d/1691312>\
**Category:** Rendering\
**Tags:** UE-5, unreal-engine\
**Created:** [February 15, 2024, 8:15pm UTC](https://forums.unrealengine.com/t/computing-dense-optical-flow-with-scene-capture-component-2d/1691312 "2024-02-15T20:15:08Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [February 17, 2024, 4:00am UTC](https://forums.unrealengine.com/t/computing-dense-optical-flow-with-scene-capture-component-2d/1691312/12 "2024-02-17T04:00:51Z")

</div>

Hm, that makes me think a UV is centered on (0,0) that needs to be centered on (0.5,0.5) or something along those lines. Just did a real quick mockup  
 ![OpticalFlow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/3/3934931d4d53edabe17c43f777e5beab193d4e9e.gif)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/4/9c4932b551bf4bcd4d69db0389b78ed7fa3c8d6a.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/9/2d99ac484695894c3038173e04c48e4f70b34c44.png)  
I think this is right? Maybe not exact for your case but maybe it’ll help… Saturation node is just there to make the color more obvious. Texture sample is the flow field gradient.

---

_[View the full topic](https://forums.unrealengine.com/t/computing-dense-optical-flow-with-scene-capture-component-2d/1691312)._
