View Single Post
# 4 21-06-2006 , 08:47 PM
skywola's Avatar
Registered User
Join Date: Jan 2004
Location: Tempe, Arizona, USA
Posts: 224
Best I can tell, by looking at the Maya help file, (always useful when you hit a brick wall) :headbang: is that the filmTranslate attribute is looking for TWO numbers . . .

From Help file :

filmTranslate (ct) double2 0.0, 0.0
Post projection translation component. Translate the film back by the given values.
The values are normalized with respect to viewing area.

filmTranslateH (fth) double 0.0
Translate in horizontal direction.

filmTranslateV (ftv) double 0.0
Translate in vertical direction.

So evidently it needs you to either supply it with two numbers,
and I'm not so sure how to do that without a little more research that I am to lazy to do, or break it down to :

zoom_camShape.filmTranslateH = pan640x480.translateX;
zoom_camShape.filmTranslateV = pan640x480.translateY;


"The Sage as an Astronomer: If you still see the stars as something above you, you lack the eye of knowledge." Friedrich Nietzsche