RunAnimation for caching?



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

    On 08/12/2006 at 13:53, xxxxxxxx wrote:

    Hey GeSyncMessage() does indeed update the timeline correctly! Great thx!

    However, the click & freeze is still there. So if anybody knows how to prevent this, I´d be glad to know.

    GeModalDialog is definetly no option though! :) Btw. I am NOT in a dialog, but in a generator object!



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

    On 08/12/2006 at 13:56, xxxxxxxx wrote:

    ah and, yes, of course I already tried it without StopAllThreads(). Makes no difference.



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

    On 09/12/2006 at 14:14, xxxxxxxx wrote:

    I almost forgot about this last night. Ya know, I was loading a C4D document (standard stuff) in R9.5 and it did the same thing to the interface if I did anything or popped up the Windows TaskBar - as a test. Seems that certain processes will not allow the general interface to refresh. Maybe this is the case for what you are doing. (?)

    What seems to happen is that Cinema 4D is doing some process that is working without full messaging (or something) and when you click, the window goes blank and you can usually see (Not Responding) in the Task Manager. Cinema 4D is okay, it's just not at home during the process. :)



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

    On 10/12/2006 at 05:49, xxxxxxxx wrote:

    that´s true, but there must be a way to refresh the general interface because the hair module and the clothilde module are doing the exact same thing! And it works for them. So it should work for me too. :)

    But it seems developer support has stopped here at plugincafe. I am still sitting here on some problems that have never been adressed and that customers will definetly argue about. Very disappointing.



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

    On 10/12/2006 at 07:37, xxxxxxxx wrote:

    You hope. :)

    Methinks that the developers et al are working feverishly to fix and finalize R10 and its SDK (I hope).



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

    On 10/12/2006 at 08:04, xxxxxxxx wrote:

    Well, the sdk support does now consist of 2 people, Matthias and Mikael (both are NOT c4d developers but official plugincafe support), and me thinks that it should be feasible to look into the cafe once a week for one of them, to give third party developers the needed support.

    MAXON has always been developer friendly but since Cinema 4D is growing, this gets worse every year (I am here for about 5 years) and that´s a shame. I know they also have other stuff to do beside keeping the cafe running, but sometimes I have to wait several weeks until I get an answer and sometimes I don´t get an answer at all, even when I say that it´s URGENT.
    I have lost my client due to an unanswered question from some weeks ago although they said, they´d give me an answer. (the environment bug, my client simply couldn´t use it because of this issue and so he skipped the job! who gives me the lost money back?). Bad support these days, that simple.

    Samir



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

    On 10/12/2006 at 11:08, xxxxxxxx wrote:

    Maybe they are on vacation, together? ... ;)

    I know the feeling - especially about urgency. Or worse is that it is difficult to focus on a particular feature/problem, ask for assistance here, and then wait and wait. It's usually not possible to just shift gears and do something else - either what you are doing has your full attention or it is critical before any other forward motion can occur (etc.). And it is not very professional to go to customers with "It took me three weeks to add this key-check to my interface."

    And I know about the client problem. My big stink over PLA and other special animation in R10 was mainly motivated not only by the needs of two commercial plugins, but also by the request from a client from last year wanting R10 support for several commissioned plugins - and by the end of the month (November) or stick to R9. At first I was like "I don't know, but let's see", then I was like "Maybe, support is getting to it". And then it had to be "Probably not, but I'll tug on my end and you tug on yours" (he was going to contact Maxon UK personally about it). In the end, hmmm, it's Dec. 10 and the update was completely abandoned since there seem to be no answers forthcoming. A month and a half (from release, not including demo time) and still no sign of SDK documentation or examples to put some of these changes into affect. Matthias did offer one workaround solution for PLA that will suffice for one of my commercial plugins - but that is it.

    As an aside, I was really aghast when helping Murakami with the modal dialog key tests to find that nothing happens! How can you design a GUI where keystrokes are ignored by part of the GUI? I still don't see a solution here considering that none of the virtual methods is even called on a keystroke - that's scary! :)



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

    On 12/12/2006 at 09:38, xxxxxxxx wrote:

    Back on topic:
    Hair doesn't really update the interface, except for some parts: Timeslider, AM, and View. You can see that it kind of freezes, when you try to move the window or move another window on top of it. It will only redraw some parts. I believe Hair does it exactly as you do. It might just make some updates via GeSyncMessage(). How about EVMSG_DOCUMENTRECALCULATED, to update the AM ? Beside, does the drawing in the views work for you ?



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

    On 12/12/2006 at 15:33, xxxxxxxx wrote:

    Hi Michael,

    thanks, I will try that message! Do you mean drawing while caching? Well, sometimes it works and sometimes it doesn´t.    I haven´t found out when or why though. Will let you know when I know.

    thanks



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

    On 13/12/2006 at 00:44, xxxxxxxx wrote:

    Caching goes like this:

      
    ctime=pDoc->GetTime()  
    GeShowMouse(MOUSE_BUSY);  
      
    for (f=start; f<=stop; f++)  
    {  
    SetStatusBar(100*(f-start)/(stop-start))  
    pDoc->SetTime(BaseTime(f,fps)+toffset)  
    DrawViews(DA_ONLY_ACTIVE_VIEW|DA_NO_THREAD|DA_NO_REDUCTION|DA_STATICBREAK)  
      
    DoYourCaching()  
      
    GeSyncMessage(EVMSG_TIMECHANGED);  
    }  
      
    pDoc->SetTime(ctime);  
      
    EventAdd(EVENT_ANIMATE);  
    GeShowMouse(MOUSE_NORMAL);  
    StatusClear();  
    

    HTH.



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

    On 13/12/2006 at 06:50, xxxxxxxx wrote:

    Thanks Dave! That definetly helps!


Log in to reply