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.
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.