Search found 142 matches

by JB3DG
Mon Apr 26, 2021 2:11 pm
Forum: Prepar3D Client Application Questions
Topic: Unable to use HP Reverb G2 with 2080 Ti
Replies: 4
Views: 6069

Re: Unable to use HP Reverb G2 with 2080 Ti

Can someone share their settings?
by JB3DG
Mon Apr 26, 2021 3:10 am
Forum: Prepar3D Client Application Questions
Topic: Unable to use HP Reverb G2 with 2080 Ti
Replies: 4
Views: 6069

Unable to use HP Reverb G2 with 2080 Ti

No matter what I do, simply opening WMR portal/Steam VR causes the GPU to run out of memory. My settings aren't that high (using only 5GB out of 11 when not in VR). Any suggestions?
by JB3DG
Tue Dec 24, 2019 2:18 pm
Forum: Software Development Kit (SDK) Questions
Topic: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)
Replies: 12
Views: 41203

Re: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)

You should have a DllStart or module_init function in your dll that the simulator calls on load. That's where you should do the panel pointer assignment.
by JB3DG
Wed Dec 18, 2019 8:12 am
Forum: Software Development Kit (SDK) Questions
Topic: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)
Replies: 12
Views: 41203

Re: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)

Look up the C: var module example in the SDK for how to set up the import table.
by JB3DG
Tue Dec 17, 2019 4:32 pm
Forum: Software Development Kit (SDK) Questions
Topic: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)
Replies: 12
Views: 41203

Re: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)

Are you running a C++ gauge or a C++ module loaded via the dll.xml?
by JB3DG
Tue Dec 17, 2019 8:55 am
Forum: Software Development Kit (SDK) Questions
Topic: Changing of Default Axis Range in TargetingPod Camera View
Replies: 5
Views: 24411

Re: Changing of Default Axis Range in TargetingPod Camera View

I don't use swf files. All my camera work has been in C++ PDK texture rendering displays.
by JB3DG
Tue Dec 17, 2019 8:51 am
Forum: Software Development Kit (SDK) Questions
Topic: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)
Replies: 12
Views: 41203

Re: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)

There isn't a gauges.lib. You got something like this in your code somewhere? GAUGESIMPORT ImportTable = { { 0x0000000F, (PPANELS)NULL }, { 0x00000000, NULL } }; GAUGESLINKAGE Linkage = { 0x00000013, module_init, module_deinit, 0, 0, FS9LINK_VERSION, { &gaugehdr_ACM, &gaugehdr_Sys, 0 } };
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: 23872

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

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

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

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

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

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.