Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    GeDialog::Timer() while dragging?

    SDK Help
    0
    7
    398
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

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

      On 18/04/2004 at 09:44, xxxxxxxx wrote:

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

      ---------
      Hi,

      If I drag something in the editor it seems that GeDialog::Timer() doesn't work. Is there a way to execute GeDialog::Timer() also while I'm moving an object for example?

      Thanks for any help,

      qwaak

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

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

        On 19/04/2004 at 16:13, xxxxxxxx wrote:

        GeDialog::Timer() won't be called during user input. To make code execute while the user is moving an object you could listen for CoreMessages() or create a SceneHookData.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

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

          On 20/04/2004 at 02:44, xxxxxxxx wrote:

          Thank you very much!

          Have a nice day,
          qwaak

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

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

            On 20/04/2004 at 14:04, xxxxxxxx wrote:

            Hmm, the problem remains 😞

            CoreMessage() as well as the hook plugin run only while the user is moving the mouse and Cinema4D has to refresh the viewports. But I need something that executes code at any time, whatever the user is doing (or not).

            Like Cinema4D's timeline: While C4D is playing back an animation we can move objects in the viewport without stopping the animation.

            It would be great if anyone can give me a tip.

            Thank you,
            Janos

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

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

              On 22/04/2004 at 17:39, xxxxxxxx wrote:

              Ok, sorry I didn't get this subtlety. A thread would do this, but please note that thread code must not modify the GUI nor the scene, so it might not be what you want. What would you do in the Timer() function?

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

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

                On 23/04/2004 at 02:28, xxxxxxxx wrote:

                Hi Mikael,

                I would like to add joystick support for Cinema4D. My idea is that the user finally is able to control the camera with a joystick.
                But the clou should be that he can control the camera also while he is working with the mouse (eg while moving points around, extruding polygons, painting with Bodypaint...).

                That's advanced workflow 🙂

                Is there any chance to do this with a thread? Or are there other possibilities?

                Thank you very much.

                Janos

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

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

                  On 02/12/2008 at 05:13, xxxxxxxx wrote:

                  Hi Janos,

                  did you get the joystick working? I'm looking for a solution for a similar problem.

                  Klaus

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post