{"id":20399919,"url":"https://github.com/kitware/lookingglassvtkmodule","last_synced_at":"2026-03-07T18:01:20.400Z","repository":{"id":37790921,"uuid":"296113169","full_name":"Kitware/LookingGlassVTKModule","owner":"Kitware","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-18T11:58:24.000Z","size":193,"stargazers_count":17,"open_issues_count":13,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-11-18T15:25:35.803Z","etag":null,"topics":["c-plus-plus","python","vtk","vtk-module"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kitware.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-16T18:18:30.000Z","updated_at":"2025-11-18T11:34:13.000Z","dependencies_parsed_at":"2022-06-23T20:40:16.991Z","dependency_job_id":"8d7b93fe-7ec2-413b-ba5c-39109fbe28b9","html_url":"https://github.com/Kitware/LookingGlassVTKModule","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Kitware/LookingGlassVTKModule","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2FLookingGlassVTKModule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2FLookingGlassVTKModule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2FLookingGlassVTKModule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2FLookingGlassVTKModule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kitware","download_url":"https://codeload.github.com/Kitware/LookingGlassVTKModule/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2FLookingGlassVTKModule/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30225406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","python","vtk","vtk-module"],"created_at":"2024-11-15T04:35:08.118Z","updated_at":"2026-03-07T18:01:20.384Z","avatar_url":"https://github.com/Kitware.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Looking Glass Device Support\n\n## Introduction\n\nThe LookingGlassVTKModule provides support for rendering VTK scenes into\nlooking glass devices. Both Python bindings (via the\n[`vtk-lookingglass` package on pip](https://pypi.org/project/vtk-lookingglass/))\nand C++ builds are supported.\n\n## Python Support\nThe simplest way to get started is by running `pip install vtk-lookingglass`\nand then trying out examples in the `Examples/Python` directory. This should\nwork on all major operating systems, and for most modern versions of Python.\n\nIn fact, many [VTK Python Examples](https://kitware.github.io/vtk-examples/site/Python/) can be easily adapted\nto render to the Looking Glass render window by simply swapping out the\nexample's render window with one created via\n`vtkLookingGlassInterface.CreateLookingGlassRenderWindow()`.\n\n## C++ Support\nFor C++ support, there are two main approaches.\nYou can create a OS specific Looking Glass render window and use it as you\nwould a regular vtkRenderWindow. For an example of this approach please see\nthe TestDragon test in `Testing/Cxx/TestDragon.cxx`. The other approach is to\nuse the vtkLookingGlassPass as you would normally use a render pass in a\nrenderer. For an example of that approach please see\n`Testing\\Cxx\\TestLookingGlassPass.cxx`.\n\n### Build Requirements\n\nBuilding this modules requires the Looking Glass Factory's\n`HoloPlayCoreSDK`. You must request a copy of the HoloPlayCoreSDK\ndirectly from Looking Glass Factory.\n\nThe SDK is described\n[here](https://docs.lookingglassfactory.com/holoplay-core/holoplay-core-sdk).\n\nYou can request access to their SDK\n[here](https://lookingglassfactory.com/software#holoplay-core).\n\nAccess is granted nearly instantaneously.  Their SDK includes dylibs\n(shared libraries) for MacOS, Linux, and Windows (32 and 64bit).\n\nWe recommend installing their SDK at the same level as the\nVTK source directory, so that it can be automatically found by VTK during\ncompilation.  For example, if VTK souce is in `/src/VTK` on your system,\nthen uncompress the HoloPlaceCoreSDK (which is currently at version 0.2.0) into\nthe `/src` directory.   The path to the HoloPlayCoreSDK include directory\nwould then be `/src/HoloPlayCore-0.2.0/HoloPlayCoreSDK-master/HoloPlayCore/include`.\nVTK can then automatically find the include and appropriate dylib files\nduring CMake configuration of VTK,  otherwise you will have to specify\nthe paths to those files manually during CMake configuration.\n\n### CMake Configuration of VTK\n\nWhen configuring VTK using CMake, enable this remote module and its dependencies by setting\n1. VTK_MODULE_ENABLE_VTK_RenderingLookingGlass to YES\n2. VTK_USE_VIDEO_FOR_WINDOWS to ON\n3. VTK_USE_MICROSOFT_MEDIA_FOUNDATION to ON\n\nYou must also specify\n1. HoloPlayCore_INCLUDE_DIR\n2. HoloPlayCore_LIBRARY\n\nbased on where you have installed the HoloPlayCore SDK, if they are not\nautomatically found.\n\n### Compilation\n\nWith this module enabled in CMake, build VTK as usual for your platform. We\ncurrently support Windows, OSX, and Linux platforms.\n\n### Running VTK applications\n\nSince the HoloPlayCoreSDK is distribued as shared libraries, their location\nmust be known when executing a VTK-based application if that version of\nVTK was compiled with this module enabled.\n\nWe recommend adding the path to the appropriate shared lib to your system's\nPATH/LD_LIBRARY_PATH variables.  They will then be automatically found\nwhen running VTK applications that were compiled with this module enabled.\n\nSystem-level access to the shared libs is also required when running the\nPython wrapped VTK if this module was enabled when it was compiled.\n\n### Rendering to a display and generating Quilts\n\nThe key functionality of this module is held in the `vtkLookingGlassInterface`\nclass.  It is used by the render window classes and by the render pass\nimplementations. This module is even capable of creating distributable quilt\nimages even if no Looking Glass hardware is present.\n\n### Building and running the C++ tests\n\nIn order to build and run the C++ tests, this module must be built from\nwithin VTK (see [the required CMake settings](#cmake-configuration-of-vtk))\nwith the additional CMake flag `-DVTK_BUILD_TESTING=ON`.\n\nAfter building, within the build directory, the tests should be located\nin `./bin/vtkLookingGlassCxxTests`, and the test data should be located in\n`./ExternalData/Testing/`. The tests may be executed like the following:\n\n```bash\n./bin/vtkLookingGlassCxxTests TestDragon -D ./ExternalData/Testing/ -I\n./bin/vtkLookingGlassCxxTests TestLookingGlassPass -D ./ExternalData/Testing/ -I\n```\n\nWhere the `-D` flag provides the location of the test data directory,\nand the `-I` indiciates that the test should run interactively (otherwise,\nthe application will render once and close immediately).\n\n## Developement/Bug Reports\n\nIf you run into issues with this module please submit a bug report at\nhttps://github.com/Kitware/LookingGlassVTKModule/issues\n\n## License\n\nSee LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitware%2Flookingglassvtkmodule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitware%2Flookingglassvtkmodule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitware%2Flookingglassvtkmodule/lists"}