[vtk-developers] Some vtkMultiVolume questions/issues

Andras Lasso lasso at queensu.ca
Wed May 9 14:33:05 EDT 2018


Thank you. I’m working on creating a minimal example that reproduces the issue.
Andras

From: Aashish Chaudhary <aashish.chaudhary at kitware.com>
Sent: Wednesday, May 9, 2018 12:17 PM
To: Andras Lasso <lasso at queensu.ca>
Cc: VTK Developers <vtk-developers at vtk.org>; Sankhesh Jhaveri <sankhesh.jhaveri at kitware.com>
Subject: Re: [vtk-developers] Some vtkMultiVolume questions/issues

Andras,

Do you have a sample VTK program that can re-create this? that would be very useful.

- aashish

On Wed, May 9, 2018 at 11:51 AM Andras Lasso <lasso at queensu.ca<mailto:lasso at queensu.ca>> wrote:
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<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.slicer.org%2Fview.php%3Fid%3D4548&data=02%7C01%7Classo%40queensu.ca%7Cd467aa38ce5245f08f1908d5b5c85ea2%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614794540003463&sdata=CYp4dDM3R5cFaiGUN5n6OyZNkT47QQ9EWzKUyHLLwD4%3D&reserved=0>

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

From: vtk-developers <vtk-developers-bounces at vtk.org<mailto: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<mailto:elvis.stansvik at orexplore.com>>
Cc: vtkdev <vtk-developers at vtk.org<mailto: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<tel:(518)%20881-4417>
​
_______________________________________________
Powered by www.kitware.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=02%7C01%7Classo%40queensu.ca%7Cd467aa38ce5245f08f1908d5b5c85ea2%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614794540003463&sdata=KPyu81t9k0qsuBnwmqCrhQGl61gu1278ataYJtvvQDo%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%7Cd467aa38ce5245f08f1908d5b5c85ea2%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614794540003463&sdata=fHEPEy6yZdnJKB1yrQzkMFh3keIIBDnMwtpZzeDjpew%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%7Cd467aa38ce5245f08f1908d5b5c85ea2%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614794540003463&sdata=oBV1r%2FB7CqiOsmSB4CyfQOl8%2BUk%2BED6Yj1oGGWgmc2I%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%7Cd467aa38ce5245f08f1908d5b5c85ea2%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614794540003463&sdata=9vV70t0ylG3Ezog2SysB231q8QRw0%2BWGT1DWdMciYkA%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180509/30b3d7ea/attachment-0001.html>


More information about the vtk-developers mailing list