Jump to content

Comparison of vive focus and vive focus plus


h-shirakami

Recommended Posts

Hi @h-shirakami,

You can try to modify WaveVR_Render.cs for two parameters (recommendedWidth , recommendedHeight ) as below:

void Awake()

        {

                {

                        IsSinglePass = checkVRSinglePassSupport();

 

                        // This command can make sure native's render code are initialized in render thread.

                        // InitializeGraphic(synchronizer);

 

                        // Setup render values

                        uint w = 0, h = 0;

                        Interop.WVR_GetRenderTargetSize(ref w, ref h);

                        recommendedWidth = w;

                        recommendedHeight = h;

 

Link to comment
Share on other sites

  • 2 weeks later...

I am using waveSDK2.0.37.
WaveVR_Render.cs is the following source.

#if UNITY_EDITOR
        if (! Application.isEditor)
#endif
        {
            // This command can make sure native's render code are initialized in render thread.
            qSColorSpace = QualitySettings.activeColorSpace;
            // InitializeGraphic (synchronizer);

            // Setup render values
            uint w = 0, h = 0;
            Interop.WVR_GetRenderTargetSize (ref w, ref h);
            sceneWidth = (float) w;
            sceneHeight = (float) h;

            projRawL = new float [4] {0.0f, 0.0f, 0.0f, 0.0f};
            projRawR = new float [4] {0.0f, 0.0f, 0.0f, 0.0f};

            WVR_RenderProps_t props = new WVR_RenderProps_t ();
            Interop.WVR_GetRenderProps (ref props);
            targetFPS = (int) props.refreshRate;

            OnIpdChanged (null);
        }

I tried rewriting the values of sceneWidth and sceneHeight.

Is the place to correct it different?

@chengnay @Tony PH Lin

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...