Hello everyone,
Can anyone please shed some light on this annoying issue? The surface mesh
I'm trying to visualise is "not even supposed" to be transparent. It's a
solid simple VTK mesh which has no problem rendering on a standalone VTK
application. The rendering issue only happens within the MITK platform. As
parts of visualisation disappears when I rotate the mesh, I can't reliably
pick cells/points on the surface of this mesh within MITK. I notices some
other user has reported a similar bug: https://phabricator.mitk.org/T23485
too.
Any help or hints would go a long way as I've been stuck on this for a
while now.
Many thanks
Dora
On Fri, Oct 20, 2017 at 1:41 PM, Admin Uniapp <[email protected]>
wrote:
> Hi again,
>
> I tried to code vtkDepthSortPolyData in my application to fix the
> rendering issue (discussed before) in a custom VTK renderer I have built on
> top of MITK. The issue now I'm facing is the location of geteventposition
> (mouse locations) from the VTK interactor seems to be all over the place.
> Is there anyway to fix this rendering problem in MITK? I don't think
> enabling Depth Sorting would be a good/long term solution. Any ideas as
> always would be highly appreciated.
>
> Best wishes
>
> On Tue, Oct 17, 2017 at 11:52 AM, Admin Uniapp <[email protected]>
> wrote:
>
>> Hi Caspar,
>>
>> Switching the opacity makes the whole mesh more opaque or transparent but
>> doesn't change the strange visualisation problem. The meshes I'm testing
>> are not supposed to be transparent at all.
>>
>> Thanks for all your help.
>> Best wishes
>>
>> On Mon, Oct 16, 2017 at 12:52 PM, Goch, Caspar Jonas <
>> [email protected]> wrote:
>>
>>> Hi Dora,
>>>
>>>
>>>
>>> I know we had some issues with depth sorting for transparent surfaces
>>> over the years. Does your visualization change when you right click the
>>> surface in the data manager and switch the opacity between 1.0 and 0.99?
>>>
>>>
>>>
>>> Best,
>>>
>>> Caspar
>>>
>>>
>>>
>>> *Von:* Admin Uniapp [mailto:[email protected]]
>>> *Gesendet:* Montag, 16. Oktober 2017 12:44
>>>
>>> *An:* Goch, Caspar Jonas
>>> *Cc:* MITK
>>> *Betreff:* Re: [mitk-users] VTK mesh rendering issue
>>>
>>>
>>>
>>> Hi Caspar,
>>>
>>>
>>>
>>> Thanks for your reply. I tried to change the rendering properties and it
>>> seems that enabling the "Depth Sorting" option fix the problem temporarily.
>>> Does this give a hint what might be the underlying problem?
>>>
>>>
>>>
>>> The specs are:
>>>
>>>
>>>
>>> Ubuntu 16.04 LTS
>>>
>>> OpenGL version string: 3.0 Mesa 17.0.7
>>>
>>> Graphics: Intel HD Graphics 620 (Kabylake GT2)
>>>
>>> Processor: Intel Core i7-7600U CPU @ 2.80 GHz x 4
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Oct 16, 2017 at 10:04 AM, Goch, Caspar Jonas <
>>> [email protected]> wrote:
>>>
>>> Hi Dora,
>>>
>>>
>>>
>>> sorry for the late reply. I am not sure what the cause might be. It
>>> seems to be on our side, so it might be due to specific options we set on
>>> the rendering context that differ from the default vtk options. It could be
>>> helpful to know the hardware and openGL specs for your systems.
>>>
>>> You could try changing some of the surface rendering properties to
>>> narrow down the culprit. (Just open the properties view and change e.g. the
>>> materal.Interpolation method)
>>>
>>>
>>>
>>> Best,
>>>
>>> Caspar
>>>
>>>
>>>
>>> *Von:* Admin Uniapp [mailto:[email protected]]
>>> *Gesendet:* Donnerstag, 5. Oktober 2017 16:47
>>> *An:* Goch, Caspar Jonas
>>> *Cc:* MITK
>>> *Betreff:* Re: [mitk-users] VTK mesh rendering issue
>>>
>>>
>>>
>>> Dear Casper,
>>>
>>> I just created a standalone app to visualise the same mesh with VTK
>>> alone and it seems fine (attached screenshot). The VTK version I used was
>>> the exact same as what comes with MITK 2016.3.0 super build.
>>>
>>> It appears that something in the MITK 2016.3.0 renderer window is not
>>> happy with my version of Ubuntu 16.04. I tested the same mesh both on a
>>> laptop and a desktop with Ubuntu 16.04 and they both had the same issue.
>>> They both have a clean newly installed version of Ubuntu. The exact same
>>> setup on older Ubuntu 14.04 doesn't suffer from the issue.
>>>
>>> Any ideas what I should be looking at?
>>>
>>> Many thanks as always.
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Oct 5, 2017 at 10:29 AM, Goch, Caspar Jonas <
>>> [email protected]> wrote:
>>>
>>> Hi Dora,
>>>
>>>
>>>
>>> it might be something with the way we render surfaces. It might also be
>>> something with VTK itself. Could you render the surface in VTK directly and
>>> report whether the same thing happens there?
>>>
>>> I have opened a task for it [1]. Even if it is a VTK issue it would be
>>> interesting to know your laptops graphics chip.
>>>
>>>
>>>
>>> Best,
>>>
>>> Caspar
>>>
>>>
>>>
>>> [1] https://phabricator.mitk.org/T23485
>>>
>>>
>>>
>>>
>>>
>>> *Von:* Admin Uniapp [mailto:[email protected]]
>>> *Gesendet:* Freitag, 29. September 2017 16:25
>>> *An:* MITK
>>> *Betreff:* [mitk-users] VTK mesh rendering issue
>>>
>>>
>>>
>>> Hi everyone,
>>>
>>> I load a simple VTK mesh in MITK 2016.03 and the 3D view has issues
>>> rendering it properly. By rotating the mesh around half of its surface
>>> become transparent for no reason and you can see the other side of the
>>> mesh. I attached a screenshot too.
>>>
>>> This doesn't happen to me on my Linux desktop but only on the Linux
>>> Ubuntu laptop, so I guessed maybe there is something wrong with my graphics
>>> card driver but the same mesh on the same laptop renders normally on
>>> Paraview for instance.
>>>
>>> Any ideas?
>>>
>>> Many thanks
>>>
>>> Dora
>>>
>>>
>>>
>>>
>>>
>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users