Not compatible with new 16 inch displays
Hi there - I've only recently tried out the looking glass products and I had success using this with a portrait device but now with the newer 16 inch landscape displays there seems to be a new pixel mapping or format that causes the display to no longer work well (fuzzy out of focus with colours spreading out). Is there any interest or plan to include support for larger displays? Error message received is: vtkLookingGlassInterfac:407 WARN| vtkLookingGlassInterface (00000217D298A540): Unrecognized device type: '16_gen3_l', defaulting to setting for 'large' device.
Thanks!
@koholleran So, you can look at the various device types we have supported here.
If we need a new device type, I think we can just add one there. I'm not sure what the ideal quilt size, tiles, and aspect ratio are for new ones.
Note also that fuzzy out of focus can also be caused by the placement of the focal point, and you might need to adjust your camera. See this note, for example.
@psavery we've released a new Bridge SDK to allow better support for our newer displays, this allows use of texture sharing to let Bridge handle processing the quilt for the display itself, as well as the window (optional). This would allow users of the library to pull the required .dll/dylibs from Looking Glass Bridge itself, and would allow for the VTKLibrary to support any future display we release.
https://docs.lookingglassfactory.com/core/looking-glass-bridge-sdk
happy to discuss this further with you or your team if you're interested in this approach.
Using the new SDK would be required for properly supporting the latest 16" systems and the new vertical 32" system.
Hi, I have a problem when displaying:
- Display: Looking Glass 16'' Spatial Display
- Name: LKG-J00188
- Pos: 2560,0
- Dim: 3840,2160
Looking Glass Bridge 2.5.1 1b27c774
2025-05-19 12:39:10.767 ( 0.171s) [ B58BE740]vtkLookingGlassInterfac:406 WARN| vtkLookingGlassInterface (0x652e09ff7660): Unrecognized device type: '16_gen3_l', defaulting to setting for 'large' device
My code:
import vtk
from vtk import vtkRenderingLookingGlass
ren = vtk.vtkRenderer()
renWin = vtkRenderingLookingGlass.vtkLookingGlassInterface.CreateLookingGlassRenderWindow(1)
renWin.AddRenderer(ren)
iren = vtk.vtkRenderWindowInteractor()
iren.SetRenderWindow(renWin)
text = vtk.vtkVectorText()
text.SetText("Hello VTK!")
textMapper = vtk.vtkPolyDataMapper()
textMapper.SetInputConnection(text.GetOutputPort())
textActor = vtk.vtkActor()
textActor.SetMapper(textMapper)
ren.AddActor(textActor)
cone = vtk.vtkConeSource()
cone.SetRadius(2)
cone.SetHeight(4)
cone.SetCenter(4,4,2)
cone.SetDirection(0,0,1)
coneMapper = vtk.vtkPolyDataMapper()
coneMapper.SetInputConnection(cone.GetOutputPort())
coneActor = vtk.vtkActor()
coneActor.SetMapper(coneMapper)
ren.AddActor(coneActor)
renWin.Initialize()
ren.ResetCamera()
ren.GetActiveCamera().SetViewAngle(30)
iren.Start()
The display shows only a small black window. On the second display, Looking Glass GO, everything works.
Also tried latest C++/VTK
Yes, we need to update this library to work with the latest 16" displays, as the Looking Glass company updated their API. We are looking for funding to support the labor costs. Let us know if you'd like to help π.
Yes, we need to update this library to work with the latest 16" displays, as the Looking Glass company updated their API. We are looking for funding to support the labor costs. Let us know if you'd like to help π.
I have written to the official Kitware contact regarding funding.
As for help, I can contribute but I am not sure how much time I will be able to allocate for this.
Thanks for contacting us @OndrejSemmler. We'll get back with you soon π
Weβre also available for supporting this effort as well, happy to be involved.
On Wed, May 21, 2025 at 11:19β―AM Patrick Avery @.***> wrote:
psavery left a comment (Kitware/LookingGlassVTKModule#68) https://github.com/Kitware/LookingGlassVTKModule/issues/68#issuecomment-2898350428
Thanks for contacting us @OndrejSemmler https://github.com/OndrejSemmler. We'll get back with you soon π
β Reply to this email directly, view it on GitHub https://github.com/Kitware/LookingGlassVTKModule/issues/68#issuecomment-2898350428, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFOP27IUDI6NM4DALWE2GNT27SKRNAVCNFSM6AAAAABNKNGWVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQOJYGM2TANBSHA . You are receiving this because you commented.Message ID: @.***>
We just added metadata for three newer models (including the two 16" ones, although for the portrait we made assumptions), which fixes support for these specific devices with the old SDK. Since we don't have the resources right now to support the new SDK, we opted for this solution. We asked for the IDs of the new devices (@BryanChrisBrown) but we haven't received this information, so for now only these three devices are added, see https://github.com/cpinter/LookingGlassVTKModule/tree/new-devices-partial-support.
@cpinter That's great! I didn't know that we could still use the old SDK with the newer devices. Feel free to open up a pull request on this repo if you'd like us to integrate them here!
@psavery We'd be happy to do that, but I think it would be great if all the new devices were supported. We can find the quilt information online, however, the IDs of the devices cannot be found anywhere. We tried to ask for these many times, but we haven't received the information yet. If you look at this commit, you'll see the IDs (e.g. 16_gen3_p) that we have been able to get (from the exceptions, telling us what key is missing, but we could only do that for the devices we physically had access to). If you'd be so kind to provide the list of IDs for all the currently availalbe devices, we'd be happy to finish this work and issue a PR. Thanks a lot!
Update: we got the list of IDs, thank you very much! We'll issue a PR soon that includes all the devices.
Wonderful. Sounds great!
Can someone who monitor this ticket review these PRs please? The devices should now work via VTK and in Slicer as well. Thanks!
https://github.com/Kitware/LookingGlassVTKModule/pull/72 https://github.com/KitwareMedical/SlicerLookingGlass/pull/30
Apologies. I've been quite busy as of late. Looking over it now!