None of the Scaleform objects show up in P3D native VR.
They do show up when I am using FlyInside but it would be nice not to have to go through a third party.
I am using Scaleform PanelWindows to display warnings and checklists and P3D PointOfInterest.
They are on the 2D window but not inside the Oculus headset.
Here is a screenshot of my desktop:
Ray
Scaleform Objects do not show up in VR
Scaleform Objects do not show up in VR
Ray Bedard
True Course Simulations
True Course Simulations
-
- Posts: 8
- Joined: Fri Apr 06, 2018 12:37 am
Re: Scaleform Objects do not show up in VR
Hi Ray,
How did you get the checklist items to appear within the sim and VR ?
I've been trying to work this out but having great difficulty.
Thanks,
Alex
How did you get the checklist items to appear within the sim and VR ?
I've been trying to work this out but having great difficulty.
Thanks,
Alex
SimJet Flight Training | Lead Training Systems Developer
Re: Scaleform Objects do not show up in VR
Alex
1. I make an image of the checklist and save it as a .jpg
2. I import it into Flash to save it as a .swf file.
3. I use OpenWindowAction and CloseWindowAction with a ScaleformPanelWindow to open and close the checklist.
You just have to be a bit careful to match the size of the .swf in the OpenWindowAction to make sure it shows up correctly.
Ray
1. I make an image of the checklist and save it as a .jpg
2. I import it into Flash to save it as a .swf file.
3. I use OpenWindowAction and CloseWindowAction with a ScaleformPanelWindow to open and close the checklist.
You just have to be a bit careful to match the size of the .swf in the OpenWindowAction to make sure it shows up correctly.
Ray
Ray Bedard
True Course Simulations
True Course Simulations
- Rob McCarthy
- Lockheed Martin
- Posts: 3703
- Joined: Wed Aug 24, 2011 1:37 pm
Re: Scaleform Objects do not show up in VR
Hi Ray,
Using a ScaleformObject instead of a ScaleformPanelWindow should give you the desired behavior in VR.
Regards,
Rob McCarthy
Using a ScaleformObject instead of a ScaleformPanelWindow should give you the desired behavior in VR.
Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
Prepar3D® Core Lead
Re: Scaleform Objects do not show up in VR
Rob
It worked. Thanks!!!
Any trick to make the PointOfInterest compass appear as well?
Ray
It worked. Thanks!!!
Any trick to make the PointOfInterest compass appear as well?
Ray
Ray Bedard
True Course Simulations
True Course Simulations
- Rob McCarthy
- Lockheed Martin
- Posts: 3703
- Joined: Wed Aug 24, 2011 1:37 pm
Re: Scaleform Objects do not show up in VR
Hi Ray,
ScaleformObjects are rendered in the world instead of using a 2D panel window which is why they work in VR. Currently UI and Panel windows will not display in VR by default. For windows to render in VR they require a 3D position which is settable using the PDK. The HmdSample in the SDK shows how to use this. Unfortunately this would require work outside of SimDirector.
Regards,
Rob McCarthy
ScaleformObjects are rendered in the world instead of using a 2D panel window which is why they work in VR. Currently UI and Panel windows will not display in VR by default. For windows to render in VR they require a 3D position which is settable using the PDK. The HmdSample in the SDK shows how to use this. Unfortunately this would require work outside of SimDirector.
Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
Prepar3D® Core Lead
Re: Scaleform Objects do not show up in VR
Rob
Thanks for the explanation. I will give it a try.
Ray
Thanks for the explanation. I will give it a try.
Ray
Ray Bedard
True Course Simulations
True Course Simulations
Re: Scaleform Objects do not show up in VR
I was able to put in the alerts and checklists in the VR game using Scaleform Objects.
However, I was not able to get the POI in the 3D space despite many hours of programming.
It would be a great addition to the VR space if you could incorporate in a future release.
Thanks for the help.
Ray
However, I was not able to get the POI in the 3D space despite many hours of programming.
It would be a great addition to the VR space if you could incorporate in a future release.
Thanks for the help.
Ray
Ray Bedard
True Course Simulations
True Course Simulations