• 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 v3 Render to texture cameras

Messages
150
I've been struggling to get this to work. I have a poly with a $ texture applied, I have a camera in the aircraft.cfg with render to texture set to true, the camera name is the same as the Texture Name in the gauge, but no matter what the poly stays black in P3D V3.4.

The gauge is:

<Gauge Name="Periscope" Version="1.0">
<Image Name="background.bmp" />
<Element>
<Position X="256" Y="256" />
<Texture Name="Periscope" Width="512" Height="512" />
</Element>
</Gauge>

Camera is:

[CameraDefinition.8]
Title = "Periscope"
Guid = {AB6C532B-059C-43e3-A345-D11AD112B7DA}
Origin = Center
MomentumEffect = No
SnapPbhAdjust = None
SnapPbhReturn = False
PanPbhAdjust = None
PanPbhReturn = False
Track = None
ShowAxis = YES
AllowZoom = No
InitialZoom = 0.46
SmoothZoomTime = 0.0
ZoomPanScalar = 0.0
ShowWeather = Yes
XyzAdjust = False
AllowPbhAdjust = no
ShowLensFlare=True
Category = Aircraft
PitchPanRate=0.0
HeadingPanRate=0.0
InitialXyz=0, 1.5, 13
InitialPbh=0, 0, -180.0
clipmode = minimum
RenderToTexture=true
CycleHidden=No
ShowLabels = 0
TextureSizeX=512
TextureSizeY=512
HideUserAircraft=0

The panel.cfg has the usual vcockpit entry (I set up a single entry just for this $ texture) and I can successfully display a 2d gauge on the poly without issue.

Does anyone know what might be causing the poly to stay black in sim?

David.
 
Fixed it by trimming the number of entries in the camera setup in the aircraft.cfg.

Hi David,

What exactly do you mean...? How is your Camera now in aircraft.cfg...? For me, the texture remains black...!

Thank you for helping me...!
 
Back
Top