Movement Cancellation for 6DOF Seat (P3D V3.4)

Talk about anything FlyInside related.

Moderators: Tony, Sharkku

Movement Cancellation for 6DOF Seat (P3D V3.4)

Postby timswitch » Fri Mar 10, 2017 9:21 am

Hi!

I'm currently working on a 6DOF Motion Seat for my university and since we are using a HTC Vive
i have to correct the camera position to account for the rotation and translation of the seat.

Previously i used the SimConnect function SimConnect_CameraSetRelative6DOF which does exactly that
and in vanilla P3D this works very well (well except in their VR Renderer where only the left eye is affected),
but when FlyInside is enabled, only the translation offset is applied to the camera.
I'm guessing this is because of some fancy camera hacks you are using to get your awesome VR stuff running.

Yesterday i tried using the Camera PDK and IWindowCallback::SetFrustumOffsetPBH which sort of works,
but then messes up the head tracking rotation axis.

Do you have any advice on where i should hook in to get the rotation offset working?
I believe i read on some forum that there is a parent object for every camera
which can be manipulated and applying my corrections on this object would probably be
the easiest solution but i found P3D to be not very well documented in this regard.

Thanks in advance,
Michael Kroll
timswitch
 
Posts: 1
Joined: Fri Mar 10, 2017 8:54 am

Return to FlyInside General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests