Search found 134 matches

by JB3DG
Mon Oct 21, 2019 11:42 am
Forum: Software Development Kit (SDK) Questions
Topic: Setting airspeed true and airspeed indicated values through SimConnect Aircraft Position and Speed Variables
Replies: 7
Views: 1633

Re: Setting airspeed true and airspeed indicated values through SimConnect Aircraft Position and Speed Variables

Setting the instrument sim vars has always been rather hit or miss with weird behaviour for me. I would recommend taking the raw velocity values and atmospheric parameters and calculating your own instrument indications using your own vars. I should point out that setting body velocity to true is no...
by JB3DG
Mon Oct 21, 2019 6:17 am
Forum: Software Development Kit (SDK) Questions
Topic: Setting airspeed true and airspeed indicated values through SimConnect Aircraft Position and Speed Variables
Replies: 7
Views: 1633

Re: Setting airspeed true and airspeed indicated values through SimConnect Aircraft Position and Speed Variables

I have no problems integrating body velocity Z, but I work in a dll, not a exe. I set my SimConnect data request to return every sim frame (and the flag that sets it to return on change is not added), and I call my integration functions from that particular request case. That way it doesn't get call...
by JB3DG
Sat Oct 19, 2019 5:42 pm
Forum: Simulation Object Development Questions
Topic: HF Radio Fequencies
Replies: 11
Views: 3947

Re: HF Radio Fequencies

If the gauge is a dll then there is no way it would even be modifiable.
by JB3DG
Mon Sep 30, 2019 4:59 pm
Forum: Software Development Kit (SDK) Questions
Topic: Flightplan data with the PDK
Replies: 9
Views: 2681

Re: Flightplan data with the PDK

It actually is quite clean if you make a wrapper class for it and use enums and arrays for the string names and IDs and create some read and write functions.
by JB3DG
Sun Sep 29, 2019 8:22 am
Forum: Software Development Kit (SDK) Questions
Topic: Flightplan data with the PDK
Replies: 9
Views: 2681

Re: Flightplan data with the PDK

You can use the IGaugeCCallback system.

Best description on how to use C: vars is found here:

https://forums.vrsimulations.com/support/index.php/TacPack_SDK#CVars_via_C.2B.2B
by JB3DG
Thu Sep 19, 2019 4:57 pm
Forum: Software Development Kit (SDK) Questions
Topic: Heat value in IR sensors
Replies: 2
Views: 1925

Re: Heat value in IR sensors

My examination of the IR shaders and P3D materials and material scripting SDK shows that they do simulate actual IR, but you will find it hard to get anything useful from the render target pixel data since the output is always normalized.
by JB3DG
Wed Sep 18, 2019 6:33 am
Forum: Simulation Object Development Questions
Topic: about shaders
Replies: 2
Views: 2652

Re: about shaders

You need to learn DX11 and the Texture PDK API.
by JB3DG
Fri Aug 09, 2019 11:12 am
Forum: Simulation Object Development Questions
Topic: Support for more than 2 COM radios
Replies: 0
Views: 3474

Support for more than 2 COM radios

Is there a possibility of getting support for a 3rd and even a 4th COM radio? Some of the military aircraft I work on have a VHF and a UHF radio with simultaneous transmit on both with guard receive. To simulate that I would need to be able to tune COM 1 and 2 as the UHF and VHF radios, and COM 3 as...
by JB3DG
Thu Aug 08, 2019 8:02 am
Forum: Software Development Kit (SDK) Questions
Topic: Changing the pitch range in Targeting Pod
Replies: 3
Views: 1710

Re: Changing the pitch range in Targeting Pod

I’m not sure if you read the previous post on this issue, but the very nature of Euler rotations are such that pitch can never exceed +-90!
If you want to go beyond 90 deg downwards, you need to add 180 deg to your heading value, and then start moving pitch back towards 0.
by JB3DG
Wed Aug 07, 2019 9:13 am
Forum: Software Development Kit (SDK) Questions
Topic: Changing the pitch range in Targeting Pod
Replies: 3
Views: 1710

Re: Changing the pitch range in Targeting Pod

Instead of using SetContinuousPitch, try the SetPbh function. That way you have complete control over where the camera is looking.
by JB3DG
Mon Jul 29, 2019 5:44 pm
Forum: SimConnect Interface Questions
Topic: Identify joysticks for SimConnect_MapInputEventToClientEvent
Replies: 3
Views: 2046

Re: Identify joysticks for SimConnect_MapInputEventToClientEvent

Nope. But the only reason I use SimConnect_MapInputEventToClientEvent is in order to mask joystick hardware inputs from the sim to prevent conflicts. I wrote my own class for using DirectInput on its own to handle everything from axes, buttons, POV hats, keyboard inputs, event based or status on dem...
by JB3DG
Mon Jul 29, 2019 9:06 am
Forum: SimConnect Interface Questions
Topic: Identify joysticks for SimConnect_MapInputEventToClientEvent
Replies: 3
Views: 2046

Re: Identify joysticks for SimConnect_MapInputEventToClientEvent

Set your control input method in P3D to DirectInput (Controls menu->Other), then use the DirectInput SDK to enumerate your devices. The sequence will match.
by JB3DG
Tue Jul 16, 2019 7:07 pm
Forum: Software Development Kit (SDK) Questions
Topic: Accessing Post Process Depth Buffer
Replies: 4
Views: 1127

Re: Accessing Post Process Depth Buffer

I don't know if what you are trying to do is possible via the post process system. I can only access the depth buffer via the PDK Texture Plugin system in a C++ module.
by JB3DG
Tue Jul 16, 2019 4:23 pm
Forum: Software Development Kit (SDK) Questions
Topic: Accessing Post Process Depth Buffer
Replies: 4
Views: 1127

Re: Accessing Post Process Depth Buffer

That's essentially what a depth buffer is. Monotone. Is there something else you are expecting?

Go to advanced search