<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi, Andi.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’ve also come across this problem, and refer you to this: </span><a href="http://vtk.1045678.n5.nabble.com/My-investigation-results-on-the-three-vtkOpenGLGPUVolumeRayCastMapper-bugs-Please-read-td2473032.html">http://vtk.1045678.n5.nabble.com/My-investigation-results-on-the-three-vtkOpenGLGPUVolumeRayCastMapper-bugs-Please-read-td2473032.html</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The clip-plane problem is addressed in the first section. I modified my VTK (5.8) source as per the fix, and found it to be good. Whether these three fixes are correct, and if so when will be available in VTK releases proper, is another issue =)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>PaulScully<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> vtkusers-bounces@vtk.org [mailto:vtkusers-bounces@vtk.org] <b>On Behalf Of </b>Andreas Bruening<br><b>Sent:</b> 05 September 2011 17:20<br><b>To:</b> vtkusers@vtk.org<br><b>Subject:</b> [vtkusers] Clipping and vtkGPUVolumeRayCastMapper<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='background:white'><span style='color:black'>Hi all,<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>there is a strange behaviour when I put some clipplanes into my volumerendering scene. In my program I perform GPU accelerated volumerendering of medical data using vtkGPUVolumeRaycastMapper. I want to add some clipplanes to see what is inside a volume. It is often that the clipplanes clip wrong. The behaviour is similar to the bug reported here: <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><a href="http://www.vtk.org/Bug/view.php?id=12377"><span style='color:purple'>http://www.vtk.org/Bug/view.php?id=12377</span></a><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>The mathematics in my code is correct. Origin and normal vector are set correct. When I change the mapper to vtkFixedPointVolumeRaycastMapper everything works fine. And the wrong clipping occurs when I use vtkInteractorStyleTrackballCamera and also when don’t use vtkInteractorStyleTrackballCamera and calculate the cameraposition by my own. <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>Also I figured out that the wrong clipping occurs only when the clipplane normal is not orthogonal and it occurs always when the origin is (0, 0, 0).<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>Is somebody already working on it or does anyone know a workaround? <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>Thanks in advance<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>Andi<o:p></o:p></span></p></div></div></div>
<FONT SIZE=2 FACE=arial>--------------------------------------------------------------------------------------------------<BR>
This email and any attachments are confidential and are for the use of the<BR> addressee only. If you are not the addressee, you must not use or disclose the <BR>contents to any other person. Please immediately notify the sender and<BR> delete the email. Statements and opinions expressed here may not<BR> represent those of the company. Email correspondence is monitored by<BR> the company. This information may be subject to export control<BR> regulation. You are obliged to comply with such regulations.<P>
Renishaw plc (company number 1106260), Wotton Travel Limited (company <BR>number 01973158), PulseTeq Limited (company number 4392865) and<BR> Renishaw Advanced Materials Limited (company number 04632041),<BR> are companies registered in England and Wales with a registered office <BR>at New Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR, <BR>United Kingdom, Telephone +44 1453 524524. <BR>
--------------------------------------------------------------------------------------------------
<BR>
</body></html>