[vtkusers] vtkGPUVolumeRayCastMapper (OpenGL2) - Mask Input update

Leonid Dulman leonid_dulman at yahoo.co.uk
Wed Nov 30 00:57:01 EST 2016


I have problems with vtkVolumeTextureMapper2D   (OpenGL2) and test  voltm2rotateclip.tcl no works

      From: Alvaro Sanchez <alvaro.sanchez at kitware.com>
 To: meow_fiz <meow at mat.uni.torun.pl> 
Cc: VTK Users <vtkusers at vtk.org>
 Sent: Tuesday, November 29, 2016 6:39 PM
 Subject: Re: [vtkusers] vtkGPUVolumeRayCastMapper (OpenGL2) - Mask Input update
   
Hi,
there is a related patch [1] about to be merged, not sure if this would address this issue though, could you try it?    I will try to reproduce the problem.
Thanks.
[1] https://gitlab.kitware.com/ vtk/vtk/merge_requests/2196# note_201434

On Mon, Nov 28, 2016 at 5:56 PM, meow_fiz <meow at mat.uni.torun.pl> wrote:

For a long time I've used vtkGPUVolumeRayCastMapper  in vtk 6.3 (OpenGL 1.x).
I could change interactively volume mask voxel values set by:

volMapper->SetMaskInput (myMask);


Now when i switched to VTK 7.1RC & OpenGL2 I can't make any modifications to
volume mask interactively. Calling Update(), Modified() on every element of
the pipeline (volume, input data, mask input, mapper) does not affect visual
result.

The only way I can get the updated mask volume is to call:

Renderer->RemoveVolume(Volume) ;
Renderer->AddVolume(Volume);

Is there any way that I could force volume mask update for
vtkGPUVolumeRayCastMapper  ?

Regards,
 Michal






--
View this message in context: http://vtk.1045678.n5.nabble. com/vtkGPUVolumeRayCastMapper- OpenGL2-Mask-Input-update- tp5741322.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




-- 
Alvaro SanchezKitware, Inc.Senior R&D Engineer21 Corporate DriveClifton Park, NY 12065-8662Phone: 518-881-4901
_______________________________________________
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


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161130/2473f26b/attachment.html>


More information about the vtkusers mailing list