This page provides technical details and additional resources for the 2D virtual reality for head-fixed walking flies described in Haberkern et al. (2018) [1].
Please note that this website is still under construction. We are working on adding more information shortly.
If you have comments or feedback, please contact haberkern[at]janelia.hhmi.org.
[1] https://www.biorxiv.org/content/10.1101/462028v1
In Haberkern et al. (2019) we compare fixation behavior of head-fixed walking flies in 1D and 2D virtual environments. Here we provide additional data on fixation behavior across different wild type genotypes. Further, we show how experimental conditions and preparation of flies before the experiment can influence the behavioral phenotype. We tested three wild type genotypes:
We chose the WTB and DL strains because they have been used in numerous previous publications on various navigational behaviors. WTB hybrid flies were chosen to approximate the genotypes used in optogenetic activation experiments, where an effector line with WTB background is crossed to GAL4 driver lines with variable genetic backgrounds.
Extended data on fixation behavior
Fixation behavior across sexes and genotypes (A-E) Comparison of fixation behavior in WTB, WTB hybrid and DL flies measured at high room temperature (30 ?C) and with wings cut. (A) Fixation plots of unimodal fixation for female flies. These "fixation plots” illustrate the angular location of the fixation peak and the fixation strength based on von Mises fits. The location parameter (µ) is plotted on the circumferential axis and the shape parameter (k) on the radial axis. Markers (empty or filled circle) indicate categorization of trial based on fit. The grey arrow points toward the frontal position in the fly’s field of view. Grey shading marks the part of the field of view that is not covered by the panoramic screen. Visualization as in Fig. 3 F of Haberkern et al (2019). (B) Fixation plots of bimodal for female flies. Note different axis scale in bright and dark scenes. Visualization as in Fig. 3 G of Haberkern et al (2019). (C) Fraction of male and female flies that walked for at least 20 % of the trial time across the four trials. (D, E) Fraction of flies showing unimodal (D) and bimodal (E) fixation. (F-H) Same as (C-E), but for different experimental protocols: Flies were either wing cut and measured at high (30 ?C) or low (25 ?C) room temperature or wing glued and measured at high (30 ?C) room temperature.
The FlyoVeR application is a modified version of the Jovian/MouseoVeR software [1], hence the name. Like MouseoVeR, FlyoVeR was built from several powerful third-party, free and open source software components. The 3D graphics, in-memory scene model, and callback-oriented rendering loop in FlyoVeR were implemented in the C++ programming language using the cross-platform open source OpenSceneGraph library (version 3.4). The graphical user interface was also implemented using C++ based on the cross-platform open source Qt toolkit (version 4.8). The cross-platform build and packaging system was implemented with CMake (version 3.4).
FlyoVeR differs from the parent Jovian/MouseoVeR software in the following respects:
References:
[1] Cohen, J.D., Bolstad, M., and Lee, A.K. (2017). Experience-dependent shaping of hippocampal CA1 intracellular activity in novel and familiar environments. eLife
Custom Collada (version 2.4) format scene files used in our experiments were created with the free 3D modeling program Blender (version 2.73). The Collada file format is a standardized XML format used to describe 3D graphics. Each object within the 3D scene had a unique name and a set of properties. Properties such as the color and texture were specified in Blender as “materials” that were then assigned to the respective object. Three other properties were communicated to FlyoVeR as part of the object’s name string:
The flags for visibility, penetrability and concavity could be combined in the name of a single object. By default, objects were “visible”, “penetrable” and “convex”. When loading a new scene file, FlyoVeR parsed the names of each object and assigned corresponding properties to the objects composing the virtual scene. Invisible objects could be used to mark special areas within the scene, such as the starting point of each trial, and control the delivery of other stimuli based on the fly’s position inside the VR. Two items, a small sphere and a plane above it, representing the virtual animal size and viewpoint and the initial animal location, are required in every scene and have to be names "_camera_block_pm_" and "_start_", respectively.
The finished scene can be exported in .dae format. In Blender (Version 2.73) chose File -> Export -> Collada (.dae). A new window opens, where the user can select a file name and directory for the to be exported collada file. If the scene contains materials with mapped image textures, make sure to select "Include UV Textures" and "Include Material Textures" in the "Texture Options" panels on the lower left.
Under construction
FlyoVeR can be quickly installed using an installer. [Link to github directory will be posted shortly.]
[Links to FlyoVeR userinterface elements currently not functional. Info on GUI will follow.]