<div dir="ltr"><div>Hi, <br><br></div><div>Thanks for reporting it. Few questions:</div><div><br></div><div>VTK version? </div><div><br></div><div>Platform (Windows/Linux)</div><div><br></div>Via SmartVolumeMapper you are getting GPU or FixPoint? <div><br></div><div>Also, OpenGL2 backend or older? </div><div><br></div><div>It looks like some matrices are incorrect. Can you print them in VTK and ensure they are looking reasonable? </div><div><br></div><div>Thanks, </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 22, 2017 at 12:57 PM Teek <<a href="mailto:EZ7543@wayne.edu">EZ7543@wayne.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
So I've been using the external module to rendering cubes and spheres<br>
successfully.<br>
However, I'm trying to incorporate medical volume rendering from DICOM<br>
files.<br>
I have done so successfully in a normal VTK renderer and render window and<br>
also a QVTKWidget.<br>
<br>
Basically:<br>
DICOM Image Reader > SmartVolumeMapper > Volume (Volume Property, Opacity<br>
and Color Transfer Functions) > Render<br>
<br>
When I use the same flow on the ExternalWidget however I get some weird<br>
results:<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/n5743719/Normal.png" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5743719/Normal.png</a>><br>
<<a href="http://vtk.1045678.n5.nabble.com/file/n5743719/Distortion.png" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5743719/Distortion.png</a>><br>
<br>
Essentially it looks like the volume is actually a texture mapped onto a<br>
cube? And as I rotate, I can see the volume continuously deform to fit a<br>
"cube shape".<br>
Any idea why this could be? I thought maybe it was due to the opacity<br>
transfer function, because if I disable that, I get the rendering fine. The<br>
only issue is that without the opacity function, what I have is essentially<br>
a cube anyway, so I can't really tell any difference.<br>
<br>
-Teek<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Volume-Rendering-Issues-External-Module-tp5743719.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Volume-Rendering-Issues-External-Module-tp5743719.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div>