Xpresso object input ports?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/03/2011 at 10:55, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   12 
    Platform:   Windows  ; Mac  ;  Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    Howdy,

    In R12 I see that the ID_BASEOBJECT_GLOBAL_POSITION and ID_BASEOBJECT_GLOBAL_ROTATION are still the same in the obase.h file. I assume those match up to the input ports of Global Position and Global Rotation, right?

    Also, I'm not sure how the input ports in R12 on an object node in Xpresso are matched up. I'm assuming the Frozen Position, Frozen Rotation and Frozen Scale input ports match up with:
    ID_BASEOBJECT_FROZEN_POSITION
    ID_BASEOBJECT_FROZEN_ROTATION
    ID_BASEOBJECT_FROZEN_SCALE

    ... but are the Position, Rotation and Scale input ports matched up with:
    ID_BASEOBJECT_REL_POSITION
    ID_BASEOBJECT_REL_ROTATION
    ID_BASEOBJECT_REL_SCALE

    .. or:
    ID_BASEOBJECT_ABS_POSITION
    ID_BASEOBJECT_ABS_ROTATION
    ID_BASEOBJECT_ABS_SCALE

    Also, in the obase.h file, I don't see any ID's for the input ports of "Global Matrix" and "Local Matrix". What are those port ID's?

    Adios,
    Cactus Dan



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 07/03/2011 at 03:39, xxxxxxxx wrote:

    Look for the gv*.res files for node descriptions. For example the object node's gvobject.res resource file.

      
    CONTAINER GVobject  
    {  
      NAME GVobject;  
      INCLUDE GVbase;  
      
      GROUP ID_GVPROPERTIES  
      {  
          LINK GV_OBJECT_OBJECT_ID { }  
          LONG GV_OBJECT_PATH_TYPE { CYCLE { GV_OBJECT_PATH_TYPE_START; GV_OBJECT_PATH_TYPE_ABSOLUTE; GV_OBJECT_PATH_TYPE_RELATIVE; } }  
          LONG GV_OBJECT_START_TYPE_ID { }  
          LONG GV_OBJECT_DISTANCE_ID { MIN 1; }  
          LONG GV_OBJECT_HISTORY_DEPTH_ID { MIN 1; }  
          STRING GV_OBJECT_PATH_ID { }  
      }  
      
      GROUP ID_GVPORTS  
      {  
          MATRIX GV_OBJECT_OPERATOR_LOCAL_IN                         { INPORT; }  
          MATRIX GV_OBJECT_OPERATOR_GLOBAL_IN                     { INPORT; }  
          LONG GV_OBJECT_OPERATOR_HISTORY_IN                         { INPORT; }  
      
          GVGENERALINSTANCE GV_OBJECT_OPERATOR_OBJECT_IN    { INPORT; }  
          BOOL GV_OBJECT_OPERATOR_ON                        { INPORT; }  
      
          MATRIX GV_OBJECT_OPERATOR_LOCAL_OUT                     { OUTPORT; }  
          MATRIX GV_OBJECT_OPERATOR_GLOBAL_OUT                     { OUTPORT; }  
      
          GVGENERALINSTANCE GV_OBJECT_OPERATOR_OBJECT_OUT    { OUTPORT; }  
      
          VECTOR GV_OBJECT_OPERATOR_OLD_POS_OUT                 { OUTPORT; }  
          VECTOR GV_OBJECT_OPERATOR_OLD_ROT_OUT                 { OUTPORT; }  
          VECTOR GV_OBJECT_OPERATOR_OLD_SIZE_OUT                 { OUTPORT; }  
          MATRIX GV_OBJECT_OPERATOR_OLD_GLOBAL_OUT            { OUTPORT; }  
          MATRIX GV_OBJECT_OPERATOR_OLD_LOCAL_OUT             { OUTPORT; }  
          VECTOR GV_OBJECT_OPERATOR_VELOCITY_POS_OUT         { OUTPORT; }  
          VECTOR GV_OBJECT_OPERATOR_VELOCITY_ROT_OUT         { OUTPORT; }  
          VECTOR GV_OBJECT_OPERATOR_VELOCITY_SIZE_OUT     { OUTPORT; }  
      }  
    }  
    

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 07/03/2011 at 06:38, xxxxxxxx wrote:

    Howdy,

    Thanks Matthias. 😉

    Adios,
    Cactus Dan


Log in to reply