[vtk-developers] Some vtkMultiVolume questions/issues

Andras Lasso lasso at queensu.ca
Wed May 9 11:51:32 EDT 2018


Hi Sankhesh,

In recent VTK versions (VTK9, OpenGL2 backend) there seems to quite distracting volume rendering artifact at the volume edge if there are opaque voxels at the volume edge and there are clipping planes outside the volume (which is unavoidable if you have oblique clipping planes).

The problem did not occur a few months ago, then cropping was broken for a while, and after it was fixed we started noticing this issue. See more information and sample data here: https://issues.slicer.org/view.php?id=4548

It would be great if you could look into this.
Thanks a lot,
Andras

From: vtk-developers <vtk-developers-bounces at vtk.org> On Behalf Of Sankhesh Jhaveri
Sent: Wednesday, May 9, 2018 8:29 AM
To: Elvis Stansvik <elvis.stansvik at orexplore.com>
Cc: vtkdev <vtk-developers at vtk.org>
Subject: Re: [vtk-developers] Some vtkMultiVolume questions/issues


Hi Elvis,

Haven’t had a chance to look at vtkMultiVolume in depth yet.
I’ll take a look at it in downtime to see if the issue is relatively simple.

Thanks,
Sankhesh
​

On Tue, May 8, 2018 at 8:50 AM Elvis Stansvik <elvis.stansvik at orexplore.com<mailto:elvis.stansvik at orexplore.com>> wrote:
2018-05-02 8:38 GMT+02:00 Elvis Stansvik <elvis.stansvik at orexplore.com<mailto:elvis.stansvik at orexplore.com>>:
> Hi all,
>
> I'm trying out the (very cool) vtkMultiVolume in VTK master.
>
> Performance is noticeably slower if I render two volumes added to a
> vtkMultiVolume, than if I render the same as separate volumes in the
> "traditional" way. Is this to be expected? (note that in this
> particular test, my two volumes were not intersecting, so the visual
> result in the two scenarios was exactly the same).
>
> I'll need to investigate more, but it seems that I can't set the
> position of the first volume (the one set to port 0) using
> SetPosition(..), it has no effect. Setting the position of subsequent
> volumes (at higher port numbers) seems to work. I believe this was
> possibly reported by another user on the users list.

Update: When trying with a minimal test case, it seems I'm not able to
reproduce this particular issue with SetPosition, so I'll have to go
back to my code to see what I possibly did wrong there.

Elvis

>
> Again I need to investigate more, but it seems
> vtkRenderer::ResetCamera() did not quite work correctly when I had a
> single vtkMultiVolume with a couple of volumes hooked up. It did not
> center correctly on the two volumes.
>
> Just wanted to ask if these were known issues, or if I should report
> them? If I should report them I'll try to make minimal test cases.
>
> Cheers,
> Elvis
_______________________________________________
Powered by www.kitware.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=02%7C01%7Classo%40queensu.ca%7Ca488edbd802745fee05608d5b5a8734b%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614657511351942&sdata=hDuZ4FqdiIojaFN%2FlEQt0TABQg4Ji1rZwRH%2BPGBlQ2Q%3D&reserved=0>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7Ca488edbd802745fee05608d5b5a8734b%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614657511351942&sdata=bTVO8rhGvjonn5tSLsZEQugIrlIIk%2FodPoQK%2F1sAZio%3D&reserved=0>

Search the list archives at: http://markmail.org/search/?q=vtk-developers<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtk-developers&data=02%7C01%7Classo%40queensu.ca%7Ca488edbd802745fee05608d5b5a8734b%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614657511351942&sdata=3zPLGXbHmYT8hk2wZdzhn6gPDE3VtduSvVKA4FErVck%3D&reserved=0>

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtk-developers<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvtk.org%2Fmailman%2Flistinfo%2Fvtk-developers&data=02%7C01%7Classo%40queensu.ca%7Ca488edbd802745fee05608d5b5a8734b%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614657511351942&sdata=fxF7izDNhAs7K%2FseWEbvA2o0hKHQl2ookpSCAzoEzT0%3D&reserved=0>
--
Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2F&data=02%7C01%7Classo%40queensu.ca%7Ca488edbd802745fee05608d5b5a8734b%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614657511351942&sdata=ucgxmWcWhGA%2BXLxyGZZaTW49W8IjL01WD7lKFqP8MjQ%3D&reserved=0> | (518) 881-4417
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180509/003cf7af/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VrClipArtifactAtEdge2.png
Type: image/png
Size: 360646 bytes
Desc: VrClipArtifactAtEdge2.png
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180509/003cf7af/attachment-0001.png>


More information about the vtk-developers mailing list