Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
grabbing preset transforms: script error: Invalid parameter

grabbing preset transforms: script error: Invalid parameter

2004-03-04       - By welchc@(protected)

 Back
Reply:     1     2     3  


I keep getting a "script error: Invalid parameter" on this:

 tTransform = transform()
 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)

These transforms are set up in my list as multiple start point and end
points for an interpolation script. I was trying to avoid putting separate
list entries for x pos, y pos, z pos, x rotation y, y rotation, z rotation
for each of the beginning and end point of my interpolation. I was hoping
the list would be "cleaner" using transforms.

For reference this is a sample of what my list looks like:

[["Name": "Turret Shell & Basket", "Description": "", "Start-CamPosition":
"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)", "End-CamPosition":
"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,
-166.22955,-299.41473,66.14555,1.00000)", "Models Used": ["Basket", "Turret
Shell"], "AssociatedImage": "", "original Bom Order": "original Bom Order
1", "LVL": "LVL                1", "FN": "FN                    1",
"Item#": "Item#                16102106-011", "Comp Rev Lvl": "Comp Rev Lvl
V", "Item Desc": "Item Desc            TURRETSHELL/BASKETINSTL", "Qty":
"Qty                1", "UM": "UM                KT"]]


Thanks,

Carl

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Dir3d-l mailing list
Dir3d-l@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l