{"id":17447267,"url":"https://github.com/eanders-ms/mre-slide-show","last_synced_at":"2025-06-27T08:36:07.619Z","repository":{"id":123946434,"uuid":"179212286","full_name":"eanders-ms/mre-slide-show","owner":"eanders-ms","description":"Displays a slideshow from slides.com on a plane primitive in AltspaceVR","archived":false,"fork":false,"pushed_at":"2019-04-03T15:43:18.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T04:45:03.773Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eanders-ms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-03T04:47:09.000Z","updated_at":"2020-12-14T15:29:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"8bb1881c-2a1a-4b04-b179-2745ff14c08f","html_url":"https://github.com/eanders-ms/mre-slide-show","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eanders-ms%2Fmre-slide-show","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eanders-ms%2Fmre-slide-show/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eanders-ms%2Fmre-slide-show/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eanders-ms%2Fmre-slide-show/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eanders-ms","download_url":"https://codeload.github.com/eanders-ms/mre-slide-show/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245966929,"owners_count":20701759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-17T19:24:56.992Z","updated_at":"2025-03-28T03:41:58.632Z","avatar_url":"https://github.com/eanders-ms.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mre-slide-show\r\n\r\nThis is a proof-of-concept to test the idea that we can render a prepared slideshow (published to slides.com) from an MRE app in AltspaceVR using server-side rendering.\r\n\r\n## How it works\r\n\r\n- When an app session starts up, a Chromium browser is spawned in headless mode and the slide deck page loaded.\r\n- An in-world plane primitive is created, and serves as the slide projection surface.\r\n- When the plane primitive is clicked by the user, the app advances to the next slide.\r\n- Advancing to the next slide is achieved by querying the dom for the \"next slide\" div element and calling\r\nits click() function.\r\n- Screenshots of the page are produced at 30 FPS and assigned to the plane primitive's texture material.\r\n\r\n## Areas for improvement\r\n\r\n- Click handling could be generalized if we could get the normalized click coordinates. This would allow us to synthesize a browser-native click event on the page at that coordinate. **This would allow generalized web browsing**. As opposed to being bound to a specific site (slides.com in this case).\r\n- Rather than a sucession of image textures, produce a video stream. Render as a streaming video texture on the client. This would allow for smooth animation and streaming video (remote YouTube player).\r\n\r\n## Things to note\r\n\r\nThis is a proof of concept. It currently hemorrhages resources both on the server and on the client:\r\n- Server side: Registers a new static buffer 30 times per second that is never freed. Can be remedied by more sophisticated buffer management.\r\n- Client side: Allocates new texture resources at about the same rate. At this time the MRE SDK doesn't support resource unloading, so these textures accumulate in Unity.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feanders-ms%2Fmre-slide-show","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feanders-ms%2Fmre-slide-show","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feanders-ms%2Fmre-slide-show/lists"}