communication with C4D(recognize user interaction)



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

    On 13/12/2012 at 03:22, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   13 
    Platform:   Windows  ;   
    Language(s) :     C++  ;   PYTHON  ;

    ---------
    Hi all

    I do not know english well.
    Simply put, since Object data has been changed,
    How can I recognize quickly that BaseObject data whether changed or not
    (Matrix and Point's data)
    It is possible to quick check data whether changed or not?

    additional infomation.

    > I'm in the process of making some server & client.
    >
    > Sever is getting data and serve data to all connected Client, like a chat server.
    > There are two kind of Client exist. admin and user.
    >
    > server and user's Client is done while admin Client is in process.
    > If Admin Client has only one Object that sent by Admin Client to server
    > it is easy, just send all data(Matrix and Point structure).
    >
    > but, If it has many Obejcts and Obejct has many points,
    > assume that initial Setting is done, Admin client move any Obejct's point or position.
    > then in order to send data to server,
    > Admin Client spend many time in getting all Obejcts data and
    > making binary that to send (Matrix, Points)
    >
    > So to avoid sending unchaneged Obejct's data,
    > Have to pass unchaneged Obejcts while Admin Client send Obejct's data
    >
    > It is possible to quick check data whether changed or not?
    >



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

    On 13/12/2012 at 04:41, xxxxxxxx wrote:

    The NodeData Message() method lets you respond to many things, including matrix, data, and attribute changes. ObjectData is a derived class of NodeData.  Since these messages are received as things change, you may need to keep track of which objects have changed since your last send to server.


Log in to reply