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

Render to texture from viewpoint #137

Closed
maluoi opened this issue Apr 5, 2021 · 2 comments
Closed

Render to texture from viewpoint #137

maluoi opened this issue Apr 5, 2021 · 2 comments

Comments

@maluoi
Copy link
Collaborator

maluoi commented Apr 5, 2021

Render StereoKit's active scene to a render texture, given a matrix for camera view, and perspective! Think a DSLR viewfinder in VR.

Later on, will also want this for separate scenes, for doing things like rendering thumbnails.

@maluoi
Copy link
Collaborator Author

maluoi commented Apr 12, 2021

This is mostly working in 1b251ac. It's still upside-down on OpenGL systems though.

Also would be great to be able to render to a specific viewport on the texture, or to texture array layers! See LookingGlass's quilt concept:
https://docs.lookingglassfactory.com/KeyConcepts/quilts/

maluoi added a commit that referenced this issue Apr 18, 2021
…r out objects per-render.

-Also expanded render_to to include clear controls, and viewport options. #137
@maluoi maluoi added this to Todo in StereoKit v0.3.1 via automation Apr 18, 2021
@maluoi maluoi moved this from Todo to In Progress in StereoKit v0.3.1 Apr 18, 2021
@maluoi
Copy link
Collaborator Author

maluoi commented Apr 18, 2021

One more feature left, which is partially implemented: rendering the scene with a material override

@maluoi maluoi closed this as completed May 8, 2021
StereoKit v0.3.1 automation moved this from In Progress to Done May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

1 participant