Some vtkMultiVolume questions/issues

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Some vtkMultiVolume questions/issues

Elvis Stansvik
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.

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

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://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Some vtkMultiVolume questions/issues

Elvis Stansvik
2018-05-02 8:38 GMT+02:00 Elvis Stansvik <[hidden email]>:

> 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.
>
> 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.

Noone knows? Alvaro, did you run into any issues like this while
developing the vtkMultiVolume support?

Elvis

>
> Cheers,
> Elvis
_______________________________________________
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://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Some vtkMultiVolume questions/issues

Elvis Stansvik
2018-05-08 6:54 GMT+02:00 Elvis Stansvik <[hidden email]>:

> 2018-05-02 8:38 GMT+02:00 Elvis Stansvik <[hidden email]>:
>> 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.
>>
>> 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.
>
> Noone knows? Alvaro, did you run into any issues like this while
> developing the vtkMultiVolume support?

I got a bounce when I Cc:ed Alvaro, and looking at his GitLab activity
I suspect he has left VTK?

Anyone picking up vtkMultiVolume? I think it's a great addition so
would be a pity if it's left to bitrot.

Elvis

>
> Elvis
>
>>
>> Cheers,
>> Elvis
_______________________________________________
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://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Some vtkMultiVolume questions/issues

Elvis Stansvik
In reply to this post by Elvis Stansvik
2018-05-02 8:38 GMT+02:00 Elvis Stansvik <[hidden email]>:

> 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

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://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Some vtkMultiVolume questions/issues

Sankhesh Jhaveri-2

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 <[hidden email]> wrote:
2018-05-02 8:38 GMT+02:00 Elvis Stansvik <[hidden email]>:
> 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

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://vtk.org/mailman/listinfo/vtk-developers

--
Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | (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://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Some vtkMultiVolume questions/issues

Andras Lasso

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 <[hidden email]> On Behalf Of Sankhesh Jhaveri
Sent: Wednesday, May 9, 2018 8:29 AM
To: Elvis Stansvik <[hidden email]>
Cc: vtkdev <[hidden email]>
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 <[hidden email]> wrote:

2018-05-02 8:38 GMT+02:00 Elvis Stansvik <[hidden email]>:
> 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

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://vtk.org/mailman/listinfo/vtk-developers

--

Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | (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://vtk.org/mailman/listinfo/vtk-developers


VrClipArtifactAtEdge2.png (481K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Some vtkMultiVolume questions/issues

Aashish Chaudhary-2
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 <[hidden email]> 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 <[hidden email]> On Behalf Of Sankhesh Jhaveri
Sent: Wednesday, May 9, 2018 8:29 AM
To: Elvis Stansvik <[hidden email]>
Cc: vtkdev <[hidden email]>
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 <[hidden email]> wrote:

2018-05-02 8:38 GMT+02:00 Elvis Stansvik <[hidden email]>:
> 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

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://vtk.org/mailman/listinfo/vtk-developers

--

Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | <a href="tel:(518)%20881-4417" value="+15188814417" target="_blank">(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://vtk.org/mailman/listinfo/vtk-developers


_______________________________________________
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://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Some vtkMultiVolume questions/issues

Andras Lasso

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

Andras

 

From: Aashish Chaudhary <[hidden email]>
Sent: Wednesday, May 9, 2018 12:17 PM
To: Andras Lasso <[hidden email]>
Cc: VTK Developers <[hidden email]>; Sankhesh Jhaveri <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> On Behalf Of Sankhesh Jhaveri
Sent: Wednesday, May 9, 2018 8:29 AM
To: Elvis Stansvik <[hidden email]>
Cc: vtkdev <[hidden email]>
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 <[hidden email]> wrote:

2018-05-02 8:38 GMT+02:00 Elvis Stansvik <[hidden email]>:
> 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

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://vtk.org/mailman/listinfo/vtk-developers

--

Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | <a href="tel:(518)%20881-4417" target="_blank">(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://vtk.org/mailman/listinfo/vtk-developers


_______________________________________________
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://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Some vtkMultiVolume questions/issues

Sankhesh Jhaveri-2
In reply to this post by Andras Lasso

Hi Andras,

The clipping issue has been fixed in !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.

Best,
Sankhesh


On Wed, May 9, 2018 at 11:51 AM Andras Lasso <[hidden email]> 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 <[hidden email]> On Behalf Of Sankhesh Jhaveri
Sent: Wednesday, May 9, 2018 8:29 AM
To: Elvis Stansvik <[hidden email]>
Cc: vtkdev <[hidden email]>
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 <[hidden email]> wrote:

2018-05-02 8:38 GMT+02:00 Elvis Stansvik <[hidden email]>:
> 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

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://vtk.org/mailman/listinfo/vtk-developers

--

Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | <a href="tel:(518)%20881-4417" value="+15188814417" target="_blank">(518) 881-4417

--
Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | (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

Reply | Threaded
Open this post in threaded view
|

Re: Some vtkMultiVolume questions/issues

Elvis Stansvik
Den tis 29 maj 2018 20:36Sankhesh Jhaveri <[hidden email]> skrev:

Hi Andras,

The clipping issue has been fixed in !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 <[hidden email]> 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 <[hidden email]> On Behalf Of Sankhesh Jhaveri
Sent: Wednesday, May 9, 2018 8:29 AM
To: Elvis Stansvik <[hidden email]>
Cc: vtkdev <[hidden email]>
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 <[hidden email]> wrote:

2018-05-02 8:38 GMT+02:00 Elvis Stansvik <[hidden email]>:
> 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

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://vtk.org/mailman/listinfo/vtk-developers

--

Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | <a href="tel:(518)%20881-4417" value="+15188814417" rel="noreferrer noreferrer" target="_blank">(518) 881-4417

--
Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | (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


_______________________________________________
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