<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
WOW guys! thank you very much for all the suggestions about this topic.<br>You helped me a lot...and I hope this works soon.....<br>Many thanks!<br>Giancarlo<br><br>&gt; From: david.gobbi@gmail.com<br>&gt; Date: Tue, 16 Feb 2010 07:12:15 -0700<br>&gt; To: daviddoria+vtk@gmail.com<br>&gt; CC: vtkusers@vtk.org<br>&gt; Subject: Re: [vtkusers] projections and transformations<br>&gt; <br>&gt; On Tue, Feb 16, 2010 at 6:56 AM, David Doria &lt;daviddoria+vtk@gmail.com&gt; wrote:<br>&gt; &gt;&gt; It divides by the "w" coordinate, which is the 4th: (x, y, z, w).<br>&gt; &gt;&gt; When you call TransformPoint(x,y,z) it creates a homogeneous<br>&gt; &gt;&gt; coordinate (x,y,z,w) with w=1, and then multiplies it by the 4x4<br>&gt; &gt;&gt; matrix. &nbsp;Then it returns (x/w, y/w, z/w).<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; &nbsp; David G<br>&gt; &gt;&gt;<br>&gt; &gt;<br>&gt; &gt; Ah right, again because it is a 4x4 projection matrix. What do you<br>&gt; &gt; think about adding vtkMatrix3x4 for typical "P = [KR | -KRC]" camera<br>&gt; &gt; projection matrices?<br>&gt; <br>&gt; The 4x4 matrix is the basis for the VTK transforms, so a vtkMatrix3x4<br>&gt; would have to be converted to a vtkMatrix4x4 before it could be used.<br>&gt; My opinion is that a 3x4 matrix would be kind of useless.  A person<br>&gt; can just construct a 4x4 matrix that does the same thing.<br>&gt; <br>&gt;   David G<br>&gt; _______________________________________________<br>&gt; Powered by www.kitware.com<br>&gt; <br>&gt; Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>&gt; <br>&gt; Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br>                                               <br /><hr />Annoiato? <a href='http://www.messenger.it/raccoltaGiochi.aspx' target='_new'>Prova i giochi di Messenger!</a></body>
</html>