# nDisplay - How to make a .mpcdi or .pmf file for the projection configuration

**URL:** <https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702>\
**Category:** Community & Industry Discussion\
**Tags:** ndisplay, unreal-engine, screen, display, curve, question\
**Created:** [September 20, 2019, 1:19pm UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702 "2019-09-20T13:19:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chew\_Dlakic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chew\_Dlakic](https://forums.unrealengine.com/u/Chew_Dlakic)\
**Post date:** [September 20, 2019, 1:19pm UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/1 "2019-09-20T13:19:15Z")

</div>

I have created a config file for a room with 12 vertical screens all around you. I now need to curve the displays but have not found a way to create mpcdi or pfm file for the [projection] parameters. There is basically no information on the internet for .pfm files or how to create them, and as for mpcdi files, I get that there is a ton of software that uses those files/standard to calibrate the projection images but not a single software to export/create it or something.

So yeah, I’m looking for a way to curve those screens 😃

---

<div class="post-metadata">

**Author:** ![Chew\_Dlakic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chew\_Dlakic](https://forums.unrealengine.com/u/Chew_Dlakic)\
**Post date:** [September 23, 2019, 10:31am UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/2 "2019-09-23T10:31:43Z")

</div>

Update:  
I have found additional links explaining the mpcdi format (besides the official one)  
[https://github.com/tvaneerd/mpcdi/blob/master/MPCDI\_explained.md](https://github.com/tvaneerd/mpcdi/blob/master/MPCDI_explained.md)  
[https://github.com/tvaneerd/mpcdi/blob/master/fisheye.md](https://github.com/tvaneerd/mpcdi/blob/master/fisheye.md)

---

<div class="post-metadata">

**Author:** ![Chew\_Dlakic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chew\_Dlakic](https://forums.unrealengine.com/u/Chew_Dlakic)\
**Post date:** [September 30, 2019, 2:29pm UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/3 "2019-09-30T14:29:37Z")

</div>

Another update:  
I have been successful at creating a .mpcdi file and also getting a .pfm from the .mpcdi (since it’s just a zip)

What you need to do is go to this link [MPCDI Public Download](https://fs16.formsite.com/VESA/form31/index.html) enter some semi fake information and you will get a documentation pdf along with Mersive MPCDI Reference Implementation and Scalable Display Reference Implementation. Extract the Scalable Display one and you should get more documentation and a mpcdi.sln solution. You will need to install Microsoft Visual Studio 2008 as you will have the least amount of trouble running the solution as it was written in 2012-3.

![288820-111111.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/2/572ef1fbf78beb965e91fdb3ecb9f102711240f2.png)

Select this as your StartUp Project and run/debug it. You should get 4 .mpcdi files in the Examples/ExampleCreateProfileTypes folder. You can open the files for inspecion simply by changing the extension to .zip and vice versa.

Now, there is a lot of issues you will run into with the extension and I suggest you build from source as that helped me immensely. First thing you should change is the COMPONENT\_DEPTH for the image generators to CD\_ONE since the default one crashes the editor. (took me days to figure out)

![288821-222222.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/1/2218573ed3bf762dbe1fed0499d69b2dc63a68a1.png)

Its in the CreateAll.cpp

Even after a week of hustle there is still no sign we will see some documentation for this and god knows if we will ever figure out the .pfm files as that part is still the most crucial for its geometry. Of course I have not been able to solve my problem as my apps are crashing when build and all info i get is that its a index out of range and i don’t know how to debug my nDisplayLaucher run apps ☹

Please please please if not for me then for the next people that will try using this, make some examples and write some documentation this feature has been here since 4.20.

---

<div class="post-metadata">

**Author:** ![Rodja](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rodja](https://forums.unrealengine.com/u/Rodja)\
**Post date:** [October 15, 2019, 2:31am UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/4 "2019-10-15T02:31:05Z")

</div>

Hey @Kerber996, we’re you able to get the fisheye distortion working with the MPCDI extension?

---

<div class="post-metadata">

**Author:** ![Chew\_Dlakic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chew\_Dlakic](https://forums.unrealengine.com/u/Chew_Dlakic)\
**Post date:** [October 15, 2019, 7:41am UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/5 "2019-10-15T07:41:04Z")

</div>

Hey there, I did not have any luck using MPCDI files, but i did manage to use PFM geometry files. I created a repository of my generator so you can take a look. If you can’t understand the documentations be sure to tell me here so i put more effort in it. Also, cant you just up the FOV and get that effect? [https://github.com/Musaka96/PFM-Generator](https://github.com/Musaka96/PFM-Generator)

---

<div class="post-metadata">

**Author:** ![KaffeeeKind](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KaffeeeKind](https://forums.unrealengine.com/u/KaffeeeKind)\
**Post date:** [March 2, 2020, 2:02pm UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/6 "2020-03-02T14:02:36Z")

</div>

I am very thankful for your repo link. But the project doesn’t work for me. I _think_ i set everything up correctly like you desribed, but well I guess thats the problem. When I click start the engine freezes and a couple of seconds later crashes with:

_Assertion failed: Module [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Modules/ModuleManager.cpp] [Line: 376] PFMExporter  
UE4Editor\_Core  
UE4Editor\_Core  
UE4Editor\_Core  
UE4Editor\_Core  
UE4Editor\_Core  
UE4Editor\_Core  
UE4Editor\_cppTest4\_2378!ATestActor::BeginPlay() [D:\PFM-Generator\Source\cppTest4\TestActor.cpp:40]  
UE4Editor\_Engine  
UE4Editor\_Engine  
UE4Editor\_Engine  
UE4Editor\_Engine  
UE4Editor\_Engine  
UE4Editor\_UnrealEd  
UE4Editor\_UnrealEd  
UE4Editor\_UnrealEd  
UE4Editor\_UnrealEd  
UE4Editor\_UnrealEd  
UE4Editor  
UE4Editor  
UE4Editor  
UE4Editor  
UE4Editor  
kernel32  
ntdll_

Setup with mesh attached to scene attached to testactor looks exactly like your image on github. I even just tried to use your meshes. Ue version 4.23.1 and some older versions (not really sure which).

---

<div class="post-metadata">

**Author:** ![Chew\_Dlakic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chew\_Dlakic](https://forums.unrealengine.com/u/Chew_Dlakic)\
**Post date:** [March 3, 2020, 8:24am UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/7 "2020-03-03T08:24:30Z")

</div>

hey @KakaoKind, I had the entire engines source code with this project when I was doing it so maybe that the issue, but thankfully there is finally some explanation on video here: [In-Camera VFX with UE4 | SIGGRAPH 2019 | Unreal Engine - YouTube](https://youtu.be/vyYXLEz0k1Y?t=1298) i recommend you try that 😃

---

<div class="post-metadata">

**Author:** ![KaffeeeKind](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KaffeeeKind](https://forums.unrealengine.com/u/KaffeeeKind)\
**Post date:** [March 8, 2020, 7:50pm UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/8 "2020-03-08T19:50:38Z")

</div>

Well I actually did too 😃  
But thank you very much for the link

---

<div class="post-metadata">

**Author:** ![ArkadiyE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArkadiyE](https://forums.unrealengine.com/u/ArkadiyE)\
**Post date:** [June 7, 2021, 3:16am UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/9 "2021-06-07T03:16:12Z")

</div>

> **[Generate PFM](https://docs.unrealengine.com/4.26/en-US/BlueprintAPI/Miscellaneous/Warp/GeneratePFM/)**
>
> Generate PFM

---

<div class="post-metadata">

**Author:** ![User-a8986c1669](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@User-a8986c1669](https://forums.unrealengine.com/u/User-a8986c1669)\
**Post date:** [October 17, 2023, 5:01pm UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/10 "2023-10-17T17:01:20Z")

</div>

Hi

I got to the MPCDI Public Download and got the contents there.  
Unzipped the Scalable Display and opened it in VS 2022 that converted it to compatible format. I then tried to Build mpcdi which worked fine. I expected an executable from that but could find “everything” but an executable.  
I then tried building the example you mention, but that creates a number of errors.

My first question here is - What should I expect from building mpcdi (the item att the bottom in the “Solution ‘mpcdi’ (7 projects)” window?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 16, 2023, 5:02pm UTC](https://forums.unrealengine.com/t/ndisplay-how-to-make-a-mpcdi-or-pmf-file-for-the-projection-configuration/455702/11 "2023-11-16T17:02:17Z")

</div>

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