?

________________________________
Von: Levi Max <mlw...@gmail.com>
Gesendet: Donnerstag, 30. März 2023 08:18
An: Dinkelacker, Stefan
Betreff: Re: [mitk-users] how to add user defined vtk render pass

HI Din,
thanks for your reply!

i have reader the pipeline source and figure out the following.

the vtkMitkRenderProp will forward the RenderXXXGeometry() to VtkPropRenderer's 
Render() method, where there is a map of Mappers.

these mappers will in turn call MitkRender() method, where the local storage 
vtkActors will be rendered by calling vtkProp's RenderXXXGeometry() method
in the no render pass pattern.

i think i should rewrite the Mapper class to forward the render process to the 
specific SomeFunctionRenderPass, but i am not sure about this!

Have any suggestion?


my demand is described as following, wishing someone can give some tips(on 
mitk\vtk\opengl both ok)
i have two opaque mesh, one(call it A) occlude the other(call it B).
when A shadows B, the overlapping region on A should be transparent, so that we 
can see the overlapping part of B,where those no overlapping region on A
and B still OPAQUE




Dinkelacker, Stefan 
<s.dinkelac...@dkfz-heidelberg.de<mailto:s.dinkelac...@dkfz-heidelberg.de>> 
?2023?3?28??? 19:54??:

Hi,


MITK uses VTK for rendering so one approach could be to facilitate VTK itself 
for custom render passes. I guess it makes also sense to have a look into 
mitk::VtkMapper::MitkRender() and mitk::VtkPropRenderer.


Best,


Stefan?


________________________________
Von: Levi Max <mlw...@gmail.com<mailto:mlw...@gmail.com>>
Gesendet: Dienstag, 28. März 2023 09:39
An: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Betreff: [mitk-users] how to add user defined vtk render pass

anyone knows how to add and use user-defined render pass in mitk?

thanks in ad
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to