<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
Hello VTK team and users,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
I've been working with the latest trunk of VTK (7.1 rc2) and wanted to use the OpenVR Framework (with HTC Vive).</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
This works great except for the volume rendering. Currently there is a view depended </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
distortion within the volume rendering. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
If I look onto the volume rendering and move around it, there appear "refraction" lines.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
In front of this line the dataset is rendered correctly, and behind this line too. But onto </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
that line the dataset gets distorted into another "orientation". So we have one </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
orientation on the one side of the line and antoher orientation on the other side.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
This is bad because the eye cameras look from different positions onto this volume </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
rendering and because this is view dependend we get non-matching stereo output.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
I've tried to track this down and I've seen, that the shader code for the GPURaycaster </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
is independed from using standard rendering, stereo-anaglyph rendering and VR rendering.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
So it seems, that some transformations for this shader aren't set correctly.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
But I couldn't figure out which one. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
The one thing I could figure out is, that the ray which is used for raycasting, doesn't go</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
into the right direction. If I assume a bounding box around the dataset which is used for </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
volume rendering, the refraction lines seem to go along the edges of the bounding box cube.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
So I think there is a wrong transformation in this context. But currently I couldn't find</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
any mistake there. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
I've tested everything with different volume data but it was always the same.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
My question is:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
Did anyone experience these issues? Has someone a fix for that or knows how to find a solution?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
Best Regards</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
Sebastian</div>
<div><br>
</div>
<br>
<p></p>
</div>
</body>
</html>