[vtkusers] Re: I have a problem about vtkCamera matrix

Goodwin Lawlor goodwin.lawlor at ucd.ie
Mon Nov 22 08:40:50 EST 2004


Hi York,

Its best to keep posts on the list for future reference. I would say
vtkTransform::SetMatrix() and vtkCamera::ApplyTransform() should work. If
you post some code people can see where you went wrong. Normally, you set
the camera position, focus point and view-up vector.

hth

Goodwin
----- Original Message ----- 
From: "york" <yorktim at bit.edu.cn>
To: <goodwin.lawlor at ucd.ie>
Sent: Monday, November 22, 2004 12:12 PM
Subject: I have a problem about vtkCamera matrix


Hi goodwin,
I have a problem about vtkCamera matrix.Now I have a view matrix
but I can't apply the matrix to camera.The only function about matrix of
vtkCamera is
ApplyTransform(vtkTransform*) ,but I think it is a wrong way.

Could you give me some suggestion?

Thanks.   york
        yorktim at bit.edu.cn
          2004-11-22






More information about the vtkusers mailing list