Sensor Camera Definition

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
Locked
zeus67
Posts: 23
Joined: Thu Jan 13, 2011 3:04 am

Post by zeus67 »

Hi,



I've tried to develop a FLIR for a tactical aircraft, but I'm having problem with the sensor camera for display in the virtual cockpit.



I followed the SDK instructions:



{aircraft.cfg}

[Camera.003]

title="$FLIR_DISPLAY"

....

RenderToTexture=TRUE

RenderToScreen=FALSE



{panel.cfg}

VirtualCockpit.004

.....

texture=$FLIR_DISPLAY



But the program CTDs every time. What am I doing wrong?



I'm using ver 1.3 Developers License.

User avatar
Rob McCarthy
Lockheed Martin
Posts: 3704
Joined: Wed Aug 24, 2011 1:37 pm

Post by Rob McCarthy »

Hey zeus67,



You aren't doing anything wrong, there is a menu bug when handling RenderToScreen=FALSE cameras. We have a fix for this issue in our upcoming 1.4 release.
Rob McCarthy
Prepar3D® Core Lead
Locked