Cargando…

Ratcave: A 3D graphics python package for cognitive psychology experiments

We present here a free, open source Python 3D graphics library called Ratcave that extends existing Python psychology stimulus software by allowing scientists to load, display, and transform 3D stimuli created in 3D modeling software. This library makes 3D programming intuitive to new users by provi...

Descripción completa

Detalles Bibliográficos
Autores principales: Del Grosso, Nicholas A., Sirota, Anton
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Springer US 2019
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6797704/
https://www.ncbi.nlm.nih.gov/pubmed/31062192
http://dx.doi.org/10.3758/s13428-019-01245-x
Descripción
Sumario:We present here a free, open source Python 3D graphics library called Ratcave that extends existing Python psychology stimulus software by allowing scientists to load, display, and transform 3D stimuli created in 3D modeling software. This library makes 3D programming intuitive to new users by providing 3D graphics engine concepts (Mesh, Scene, Light, and Camera classes) that can be manipulated using an interface similar to existing 2D stimulus libraries. In addition, the use of modern OpenGL constructs by Ratcave helps scientists create fast, hardware-accelerated dynamic stimuli using the same intuitive high-level, lightweight interface. Because Ratcave supplements, rather than replaces, existing Python stimulus libraries, scientists can continue to use their preferred libraries by simply adding Ratcave graphics to their existing experiments. We hope this tool will be useful both as a stimulus library and as an example of how tightly-focused libraries can add quality to the existing scientific open-source software ecosystem. ELECTRONIC SUPPLEMENTARY MATERIAL: The online version of this article (10.3758/s13428-019-01245-x) contains supplementary material, which is available to authorized users.