• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

P3D v2 (EIDS) Engine Instrument Display Panel

Messages
53
Country
us-hawaii
I have followed a bunch of topics on here and enjoy the innovation. While trying to replicate the real life counterpart to train and combine my passion for programming and simming I have started replicating the Engine Instrument Display Panel that we have retrofitted in our HC-130H. Because I am using the Captainsim VC I am limited by where I can put the gauge. In our real cockpit we have two LCDs that have a top and bottom display, and we can combine all the gauges on one screen (Reversionary Mode) if we choose. To work within my limitations (I can't 3D Model so I am going to place it where the old digital displays were in the Captainsim cockpit) I chose the Reversionary display.

Here is my first out of sim render using Direct2D. The next step will be to use the GDI+ Template to place it into the sim.

Please give me any thoughts or feedback (it's my first gauge so I'm still learning).

Here is the link for the actual system.
http://www.innovative-ss.com/platforms/index.asp?ID=57&L1=3&L2=2&L3=0&display=1

My render is attached.

Cheers!

-Matthew Chase
USCG HC-130H Pilot
 

Attachments

  • EIDSExternalRender.png
    EIDSExternalRender.png
    45.2 KB · Views: 575
Looking good. As long as you use a Gdi compatible D2D rendertarget, you should be able to just copy the code from your external project and put it into the gauge using the gauge HDC.
 
Looking good. As long as you use a Gdi compatible D2D rendertarget, you should be able to just copy the code from your external project and put it into the gauge using the gauge HDC.


Thanks Gents, I'm following your lead on the Direct2D stuff, I know you've moved on to straight directx but I'm building to learn the ins and outs of graphics and get back into C++.

Here's a thought though... Could I create a Render to Texture Texture in a gauge using the PDK then render to that?
 
I don't see why not. You would have to redo everything from scratch though if you want to go the D3D11 route. And HLSL, while incredibly awesome, is an absolute PAIN to work with since you have to recalculate all your pixel coordinates into viewport coordinates. The only thing that takes the pain away is if you build a tool to do that for you.
 
Thought I'd also mention I rendered to a GDI compatible target using your example for my external implementation so thank you very much!

I think I'll stick with Direct2D because the results vs. workload seem to be great so far. Wish me luck getting this thing into prepar3d.
 
If you need help, post another thread here. I will try to help with my knowledge on it so far...
 
Back
Top