Open guyuezuntinggithub opened 2 years ago
Thanks for reporting the issue :pray:
@LucasGandel Do you have insight to help @guyuezuntinggithub ?
@guyuezuntinggithub Could you also look into https://github.com/Kitware/LookingGlassVTKModule/pull/23 ?
@jcfr Thanks for your response very much,but sorry, I can't understand their content about the issue#23 . It seems like arbitrary quilting. I check my code result, It's 5 columns *9 rows. Is that mean the wrong arbitrary quilting cause the wrong return of function “vtkRegressionTestImage(renderWindow)”? How to set the arbitrary quilting. Is there any api that I can use? Thanks very much!
@guyuezuntinggithub Sorry for my late reply.
The return value vtkRegressionTester::NOT_RUN
is expected unless you run the test in interactive mode.
To do so, just append the -I
parameter to the command line.
Running the following from the my vtk build bin/Release directory works fine on my side:
./vtkLookingGlassCxxTests.exe "TestDragon" "-D" "path/to/vtk-build/ExternalData/Testing" "-T" "path/to/vtk-build/Testing/Temporary" -I
Don't hesitate if you still have issues running the example.
@guyuezuntinggithub Sorry for my late reply.
The return value
vtkRegressionTester::NOT_RUN
is expected unless you run the test in interactive mode. To do so, just append the-I
parameter to the command line.Running the following from the my vtk build bin/Release directory works fine on my side:
./vtkLookingGlassCxxTests.exe "TestDragon" "-D" "path/to/vtk-build/ExternalData/Testing" "-T" "path/to/vtk-build/Testing/Temporary" -I
Don't hesitate if you still have issues running the example.
Very appreciate for your reply. The return value turns to vtkRegressionTester::DO_INTERACTOR. This problem is solved. But the screen of LookingGlass is still nothing. It's like that the screen is not powering(actually the screen is normal when the vtkLookingGlassCxxTests.exe is not run).
bellow image is runing code
this is the running video https://user-images.githubusercontent.com/63081832/130716630-8a4dda91-6be5-4702-b8a6-1537a9853eb5.mp4
You should have adapted the command line I shared to replace path/to/vtk-build/ with the correct path to you VTK build tree!
Looking at your screenshot, I guess your VTK build tree is 'F:/work/VTK-9.0.3/build/' so the right command line is:
./vtkLookingGlassCxxTests.exe "TestDragon" "-D" "F:/work/VTK-9.0.3/build/ExternalData/Testing" "-T" "F:/work/VTK-9.0.3/build/Testing/Temporary" -I
If the above does not work, I remember it was working only when having extended display. Can you please follow the instructions from here and see if it works better.
You should have adapted the command line I shared to replace path/to/vtk-build/ with the correct path to you VTK build tree!
Looking at your screenshot, I guess your VTK build tree is 'F:/work/VTK-9.0.3/build/' so the right command line is:
./vtkLookingGlassCxxTests.exe "TestDragon" "-D" "F:/work/VTK-9.0.3/build/ExternalData/Testing" "-T" "F:/work/VTK-9.0.3/build/Testing/Temporary" -I
If the above does not work, I remember it was working only when having extended display. Can you please follow the instructions from here and see if it works better.
Thank you for your reply! I replace the path, and config the pc display to an extended display again. But It still does not work.
This is the command line:
This is the build tree for temporary
This is externalData
Not sure what is going wrong on your side. If you disconnect the device and run the test, you should see the quilt on your screen. Can you give it a try?
Below is an example I used to draw a simple sphere. It uses either the render window approach or the render pass approach depending on the commented blocks. You might want to give it a try to see if one approach works better. Example.zip
Not sure what is going wrong on your side. If you disconnect the device and run the test, you should see the quilt on your screen. Can you give it a try?
Below is an example I used to draw a simple sphere. It uses either the render window approach or the render pass approach depending on the commented blocks. You might want to give it a try to see if one approach works better. Example.zip
Thank you very much! I will try it
you should see the quilt on your screen
Below is what is showing on my screen when I disconnect the device
Below is what is showing on my screen when I disconnect the device
This looks good, you have the correct rendering. Are you using the LookingGlass portrait device?
Below is what is showing on my screen when I disconnect the device
This looks good, you have the correct rendering. Are you using the LookingGlass portrait device?
I am not sure. Below is the Instruction manual
Below is what is showing on my screen when I disconnect the device
This looks good, you have the correct rendering. Are you using the LookingGlass portrait device?
Is it possible that the lookingGlass device I use is not supported by this exsample?
Is it possible that the lookingGlass device I use is not supported by this exsample?
I'm not sure what could go wrong, using frame debuggers such as RenderDoc might help here. Maybe you experience the same arbitrary quilt size issue as I did with my portrait device. Can you give a try to my branch and see if it works better? https://github.com/LucasGandel/LookingGlassVTKModule/tree/support-looking-glass-portrait%C2%94
Is it possible that the lookingGlass device I use is not supported by this exsample?
I'm not sure what could go wrong, using frame debuggers such as RenderDoc might help here. Maybe you experience the same arbitrary quilt size issue as I did with my portrait device. Can you give a try to my branch and see if it works better? https://github.com/LucasGandel/LookingGlassVTKModule/tree/support-looking-glass-portrait%C2%94 very appreciate! I will try it!
Hi~ I am using LookingGlassVTKModule these days. I build vtk with LookingGlassVTKModule successfully. But, when I debug the test project, the function “vtkRegressionTestImage(renderWindow)” always return vtkRegressionTester::NOT_RUN.
And the lookingGlass shows empty always. Any suggestions will be appreciated! It’s very important for me!