[vtk-developers] Some vtkMultiVolume questions/issues

Elvis Stansvik elvis.stansvik at orexplore.com
Tue May 8 08:50:13 EDT 2018


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


More information about the vtk-developers mailing list