Search found 132 matches

by JB3DG
Sat Oct 19, 2019 5:42 pm
Forum: Simulation Object Development Questions
Topic: HF Radio Fequencies
Replies: 10
Views: 1982

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: 992

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: 992

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: 1107

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: 1480

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: 2338

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: 1121

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: 1121

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: 1200

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: 1200

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: 837

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: 837

Re: Accessing Post Process Depth Buffer

That's essentially what a depth buffer is. Monotone. Is there something else you are expecting?
by JB3DG
Tue Jul 09, 2019 1:17 pm
Forum: Software Development Kit (SDK) Questions
Topic: RayCast ObjectID return
Replies: 14
Views: 4724

Re: RayCast ObjectID return

Out of curiosity, would this system accurately return the lat/lon/alt of say a point on the side of a building if I were to use it for simulating laser range finding?
by JB3DG
Tue Jun 18, 2019 7:12 pm
Forum: Software Development Kit (SDK) Questions
Topic: Changing of Default Axis Range in TargetingPod Camera View
Replies: 3
Views: 1311

Re: Changing of Default Axis Range in TargetingPod Camera View

Its up to you to work within those confines. If you desire to send an angle > 90 deg pitch, you need to stop it, set heading to -180, and then start decreasing pitch.

Go to advanced search