grabbing preset transforms: script error: Invalid parameter 2004-03-04 - By James Newton
Back On 4/3/04 6:46 pm, "welchc@(protected)" <welchc@(protected)> wrote:
> I keep getting a "script error: Invalid parameter" on this: > > tTransform = gDatabase[whichPage][3] > scene.Model("cameraOriginPoint").transform = tTransform > > gDatabase[1][3] is just a regular transform with the 16 params: > > transform(0.86024,-0.50989,-0.00058,0.00000, > 0.10525,0.17646,0.97866,0.00000, -0.49891,-0.84195,0.20547,0.00000, > -344.14624,-579.14862,132.89607,1.00000)
Hi Carl,
What output do you get if you query the ilk() of the transform and the model?
tTransform = gDatabase[whichPage][3] put ilk(tTransform)
put ilk(scene.Model("cameraOriginPoint"))
Cheers,
James
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|