GeDialog::Timer() while dragging?



  • 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



  • 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.



  • 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



  • 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



  • 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?



  • 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



  • 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


Log in to reply