Jump to content
Info News:
  • C4D Cafe 2.0 COMING SOON!


Regular Member
  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Noble Beginner

About Rhino

  • Rank
    Cafe Ronin

Profile Information

  • First Name
  • Last Name
  • C4D Ver
    19.024 Studio
  • Location
  1. Thanks for your help, that seems to have worked! The only part that does not work is the easing parameters, but this has not worked in the last few versions of cinema... They must have changed something at some point which broke it.
  2. That's awesome thanks Jed! I think the rotation order may be important however as when you rotate the target cameras the mocam (blending camera) rotates the wrong way. This is way trickier than I thought it would be!
  3. Thanks for your reply! That is the strange thing as all the ports have been names accordingly... I have also given unique names to the python nodes to see exactly where the errors are, and it is in the same script that is used throughout. Error "ROTATIONORDER_DEFAULT is not defined" is also coming up now. MOCAM_R20v05.c4d
  4. Thanks for your help so far! I have managed to change the ports but there still seems to be a problem with this script # construct a matrix from Position and Rotation, # input ports are Position and Rotation, output prt is NewMatrix import c4d def main(): NewMatrix = c4d.utils.HPBToMatrix(Rotation, order=ROTATIONORDER_DEFAULT) NewMatrix.off = Position The error coming up is as follows Traceback (most recent call last): File "Python_02, line 6, in main NameError: global name 'Rotation' is not defined Any ideas on how to fix this please? MOCAM_R20v04.c4d
  5. Thanks C4DS! All the nodes seem to link up fine now, and I have added the python scripts that you mention. Unfortunately they still seem to not be working... I have replaced all of the coffee nodes with the python versions. Is there something I am missing? (scene attached) Many thanks, MOCAM_R20v03.c4d
  6. The second COFFEE node has been renamed to 'Generate Matrix'
  7. Hi C4DS, thanks for the fast reply! I am trying to get the old CStools Mocam rig up and working on R20 (see attached). As far as I can see these are the only two coffee nodes that need replacing, (they do occur a few times however ) The first script you provided seems to link up fine in the xpresso editor, however the second scripts output doesn't allow itself to be connected. Maybe it's the wrong type of output? Thanks again for your help! MOCAM.c4d
  8. Hi there, I am trying to convert an old Xpresso setup for use in R20, but unfortunately it contains some 2 coffee script nodes. I would be very grateful if someone could please help me convert the following 2 coffee scripts into python SCRIPT NUMBER 1 main() { Output1 = MinimizeAngle(Input1,Input2); } SCRIPT NUMBER 2 main() { var InMatrix=new(Matrix); InMatrix->SetRotHPB(Rotation); InMatrix->SetV0(Position); NewMatrix=InMatrix->GetClone(); } Any help would be greatly appreciated! Many thanks,

Latest Topics

Latest Comments

  • Create New...