Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Thanks!
For models, the XYZ translation works in a weird way (it rotates the head on the rootTransform axis if I tell it to follow the node). This script can be used for more than just cameras, though. It's definitely a good helper for locking on lights to assist with a semiomnilight look. Good work. Ill see if I can modify it to work for models.
transformdag = sfmUtils.FindFirstDag( [ 'transform' ], True )# grab the transform dag
time=vs.DmeTime_t( ((1/sfmApp.GetFramesPerSecond())*frame number)+5)#used to add the key at the right frame
transformdag.FindTransformControl().GetPositionChannel().GetLog().SetKey(time,vs.Vector(50,60,7))#to change the postion
transformdag.FindTransformControl().GetOrientationChannel().GetLog().SetKey(time,vs.Quaternion(-0.4877864122, -0.1150019318, -0.188069284 ,0.84467))#to change the Orientation
basically you are going though the element viewer via script to change the cameras values.you would apply it like a rig for a model.
Is his script better or your script better? and if his is why did you bother make yours? im so confused....