How to set my matrix to camera.transform

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  12 December 2011
How to set my matrix to camera.transform

HI, i'd like to ask you how can i add my own matrix which looks like:
[-0.00787758403400 -0.99987368071328 -0.01380457484584] [-0.05022239161841 -0.01339197533679 0.99864826960082][-0.99870699158958 0.00856023442823 -0.05011055115063] [-666.49300000000005 -28.12390000000000 11.28040000000000]

To $Camera01.transform
 
  12 December 2011
$myCamera.transform = matrix3 [-0.00787758403400 -0.99987368071328 -0.01380457484584] [-0.05022239161841 -0.01339197533679 0.99864826960082][-0.99870699158958 0.00856023442823 -0.05011055115063] [-666.49300000000005 -28.12390000000000 11.28040000000000]
 
  12 December 2011
It doesn't work:
$Camera01.transform = matrix3 [-0.00787758403400,-0.99987368071328,-0.01380457484584] [-0.05022239161841,-0.01339197533679,0.99864826960082] [-0.99870699158958,0.00856023442823,-0.05011055115063] [-666.49300000000005,-28.12390000000000,11.28040000000000] (matrix3 [-0.00787758,-0.999874,-0.0138046] [-0.0502224,-0.013392,0.998648] [-0.998707,0.00856023,-0.0501106] [-666.493,-28.1239,11.2804]) $Camera01.transform (matrix3 [0.0206446,-0.999787,0] [-0.0440285,-0.000909142,0.99903] [-0.998817,-0.0206245,-0.0440378] [-666.493,-28.1239,11.2804])


Only the position of the camera has changed, but the target is still the same as i set it at start
 
  01 January 2012
you didn't say it's a target camera

cam = $Camera01
cam.type = #free
cam.transform = matrix3 [-0.00787758403400,-0.99987368071328,-0.01380457484584] [-0.05022239161841,-0.01339197533679,0.99864826960082] [-0.99870699158958,0.00856023442823,-0.05011055115063] [-666.49305,-28.1239,11.28040] 
cam.type = #target
 
  01 January 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:30 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.