[vtkusers] Add multiple vtkVolume in vtkAssembly

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed Nov 25 19:50:19 EST 2015


Hi Vincent,

I modified one of the test (attached) and tried vtkAssembly and it worked
for me on Ubuntu 14.* using OpenGL2 backend. Can you try this test and see
if it works for you as well? If you using OpenGL1 backend, I would hope it
should work as well since I believe vtkAssembly code has not changed as
much.

Thanks,


On Wed, Nov 25, 2015 at 6:50 PM, vincentTan <sin-chia.vincent-tan at vitrox.com
> wrote:

> Hi Aashish,
>
> Thanks a lot for your reply.
> Ya, i am trying to render multiple volumes in one go. In my case, i would
> like to have two or possibly more vtkVolume in a vtkAssembly so that a
> global transformation on them would be applied as to treat those volumes as
> one unit.
>
> Besides, I have one class designed to keep track of each individual volume
> with its vtkImageData, vtkVolumeMapper as well as vtkVolumeProperty. In
> addition, as for vtkAssembly, i just simply add the volumes using
> assembly->addPart(subvol.getVolume()) but nothing comes out.
>
> Thanks a lot.
> Vincent
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Add-multiple-vtkVolume-in-vtkAssembly-tp5735182p5735201.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 



*| Aashish Chaudhary | Technical Leader         | Kitware Inc.            *
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151125/57150fcf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestGPUVolumeRayCastMapper.cxx
Type: text/x-c++src
Size: 2931 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151125/57150fcf/attachment.cxx>


More information about the vtkusers mailing list