[vtk-developers] Some vtkMultiVolume questions/issues

Elvis Stansvik elvis.stansvik at orexplore.com
Thu May 31 02:48:26 EDT 2018


Den tis 29 maj 2018 20:36Sankhesh Jhaveri <sankhesh.jhaveri at kitware.com>
skrev:

> Hi Andras,
>
> The clipping issue has been fixed in !4338
> <https://gitlab.kitware.com/vtk/vtk/merge_requests/4338>. A big thank you
> goes to Allie.
>
> @Elvis, I am going to look into some of the vtkMultiVolume issues next.
> I’ll update here if I see the same issue you saw.
>
Thanks Sankhesh, much appreciated.

On the vtkusers list there's a post "vtkMultiVolume and shading" by a Csaba
Pinter which I believe ran into the same issue as I. I think he filed an
issue.

We have both been struggling to reproduce it with a minimal test case
though, so the issue is a bit elusive. If I get some time this week I'll
give it another go. I've recently updated my VTK master build at least.

Elvis

Best,
> Sankhesh
>>
> On Wed, May 9, 2018 at 11:51 AM Andras Lasso <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
>>
>>
>>
>> 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> wrote:
>>
>> 2018-05-02 8:38 GMT+02:00 Elvis Stansvik <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
>>
>>>>
> --
> Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware
> <http://www.kitware.com/> | (518) 881-4417
>> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtk-developers/attachments/20180531/34b7582a/attachment-0001.html>


More information about the vtk-developers mailing list