{"id":16489423,"url":"https://github.com/suddi/3dslantrelief","last_synced_at":"2026-05-04T22:43:24.507Z","repository":{"id":27019123,"uuid":"30483536","full_name":"suddi/3DSlantRelief","owner":"suddi","description":"3D slant visual stereoscopic perception experiment, developed using Python, C, C++, OpenGL and GLSL","archived":false,"fork":false,"pushed_at":"2017-03-18T15:17:41.000Z","size":5062,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-24T04:06:04.440Z","etag":null,"topics":["c-plus-plus","cpp","glsl","inclinometer","opengl","perception","psychophysics","python","relief","texture"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suddi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-08T06:51:27.000Z","updated_at":"2018-06-10T05:17:17.000Z","dependencies_parsed_at":"2022-09-01T17:03:21.480Z","dependency_job_id":null,"html_url":"https://github.com/suddi/3DSlantRelief","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suddi/3DSlantRelief","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suddi%2F3DSlantRelief","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suddi%2F3DSlantRelief/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suddi%2F3DSlantRelief/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suddi%2F3DSlantRelief/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suddi","download_url":"https://codeload.github.com/suddi/3DSlantRelief/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suddi%2F3DSlantRelief/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32628211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","cpp","glsl","inclinometer","opengl","perception","psychophysics","python","relief","texture"],"created_at":"2024-10-11T13:44:09.819Z","updated_at":"2026-05-04T22:43:24.493Z","avatar_url":"https://github.com/suddi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 3D Slant Relief\r\n\r\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/503fb689d2b5435ab5a40388d6577557)](https://www.codacy.com/app/Suddi/3DSlantRelief?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=suddi/3DSlantRelief\u0026utm_campaign=badger)\r\n[![license](https://img.shields.io/github/license/suddi/3DSlantRelief.svg?maxAge=2592000)](https://github.com/suddi/3DSlantRelief/blob/master/LICENSE)\r\n\r\nA vision experiment engine in Python and OpenGL 3.3 to measure slant perception on surfaces with varying relief. \r\n\r\nParticipants would evaluate relief on slanted surfaces with relief rendered from texture and directional lighting, and relay their data using an inclinometer.\r\n\r\n## Installation\r\n\r\nThe experiment was created for Windows with Eclipse PyDev.\r\n\r\nIf not provided, please install the following dependencies not provided by `pip`:\r\n\r\n````\r\nTkinter\r\n````\r\n\r\nAll other dependencies can be installed with `pip`:\r\n\r\n````sh\r\npip install -r requirements.txt\r\n````\r\n\r\n## Usage\r\n\r\nThe experiment can operate in 2 modes:\r\n\r\n- `STIMULI_ONLY = True`\r\n    - This will not collect any participant data, it will only render a randomized variation of the stimuli\r\n- `STIMULI_ONLY = False`\r\n    - This will run the experiment collecting participant data.\r\n\r\n## Demo\r\n\r\nWhen launching the experiment under the condition `STIMULI_ONLY = False`, it will open the Tkinter input window:\r\n\r\n![Tkinter Input Window](img/demo/input.jpg)\r\n\r\nOnce the engine has the participant data necessary, it will render the textured surfaces, see below for example of initial and rendered surfaces:\r\n\r\n![Colormap](img/stimuli/colormaps/1.png)\r\n![Rendered Image on Screen](img/demo/sample.png) \r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuddi%2F3dslantrelief","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuddi%2F3dslantrelief","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuddi%2F3dslantrelief/lists"}