Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VR doesn't seem to work after v1.0.2 #70

Open
astrofra opened this issue May 30, 2023 · 0 comments
Open

VR doesn't seem to work after v1.0.2 #70

astrofra opened this issue May 30, 2023 · 0 comments
Assignees

Comments

@astrofra
Copy link
Collaborator

VR doesn't seem to work after v1.0.2 , issuing this error (in the latest build):

G:\works\harfang\hg2\dogfight-sandbox-hg2\source\MachineDevice.py:130: Warning: Invalid scene animation
  self.gear_anim_play = self.scene.PlayAnim(self.open_anim, hg.ALM_Once, hg.E_Linear, hg.time_from_sec_f(self.gear_moving_delay), hg.time_from_sec_f(self.gear_moving_delay), True, 1)
Traceback (most recent call last):
  File "G:\works\harfang\hg2\dogfight-sandbox-hg2\source\main.py", line 154, in <module>
    Main.update()
  File "G:\works\harfang\hg2\dogfight-sandbox-hg2\source\master.py", line 1557, in update
    cls.render_frame_vr()
  File "G:\works\harfang\hg2\dogfight-sandbox-hg2\source\master.py", line 1204, in render_frame_vr
    vid = cls.sea_render.render_vr(vid, cls.vr_state, vs_left, vs_right, output_fb_left, output_fb_right) #, tex_reflect_left_color, tex_reflect_left_depth, tex_reflect_right_color, tex_reflect_right_depth)
  File "G:\works\harfang\hg2\dogfight-sandbox-hg2\source\planet_render.py", line 374, in render_vr
    focal_distance_left = hg.ExtractZoomFactorFromProjectionMatrix(vs_left.proj)
RuntimeError: incorrect number of arguments to function ExtractZoomFactorFromProjectionMatrix
@astrofra astrofra self-assigned this May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant