NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Creating Camera Controls for First-Person Camera in VulkanSceneGraphThe way users interact with a virtual, three-dimensional (3D) scene is heavily influenced by the way the camera used to view the scene is controlled. A first-person camera is a common form of camera control for computer programs. Its role is to create an immersive viewer experience, which allows users to traverse a scene as they might in the real world. Allowing for the implementation of the first-person camera makes for a more holistic, well-rounded way to interact with the visualization program. Accomplishing this involves mathematical calculations that define how the camera should be moved for the computer system. These movements equate to the rotation, translation, and scale of the changes. It should be noted that a computer does not inherently process what movement directions (left, right, up, or down) mean. The mathematical equations used define these principles in a way the computer can process. Further aspects to consider are detecting when the camera has moved and how far. This is most frequently accomplished through user |input through external devices. These devices, for the purpose of this report, include mouse input and keyboard input. Additionally, the in-development program this report is referencing works with the VulkanSceneGraph (VSG) library to create the scene and build the base of the camera controls. Although VSG is a powerful library with many capabilities, additional Application Programming Interfaces (APIs) might be needed during development to produce the desired results, as is the case in this program. Through combining proper mathematical calculations, utilizing additional APIs, and implementing the existing VSG library capabilities, implementing first-person camera controls is possible in a 3D scene.
Document ID
20240011691
Acquisition Source
Glenn Research Center
Document Type
Technical Memorandum (TM)
Authors
Kristie O'Brien
(Southern New Hampshire University Manchester, New Hampshire, United States)
Bryan W Welch
(Glenn Research Center Cleveland, United States)
Date Acquired
September 12, 2024
Publication Date
December 1, 2024
Publication Information
Publisher: National Aeronautics and Space Administration
Subject Category
Instrumentation and Photography
Report/Patent Number
NASA/TM-20240011691
E-20263
Funding Number(s)
WBS: 954879.02.01.22.01
Distribution Limits
Public
Copyright
Portions of document may include copyright protected material.
Technical Review
Single Expert
No Preview Available