GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - flightlab/FreemooVR: core FreemooVR library

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

1,010 Commits
1,010 Commits

Folders and files

NameName
Last commit message
Last commit date
attic
attic
 
 
cmake/Modules
cmake/Modules
 
 
config
config
 
 
data
data
 
 
docs
docs
 
 
include/freemoovr
include/freemoovr
 
 
launch
launch
 
 
msg
msg
 
 
nodes
nodes
 
 
sample_code
sample_code
 
 
scripts
scripts
 
 
src
src
 
 
srv
srv
 
 
test
test
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE.txt
LICENSE.txt
 
 
README.rst
README.rst
 
 
Vagrantfile
Vagrantfile
 
 
package.xml
package.xml
 
 
setup.py
setup.py
 
 

Repository files navigation

FreemooVR

FreemooVR - virtual reality engine

FreemooVR is a virtual reality engine built on [ROS](http://ros.org) and [OpenSceneGraph](http://www.openscenegraph.org). It manages multi-computer realtime tracking and display with the goal of being useful for scientific studies of vision.

Contents

  • FreemooVR - virtual reality engine
    • FreemooVR architecture overview
      • Theory of operation
      • freemoovr nodes
        • display_server - the FreemooVR display server
        • viewport_definer.py - FreemooVR viewport definer
      • Glossary
      • Developing
  • installation and getting started
  • using the joystick for input

FreemooVR architecture overview

Theory of operation

A moving observer has a pose within a global coordinate frame. Objects within the global frame may also move or be updated (e.g. a moving grating). Six camera views with a fixed relationship to the observer are used to build a cube map, showing the scene surrounding the observer without regard to the projection surface.

This cube map is then projected onto a 3D shape model of the display surface. From there, this image is warped to the physical display output.

freemoovr nodes

display_server - the FreemooVR display server

The FreemooVR display server node runs locally on the computer(s) connected to the physical display. During a typical experiment, it will be running an experiment plugin. Each experiment plugin updates the graphics engine on the basis of the fly's current position. Given the scenegraph and the calibrated screen layout, the node will compute the images shown on the projectors.

viewport_definer.py - FreemooVR viewport definer

Runs a GUI program that allows the user to interactively define the viewports for all connected projectors.

Glossary

Display Coordinates - the native pixel indices on a physical display. These are 2D.

World Coordinates - the 3D coordinates in lab space of physical (or simulated) points. (May also be represented as a 4D homogeneous vector x,y,z,w with nonzero w.)

Physical Display - a physical device capable of emitting a large, rectangluar block of pixels. It has display coordinates - the 2D locations of each pixel. (A physical display does not have world coordinates used for the VR mathematics. On the other hand, A virtual display does have world coordinates.)

Virtual Display - a model of a physical display which relates world coordinates to display coordinates. The model consists of a linear pinhole projection model, a non-linear warping model for lens distortions, viewport used to clip valid display coordinates, 3D display surface shape in world coordinates, and luminance masking/blending. Note that a physical display can have multiple virtual displays, for example, if a projector shines onto mirrors that effectively create multiple projections.

Viewport - vertices of polygon defining projection region in display coordinates (x0,y0,x1,y1,...). It is used to limit the region of the physical display used to illuminate a surface. (The FreemooVR Viewport corresponds to a 2D polygon onto which the image of the projection screen is shown.)

Display Surface - a physical, 2D manifold in 3D space which is illuminated by a physical display (either by projection or direct illumination like an LCD screen).

Developing

When developing a stimulus, you can launch the display_server with that stimulus loaded like the following

./bin/display_server --stimulus lib/libStimulusLatencyTimestamp.so

About

core FreemooVR library

strawlab.org/freemoovr

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.