gazebosim / gazebosim/gz-rendering

Create ViewController using keyboard and mouse in first-person perspective

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
81
Forks
90
Avg merge
1d 13h
Merged PRs (30d)
10

Description

**Original report ([archived issue](https://osrf-migration.github.io/ignition-gh-pages/#!/ignitionrobotics/ign-rendering/issues/50)) by Steve Peters (Bitbucket: [Steven Peters](https://bitbucket.org/%7B2ccfed09-18b8-4921-8d58-15ef01092802%7D/), GitHub: [scpeters](https://github.com/scpeters)).**

----------------------------------------
# Summary

There are many games that use a first-person perspective with keyboard keys for moving forward, backward, left, and right (often WASD) and using the mouse to change the camera angle. This could be a nice alternative to the OrbitViewController in certain circumstances.

# Motivation

While visualizing tunnel envirnments for SubT, I have trouble using the OrbitViewController to inspect the inside of the tunnels. I think a first person view controller would be more natural for these types of worlds.

It would require responding to key events in addition to mouse events.

# Describe alternatives you've considered

We already have the Orbit View controller. Also some people like to use ESDF and other mappings instead of WASD, so perhaps the mapping could be configurable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.