Bebko Adam O, Troje Nikolaus F
Department of Biology and Centre for Vision Research, York University, Toronto, Ontario, Canada.
Iperception. 2020 Jul 17;11(4):2041669520938400. doi: 10.1177/2041669520938400. eCollection 2020 Jul-Aug.
Advances in virtual reality technology have made it a valuable new tool for vision and perception researchers. Coding virtual reality experiments from scratch can be difficult and time-consuming, so researchers rely on software such as Unity game engine to create and edit virtual scenes. However, Unity lacks built-in tools for controlling experiments. Existing third-party add-ins requires complicated scripts to define experiments. This can be difficult and requires advanced coding knowledge, especially for multifactorial experimental designs. In this article, we describe a new free and open-source tool called the BiomotionLab Toolkit for Unity Experiments (bmlTUX) that provides a simple interface for controlling experiments in Unity. In contrast to existing tools, bmlTUX provides a graphical interface to automatically handle combinatorics, counterbalancing, randomization, mixed designs, and blocking of trial order. The toolbox works since simple experiments can be created with almost no coding. Furthermore, multiple design configurations can be swapped with a drag-and-drop interface allowing researchers to test new configurations iteratively while maintaining the ability to easily revert to previous configurations. Despite its simplicity, bmlTUX remains highly flexible and customizable, catering to coding novices and experts alike.
虚拟现实技术的进步使其成为视觉与感知研究人员的一项宝贵新工具。从零开始编写虚拟现实实验代码既困难又耗时,因此研究人员依赖诸如Unity游戏引擎之类的软件来创建和编辑虚拟场景。然而,Unity缺乏用于控制实验的内置工具。现有的第三方插件需要复杂的脚本来定义实验。这可能很困难,并且需要高级编码知识,尤其是对于多因素实验设计而言。在本文中,我们描述了一种名为用于Unity实验的生物运动实验室工具包(bmlTUX)的新的免费开源工具,该工具为在Unity中控制实验提供了一个简单的界面。与现有工具不同,bmlTUX提供了一个图形界面来自动处理组合、平衡、随机化、混合设计以及试验顺序的分组。该工具箱之所以有效,是因为几乎无需编码就能创建简单的实验。此外,可以通过拖放界面交换多种设计配置,使研究人员能够迭代测试新配置,同时保持轻松恢复到先前配置的能力。尽管bmlTUX很简单,但它仍然高度灵活且可定制,适合编码新手和专家。