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
    • Recent
    • Tags
    • Users
    • Login

    BaseDocument* in VideoPostStruct

    Scheduled Pinned Locked Moved SDK Help
    7 Posts 0 Posters 612 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 09/12/2008 at 00:50, xxxxxxxx wrote:

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

      ---------
      Is the pointer to a BaseDocument in the VideoPostStruct a pointer to the actual BaseDocument in the editor or a pointer to a copy of the BaseDocument?

      e.g. what happens if the user makes changes to the doc while my VideoPost is in action? (this question is obsolete if the pointer points to a copy)

      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 09/12/2008 at 01:18, xxxxxxxx wrote:

        It is the pointer to the document which is rendered. Afaik that means for editor rendering it's the actual document and for picture viewer rendering it's a copy of the document. Btw. you shouldn't modify the document from within a videopost plugin.

        cheers,
        Matthias

        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 09/12/2008 at 04:31, xxxxxxxx wrote:

          Thank you Matthias.

          So, what if i have to make changes to the document (making objects polygonal for example)? Will undoing the changes made be ok(i really doubt it 🙂 ), or do i have to think of something else?

          Regards
          Yves

          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 11/12/2008 at 05:28, xxxxxxxx wrote:

            I am not sure what you want to do. You are not allowed to modify the document in videopost. If you want to make some changes you have to do this with a copy of the document.

            cheers,
            Matthias

            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 11/12/2008 at 07:51, xxxxxxxx wrote:

              Well, i need a few polygonal meshes from the scene so im just converting the objects with SendModelingCommand().

              Using a copy of the document... It's the easiest way, so i guess i'll do it for now. I'll definitely have to come up with something else later on, when it comes to working with really big scenes.

              Or is there another way im just not aware of?

              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 11/12/2008 at 07:59, xxxxxxxx wrote:

                In case of a videopost it should be save to use the GetCache()/GetDeformCache() function. Check the GetCache() docu for an example how to retrieve the polygonal object.

                cheers,
                Matthias

                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 11/12/2008 at 08:19, xxxxxxxx wrote:

                  Thank you, i will check it out.

                  Regards
                  Yves

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