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

Add Capture Screenshot API #308

Open
gfrolov opened this issue Mar 21, 2017 · 0 comments
Open

Add Capture Screenshot API #308

gfrolov opened this issue Mar 21, 2017 · 0 comments

Comments

@gfrolov
Copy link
Member

gfrolov commented Mar 21, 2017

This is a feature request to add API to capture screenshot in DirectMode and/or ExtendedMode. This would work similar to OpenVR's IVRScreenshots::TakeStereoScreenshot by taking the submitted texture and write two images (mirror image (not split) and VR side by side image). There is also a wiki page for screenshot API overview.
Proposed API :
osvrRenderManagerTakeScreenshot(OSVR_RenderManager renderManager, const char *destinationPath, const char *previewFileName, const char *vrFileName)
destinationPath is an optional parameter where we can use a default path instead (current binary location for example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant