Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • V virtual_reality_viewport
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Dalai Felinto
  • virtual_reality_viewport
  • Issues
  • #4
Closed
Open
Created Sep 25, 2015 by Dalai Felinto@dfelintoOwner

Not fully using Oculus SDK

Created by: dfelinto

We are barely using the wrapper as we could. I'm not saying we should use FBO and the other remaining tricks, but we could at least use ovrMatrix4f_Projection instead of calculating it ourselves.

Sample code: fov = ovrFovPort(53.6, 58.9, 50.3, 58.7) matrix = ovrMatrix4f_Projection(fov, camera.near, camera.far, True).toList()

Reference:

  • https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-render-advanced/
  • https://codelab.wordpress.com/2014/09/07/oculusvr-sdk-and-simple-oculus-rift-dk2-opengl-test-program/
Assignee
Assign to
Time tracking