-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendered Quilt looks broken on the Looking Glass Portrait #19
Comments
Yes, I believe the LG folks said that with the newly released device we have to make some changes to our code. I'm not sure where we are in making those changes but I suspect they will be simple once we dig into it. |
With more experimentation I found that the included example called In other words, instantiating the render window with
does not work. However, setting up the rendering pipeline with multiple passes as follows works correctly
I also verified that the multi-pass pipeline works correctly in Python. To dig a little deeper, I implemented the same simple scene twice, once with the single-pass rendering approach and once with the multi-pass rendering approach. What I found is that the internal instance of
The values (except for the addresses of course) are identical in both cases. I then rendered the quilt itself in both cases and as you can see in this GIF comparison, they are slightly off from each other So far the conclusion is that the problem is either is some slight differences in the rendering of the quilt, or the problem may be later in the pipeline where VTK actually draws the final light field that is displayed on the device. Video of the sample project
|
I use this example too, but it does not work too. The function "vtkRegressionTestImageThreshold(renderWindow, 15)" always return vtkRegressionTester::NOT_RUN. And the screen of LG always shows empty. |
@geforce25 I had the same issue, can you check that #23 fixes it please? |
I believe this should be fixed now in master via #33. |
I built this module successfully against VTK 9.0.1. I tried running the provided dragon example in C++ and the Python sample code presented here:
https://blog.kitware.com/create-holographic-scenes-using-vtk-python/
but in both cases the rendered output on the Looking Glass Portrait display is not correct. I noticed that all the VTK examples showcased on the web are being run on older Looking Glass devices, so I presume the issue is that the code in this repo is not accounting for the display size or the calibration parameters of the new form factor correctly when it generates the quilt.
Video of the main C++ example from the HoloPlay SDK being rendered correctly
https://www.dropbox.com/s/9gow13fs8xcwy5c/holoplay_studio_sdk_example_v00.mov?dl=0
Video of the example
TestDragon
project rendered incorrectly on the Looking Glass Portraithttps://www.dropbox.com/s/97jw971skxll2b6/vtk_looking_glass_dragon_example_v00.mov?dl=0
Video of the sample Python code rendered incorrectly on the Looking Glass Portrait
https://www.dropbox.com/s/fpuo5t36cpklf8p/looking_glass_vtk_python_example_v00.mov?dl=0
The text was updated successfully, but these errors were encountered: