nightly build (8.1.0?) where did vtkVolumeTextureMapper3D go

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

nightly build (8.1.0?) where did vtkVolumeTextureMapper3D go

Brian Davis-2
using 8.1.0 build now get:

'vtkVolumeTextureMapper3D.h': No such file or directory

comparing
which appears to be 8.1.0 (not that this is clear) as

https://www.vtk.org/documentation/

has no listing for 8.1.0, not that I expect it to be documented anywhere, like possibly

https://www.vtk.org/doc/nightly/html/deprecated.html

where-ohhh-where did vtkVolumeTextureMapper3D go.... where-ohhh-where did it go?





_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: nightly build (8.1.0?) where did vtkVolumeTextureMapper3D go

Aashish Chaudhary-2
vtkVolumeTextureMapper3D has been removed as now we have two VTK mappers CPU and GPU one. vtkVolumeTextureMapper3D is based on a outdated technology. It was deprecated I believe and removed in later versions. 

Do you need it for any specific reasons? 

thanks,


On Wed, Apr 4, 2018 at 2:59 PM, Brian Davis <[hidden email]> wrote:
using 8.1.0 build now get:

'vtkVolumeTextureMapper3D.h': No such file or directory

comparing
which appears to be 8.1.0 (not that this is clear) as

https://www.vtk.org/documentation/

has no listing for 8.1.0, not that I expect it to be documented anywhere, like possibly

https://www.vtk.org/doc/nightly/html/deprecated.html

where-ohhh-where did vtkVolumeTextureMapper3D go.... where-ohhh-where did it go?





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




--
| Aashish Chaudhary
| Technical Leader         
| Kitware Inc.           

_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: nightly build (8.1.0?) where did vtkVolumeTextureMapper3D go

gohlinchia
Hi Aashish,

I'm not sure what specific reason(s) that Brian Davis would want the
vtkVolumeTextureMapper3D back; we want it back too.

For our case, it is because the new CPU/GPU ray cast volume mapper is not
working correctly when depth peeling is enabled (for multiple volumes) and
also when rendering the scene in stereo (left and right images are the
same). I think it is good to have a backup when the only volume mapper
doesn't work.

http://vtk.1045678.n5.nabble.com/Stereo-problem-for-ray-cast-volumes-td5746483.html

Thanks.



-----
Chris
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers
Chris
Reply | Threaded
Open this post in threaded view
|

Re: nightly build (8.1.0?) where did vtkVolumeTextureMapper3D go

Andras Lasso
If there are errors in the current GPU volume mapper then they certainly have to be fixed, but I would rather have only one GPU volume mapper in VTK, which works well. If there were different variants then developers attention might be divided between them and developers may be distracted by users asking help for unsupported classes.

Until error in the current GPU volume mapper is fixed, you can build the old mapper as part of your application or keep using an earlier VTK version.

Andras

-----Original Message-----
From: vtkusers <[hidden email]> On Behalf Of gohlinchia
Sent: Wednesday, April 18, 2018 2:01 AM
To: [hidden email]
Subject: Re: [vtkusers] nightly build (8.1.0?) where did vtkVolumeTextureMapper3D go

Hi Aashish,

I'm not sure what specific reason(s) that Brian Davis would want the vtkVolumeTextureMapper3D back; we want it back too.

For our case, it is because the new CPU/GPU ray cast volume mapper is not working correctly when depth peeling is enabled (for multiple volumes) and also when rendering the scene in stereo (left and right images are the same). I think it is good to have a backup when the only volume mapper doesn't work.

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FStereo-problem-for-ray-cast-volumes-td5746483.html&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=VL9VNwj%2F%2FkJf1QGh6N719ADFFce3vuT1oYfyicRUltU%3D&reserved=0

Thanks.



-----
Chris
--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=mT2Mda%2BJ81vR5tQVykWI94ZZVaTp9V5sMdVZur8bhX0%3D&reserved=0
_______________________________________________
Powered by https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=jc06Ns3NypmJNdAxx2cYlc7Su%2FwLjOBpDRim6o9pO%2B0%3D&reserved=0

Visit other Kitware open-source projects at https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=K6rCaXoPbeD1OsPAByfcOxY0Y42ZUdgHi32mEjfyh2Q%3D&reserved=0

Please keep messages on-topic and check the VTK FAQ at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=PWgbdBAAXwC%2BxXSEjX2a7KwuMfJUgCUmYI%2FRmC52g6U%3D&reserved=0

Search the list archives at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=ziLxJzClC8oszuwHNmdmXb4BPaRSYHyrKh65oEys6BY%3D&reserved=0

Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvtk.org%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=2VjsrQPJEPdb16otIs5Tih9rZw4NsHxSQUVHLZ1zpJg%3D&reserved=0
_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: nightly build (8.1.0?) where did vtkVolumeTextureMapper3D go

Aashish Chaudhary-2
In reply to this post by gohlinchia
Chris, 

The issue with depth peeling should have been fixed now (try the latest master). As far as the stereo is concerned. that is puzzling. Can you tell us more about the stereo problem (apologies if you have sent it already). In the past we used volume rendering in CAVE and in HMD using OpenVR and they both seems to be working fine. 

thanks,


On Wed, Apr 18, 2018 at 2:00 AM, gohlinchia <[hidden email]> wrote:
Hi Aashish,

I'm not sure what specific reason(s) that Brian Davis would want the
vtkVolumeTextureMapper3D back; we want it back too.

For our case, it is because the new CPU/GPU ray cast volume mapper is not
working correctly when depth peeling is enabled (for multiple volumes) and
also when rendering the scene in stereo (left and right images are the
same). I think it is good to have a backup when the only volume mapper
doesn't work.

