KhronosGroup / KhronosGroup/glTF

Question: camera, arbitrary projection or non symmetric frustum

Open
#1,813 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
HTML
Stars
7.8k
Forks
1.2k
Avg merge
17h 26m
Merged PRs (30d)
5

Description

I was wondering if the spec (or some extension) allows for creating a camera with a non symmetric frustum. This is useful for VR for example.

It seems from the spec that it's only possible to define vfov and aspect ratio for a perspective camera. Could I somehow define the projection matrix directly? Would this be something that's worth adding to the spec?

Contributor guide

Open the contributing guide

Research direction

Start by reading the glTF camera and perspective-camera portions of the spec, focusing on the stated vfov and aspect-ratio limits. Compare those requirements with the proposed direct projection-matrix approach and determine what a spec change would need to define for non-symmetric frustums and VR use cases.

Written by the indexing model from the issue text.

Assessment

Domain
ar-vr-xr, computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.