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

    SetRewind

    Scheduled Pinned Locked Moved SDK Help
    15 Posts 0 Posters 1.3k Views
    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 Offline
      Helper
      last edited by

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

      On 04/12/2004 at 08:18, xxxxxxxx wrote:

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

      ---------
      Please define what SetRewind is and what it is meant to do.

      When it is called TP Particles update correctly. Plugin never get called ( unless I add an EventAdd which cause the current frame to update to it's current state ). What is TP Particle Scene Plugin seeing that the Plugin Object isn't? I think NET maybe prerolling using this function except the ObejctData functions are not notified.? Are they? Somewhere? Should I be writing another plugin to read the rewind and properly update my objects? Trying that now.

      Regards,
      darf

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

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

        On 04/12/2004 at 18:56, xxxxxxxx wrote:

        Well, it seems that the NET preroll acts exactly the same as using the SetRewind function in C4D ( I am assuming NET uses SetRewind for its preroll ). The problem is that SetRewind only seems to cause tags to be evaluated. Even if I us my ForceEvaluate tag that evaluates op->SetDirty( DIRTY_DATA | DIRTY_MATRIX ) the object is never evaluated. This makes the preroll not so useful IMHO. So, now, I am assuming that I have to write a tag that messages the object so that the object will update through a different method. Abstraction, a beautiful thing. Still, any information on how this should work would be helpful to the development community. Is it true that NET does not preroll objects?

        darf

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

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

          On 05/12/2004 at 03:45, xxxxxxxx wrote:

          sorry, cannot help but I would be interested in knowing this too.

          thx

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

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

            On 05/12/2004 at 03:52, xxxxxxxx wrote:

            a second thought, have you called AnimateDocument() or AnimateObject()? Not sure if this can be a help but might be (maybe also the problem for the preroll?) as when rewinding, the doc may not be notified of the animation changes...

            just a guess but let us know if it works. I am not at home to check myself (at my parent´s house :).

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

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

              On 05/12/2004 at 06:27, xxxxxxxx wrote:

              I am not the one calling it. This is relating to NET which seems to call SetRewind. Trying to figure out how to respond to it as no object seems to be made aware there is a preroll. Fun.

              Regards,
              darf

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

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

                On 05/12/2004 at 10:38, xxxxxxxx wrote:

                oh sorry, my fault then. Yeah sounds like fun. Then I am still interested in knowing the solution.

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

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

                  On 06/12/2004 at 07:25, xxxxxxxx wrote:

                  Good morning MAXON,

                  Is it true that the preroll in NET only informs tags?

                  If there is a way for the obejcts to be aware of the preroll this would be very helpful, thank you.

                  Regards,
                  darf

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

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

                    On 06/12/2004 at 15:46, xxxxxxxx wrote:

                    Good morning to you too!
                    I haven't bothered checking in NET, but it does seem true that the preroll when doing a regular external renderer only includes tags. (It doesn't even include deformers with CheckDirty() implemented.)
                    I'm investigating whether there's a workaround and will get back when I know more. (Btw, did you get my mail with the XYZ scene? I'm not sure which email address to use.)

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

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

                      On 06/12/2004 at 16:23, xxxxxxxx wrote:

                      I didn;t think that CheckDirty worked at all for deformers.? Maybe that was generators? The preroll thing is a real pain.

                      The XYZ scene, found inconsistencies in two spots. I can provide scenes but I think they are meanlingless. If a pseudo algorithm was posted we could implement it and go on to more important things. 9-)

                      Regards,
                      darf

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

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

                        On 07/12/2004 at 03:52, xxxxxxxx wrote:

                        Unfortunately the preroll behaviour is by design. I've posted a suggestion to implement a way to request prerolling for objects as well.There are no suggested workarounds. I guess there might be something possible using a tag somehow, though I'm not sure exactly what's the best way to do it.
                        Regarding the XYZ scene, a pseudo-pseudo algorithm (X=du, X=dv etc.) has been posted. I've requested a more detailed algorithm, though the current workload might make this a long process. Finding a scene that contradicts the currently posted algorithm might speed up the process.

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

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

                          On 07/12/2004 at 08:58, xxxxxxxx wrote:

                          By design?

                          LOL, well, I guess they are designing for the 'prosumer', not the 'professional'. With all of the other SDK object glitches that were 'by design' I find alot of wasted time.

                          Thanks for the support effort.

                          David Farmer

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

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

                            On 07/12/2004 at 09:11, xxxxxxxx wrote:

                            Since it was stated this was 'by design' I would like MAXON to explain why. This does not seem correct. Yes MAXON, your being called on it. Explain.

                            David Farmer

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

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

                              On 07/12/2004 at 09:13, xxxxxxxx wrote:

                              Regarding the XYZ scene, a pseudo-pseudo algorithm (X=du, X=dv etc.) has been posted. I've requested a more detailed algorithm, though the current workload might make this a long process. Finding a scene that contradicts the currently posted algorithm might speed up the process.

                              Ok, how is MAXON evaluating DU/DV. Offer that algorithm, I will implement it and then we will see where the differences lie.

                              Regards,
                              David Farmer

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

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

                                On 08/12/2004 at 01:08, xxxxxxxx wrote:

                                Hmm, the being of MAXON called on it? Sounds a bit philosophical... 😉
                                When I say "by design" it usually means "not a bug", not much more. The reason for the design was perhaps that the need for prerolling objects was not foreseen, or simply forgotten. It would have been a bug if it was meant to preroll but didn't. Nothing of this of course changes the fact that it doesn't preroll, nor does it mean that it never will.
                                I'm investigating the XYZ issue.

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

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

                                  On 08/12/2004 at 06:45, xxxxxxxx wrote:

                                  Thanks Mikael,

                                  The 'called on' statement was more confrontational targeting the programmers. It was a 'come on, WTF are you wasting my time for!?' kind of thing. When you are staring at three creative content jobs, three large software development projects, and a personal life, little things that eat up weeks of your time just aren't good. I don't feel that should have gotten through beta as T had brought this up before and there was never a good resolution. I had to figure out this on my own as this rather large hold appeared nowhere in the docs. NET needs some love. Just one professional users opinion.

                                  Thank you for your effort.

                                  Regards,
                                  David Farmer

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