Skip to content

3D slant visual stereoscopic perception experiment, developed using Python, C, C++, OpenGL and GLSL

License

Notifications You must be signed in to change notification settings

suddi/3DSlantRelief

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Slant Relief

Codacy Badge license

A vision experiment engine in Python and OpenGL 3.3 to measure slant perception on surfaces with varying relief.

Participants would evaluate relief on slanted surfaces with relief rendered from texture and directional lighting, and relay their data using an inclinometer.

Installation

The experiment was created for Windows with Eclipse PyDev.

If not provided, please install the following dependencies not provided by pip:

Tkinter

All other dependencies can be installed with pip:

pip install -r requirements.txt

Usage

The experiment can operate in 2 modes:

  • STIMULI_ONLY = True
    • This will not collect any participant data, it will only render a randomized variation of the stimuli
  • STIMULI_ONLY = False
    • This will run the experiment collecting participant data.

Demo

When launching the experiment under the condition STIMULI_ONLY = False, it will open the Tkinter input window:

Tkinter Input Window

Once the engine has the participant data necessary, it will render the textured surfaces, see below for example of initial and rendered surfaces:

Colormap Rendered Image on Screen

About

3D slant visual stereoscopic perception experiment, developed using Python, C, C++, OpenGL and GLSL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published