Jump to content

[SOLVED] 2.19: "invalid projection matrix" when SpiderVision file is created with IG+VR template


photo

Recommended Posts

Posted

Hello, this one took me a while to isolate...

  • Create a new 2.19 IG+VR cpp template (the VR part seems important...), with SpiderVision and Syncker
  • Add IG, SpiderVision, Syncker on the start up command line
  • Start the app, press F10 and create a default.sv file in /data
  • set console_onscreen 1
  • Restart the app
  • The console will dump a constant stream of 
    ERROR:    Camera::setProjection: invalid projection matrix.

Apparently, the default.sv <viewport> section contains this attribute
head_pos_offset="0 2.08999991 0" 
which create this stream of error. Removing it fix the problem, until a new sv needs to be created...

Sub-question: What is this for?

 

Posted

Hi Stephane,

Looks like a bug to me. We will try to fix it prior 2.19.1 update. Probably there is a bug in internal code that tries to set head position in VR to the specified in config, but for some reason fails to do that.

Thanks for pointing that out!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

The root cause of the issue is that the screen position and camera position share identical coordinates in the SV configuration. In this situation, accurately calculating the projection becomes impossible. We have adjusted the default positions in version 2.19.1, and there should be no errors in new projects.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

  • silent changed the title to [SOLVED] 2.19: "invalid projection matrix" when SpiderVision file is created with IG+VR template
×
×
  • Create New...