Search found 121 matches

by JB3DG
Tue Jul 16, 2019 7:07 pm
Forum: Software Development Kit (SDK) Questions
Topic: Accessing Post Process Depth Buffer
Replies: 4
Views: 238

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

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

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

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.
by JB3DG
Sun Jun 16, 2019 8:37 pm
Forum: Software Development Kit (SDK) Questions
Topic: Changing of Default Axis Range in TargetingPod Camera View
Replies: 3
Views: 646

Re: Changing of Default Axis Range in TargetingPod Camera View

Pitch can only ever be +- 90. When you are at -120, you change the heading to + or -180, and the pitch to -60. So when pitch passes -90, it starts to increase again, with a heading of -180.
by JB3DG
Mon Jun 03, 2019 7:55 am
Forum: Software Development Kit (SDK) Questions
Topic: Whether aircraft information can be obtained and sent out in a 10ms cycle??
Replies: 2
Views: 805

Re: Whether aircraft information can be obtained and sent out in a 10ms cycle??

You can make a dummy data request on that object and set the request interval to sim frame. That's the closest you will get to being in sync with the sim. See this to get time delta between frames: https://www.fsdeveloper.com/wiki/index.php?title=C:_C%2B%2B_timers Also try turning your framerate sli...
by JB3DG
Mon May 13, 2019 12:47 pm
Forum: SimConnect Interface Questions
Topic: Unresolved external symbol when including SimConnect.h
Replies: 2
Views: 951

Re: Unresolved external symbol when including SimConnect.h

Most of the usual default windows libraries are needed.
by JB3DG
Tue May 07, 2019 8:49 am
Forum: SimConnect Interface Questions
Topic: Bug: Body acceleration not applied correctly
Replies: 5
Views: 1032

Re: Bug: Body acceleration not applied correctly

Unless you use the PDK as provided in the SimpleAirplane example
by JB3DG
Mon Apr 29, 2019 6:24 pm
Forum: SimConnect Interface Questions
Topic: Bug: Body acceleration not applied correctly
Replies: 5
Views: 1032

Re: Bug: Body acceleration not applied correctly

I found this issue while doing my INS with a RK4 integrator. I had to resort to deriving acceleration from aircraft velocity between frames.
by JB3DG
Tue Apr 16, 2019 2:57 pm
Forum: Software Development Kit (SDK) Questions
Topic: On screen text display in VR
Replies: 14
Views: 2980

Re: On screen text display in VR

The size will be the same of the total number of doubles in the struct. Eg a struct composed of only one double will have the same size as a straight double.

When using sizeof with a struct, I would use the struct's name definition, rather than your instance of the struct as the parameter for sizeof.
by JB3DG
Mon Mar 18, 2019 7:13 pm
Forum: Software Development Kit (SDK) Questions
Topic: can PdkServices be invoked from processes other than P3ds?
Replies: 4
Views: 3577

Re: can PdkServices be invoked from processes other than P3ds?

The dll with the PDK integrated would require a SimConnect instance which would request notifications if changes are made to the client data area.
by JB3DG
Sun Feb 10, 2019 5:14 pm
Forum: Simulation Object Development Questions
Topic: [RESOLVED] differential_braking_scale problem.
Replies: 6
Views: 2341

Re: differential_braking_scale problem.

0 means no differential braking is possible, and differential brake commands will result in symmetrical brakes. 1.0 means you have the full difference between no brake and full brake factor for any differential brake command.
by JB3DG
Sun Feb 10, 2019 11:15 am
Forum: Simulation Object Development Questions
Topic: [RESOLVED] differential_braking_scale problem.
Replies: 6
Views: 2341

Re: differential_braking_scale problem.

I think all that value does is affect how much power you have for differential braking vs symmetrical braking.
by JB3DG
Sat Jan 05, 2019 5:53 pm
Forum: SimConnect Interface Questions
Topic: Get Information about the aircraft's Gears
Replies: 11
Views: 3690

Re: Get Information about the aircraft's Gears

Nope. Always been one of those things that we have had to extrapolate.
by JB3DG
Tue Dec 04, 2018 8:02 am
Forum: Software Development Kit (SDK) Questions
Topic: Mixing SDK code and PDK code in a single solution
Replies: 4
Views: 1351

Re: Mixing SDK code and PDK code in a single solution

I use the PDK in gauges all the time.

Go to advanced search