http://vtk.1045678.n5.nabble.com/Stereo-problem-for-ray-cast-volumes-td5746483.html

Thanks.



-----
Chris
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers



--
| Aashish Chaudhary
| Technical Leader         
| Kitware Inc.           

_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: nightly build (8.1.0?) where did vtkVolumeTextureMapper3D go

Aashish Chaudhary-2
In reply to this post by Andras Lasso


On Wed, Apr 18, 2018 at 10:06 AM, Andras Lasso <[hidden email]> wrote:
If there are errors in the current GPU volume mapper then they certainly have to be fixed, but I would rather have only one GPU volume mapper in VTK, which works well.

that was the core idea.. we had too many mappers and it was hard to maintain / update and there was lot of overlap in features. we should fix the issues instead. 

- aashish
 
If there were different variants then developers attention might be divided between them and developers may be distracted by users asking help for unsupported classes.

Until error in the current GPU volume mapper is fixed, you can build the old mapper as part of your application or keep using an earlier VTK version.

Andras

-----Original Message-----
From: vtkusers <[hidden email]> On Behalf Of gohlinchia
Sent: Wednesday, April 18, 2018 2:01 AM
To: [hidden email]
Subject: Re: [vtkusers] nightly build (8.1.0?) where did vtkVolumeTextureMapper3D go

Hi Aashish,

I'm not sure what specific reason(s) that Brian Davis would want the vtkVolumeTextureMapper3D back; we want it back too.

For our case, it is because the new CPU/GPU ray cast volume mapper is not working correctly when depth peeling is enabled (for multiple volumes) and also when rendering the scene in stereo (left and right images are the same). I think it is good to have a backup when the only volume mapper doesn't work.

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FStereo-problem-for-ray-cast-volumes-td5746483.html&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=VL9VNwj%2F%2FkJf1QGh6N719ADFFce3vuT1oYfyicRUltU%3D&reserved=0

Thanks.



-----
Chris
--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=mT2Mda%2BJ81vR5tQVykWI94ZZVaTp9V5sMdVZur8bhX0%3D&reserved=0
_______________________________________________
Powered by https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=jc06Ns3NypmJNdAxx2cYlc7Su%2FwLjOBpDRim6o9pO%2B0%3D&reserved=0

Visit other Kitware open-source projects at https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=K6rCaXoPbeD1OsPAByfcOxY0Y42ZUdgHi32mEjfyh2Q%3D&reserved=0

Please keep messages on-topic and check the VTK FAQ at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=PWgbdBAAXwC%2BxXSEjX2a7KwuMfJUgCUmYI%2FRmC52g6U%3D&reserved=0

Search the list archives at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=ziLxJzClC8oszuwHNmdmXb4BPaRSYHyrKh65oEys6BY%3D&reserved=0

Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvtk.org%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7C48731a4ab5f7413b596f08d5a4f1c011%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636596280575717138&sdata=2VjsrQPJEPdb16otIs5Tih9rZw4NsHxSQUVHLZ1zpJg%3D&reserved=0
_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers



--
| Aashish Chaudhary
| Technical Leader         
| Kitware Inc.           

_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: nightly build (8.1.0?) where did vtkVolumeTextureMapper3D go

gohlinchia
Hi Andras & Aashish,

Thanks for explaining the issue. I have a better understanding of the
problems you guys are facing now. Thanks also for fixing the two previous
issues I mentioned. I downloaded the latest master from GitHub and verified
that the bugs are fixed.

Speaking of problems, I hope I can tag on to this thread to sound out two of
the problems we are facing now with the GPU ray cast volume renderer:

1. The first is the incorrect stereo rendering as mentioned before. The two
viewpoints generated are
the same except that they are slightly offset to give the illusion of
stereoscopic rendering. This same problem also appears in ParaView 5.4.1.
This problem only seem to affect ray cast volume rendering and not the
polygonal meshes. The horizontal left-right split viewports shows this very
clearly:

<http://vtk.1045678.n5.nabble.com/file/t342340/Split_Viewports.png>

We suspect that while rendering the ray cast volumes, the same
viewpoint/perspective matrix was used in both the left and right views.


2. The second problem we encounter is that ray cast volume renderer doesn't
seem to work well when volume depth peeling is activated. I can't explain it
very well, but it seems to us that the depth peeling of ray cast volumes
doesn't seem to be depth correct. The rendering looks better than it is
without depth peeling but at certain angles, it feels as if the depth
peeling has no effect at all. I have attached the following images to help
explain what we are seeing:

<http://vtk.1045678.n5.nabble.com/file/t342340/Without_Depth_Peeling_0.png>
This image shows two volumes (MRI is grey and CT is yellowish) rendered
without depth peeling. The CT is almost fully occluded.

<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_1.png>
The next image shows the same two volumes rendered with depth peeling
activated. As you can see, the CT (yellowish) is smaller than the MRI (grey)
and the CT is almost fully enclosed within the MRI.

The following series of images shows the rendering effect with depth peeling
activated, as viewed from different angles. The CT should be
partially/mostly occluded by the MRI because it is a physically smaller
volume that is located/enclosed within the MRI itself. But as the series of
images shows, it looks as if the CT is floating outside of the MRI or that
the depth peeling is deactivated (it is activated, we checked).

<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_2.png>
<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_3.png>
<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_4.png>
<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_5.png>
<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_6.png>
<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_7.png>
<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_8.png>
<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_9.png>
<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_10.png>
<http://vtk.1045678.n5.nabble.com/file/t342340/With_Depth_Peeling_11.png>

We wonder what could be the problem.

Thank you so much!



-----
Chris
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers
Chris