Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Baum3D als Plugin (Testphase)

    SDK Help
    0
    19
    1.3k
    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 19/02/2008 at 06:59, xxxxxxxx wrote:

      You can group the virtual object under a virtual Null object for instance. Check the Atom object example in the SDK.

      cheers,
      Matthias

      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/02/2008 at 00:17, xxxxxxxx wrote:

        Thanks!!!!!!!!!!

        Klaus

        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/02/2008 at 01:25, xxxxxxxx wrote:

          Help!!!!!

          I go crazy. What is wrong?
          I try to insert the tree and leafs under the Plugin, but it dont't work. Otherwise, if I convert it with 'c' to a polygon-object, it is right.

          // this is the source-code:
          BaseObject *CBaumPlugin::GetVirtualObjects(PluginObject *op, HierarchyHelp *hh)
          {
          BaseObject *ret = BaseObject::Alloc(Onull);

          BaseObject *botree = tree.op;//pointer to the tree
          BaseObject *boleafs = leaf.op;//pointer to the leafs
          botree->SetName("tree");
          boleafs->SetName("leafs");
          botree->InsertUnderLast(ret);
          boleafs->InsertUnderLast(ret);
          // also tryed with: ret->InsertUnderLast(botree);

          return ret;

          }

          what is wrong ?

          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/02/2008 at 02:43, xxxxxxxx wrote:

            I don't know maybe something wrong with your tree.op/leaf.op pointers? I tried a simple example with a cube and a sphere inserted under a null and this works fine.

            > \> BaseObject \*AtomObject::GetVirtualObjects(PluginObject \*op, HierarchyHelp \*hh) \> { \>      // group all further objects with this null object \>      BaseObject \*main=NULL, \*cube=NULL, \*sphere=NULL; \> \>      main = BaseObject::Alloc(Onull); \>      if(!main) goto Error; \> \>      cube = BaseObject::Alloc(Ocube); \>      if(!cube) goto Error; \> \>      sphere = BaseObject::Alloc(Osphere); \>      if(!sphere) goto Error; \> \>      cube->SetPos(Vector(150,0,0)); \>      cube->InsertUnderLast(main); \> \>      sphere->SetPos(Vector(-150,0,0)); \>      sphere->InsertUnderLast(main); \> \>      return main; \> \> Error: \>      blDelete(main); \>      blDelete(cube); \>      blDelete(sphere); \>      return NULL; \> } \>

            cheers,
            Matthias

            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/02/2008 at 08:42, xxxxxxxx wrote:

              thank you,

              exactly so i had made it.

              But I see in the C4D-object-manager only my Plugin without sub-items.

              But when I convert (with key 'c') ist, I see it.

              ???

              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/02/2008 at 08:56, xxxxxxxx wrote:

                All the objects you create are virtual! They are NOT visible in the OM. If you want to create the polygon objects in the OM, you better use a GeDialog gui (See gui sdk examples) where the user can hit a button to create the objects in the OM, but then you loose interactivity of a c4d object.

                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/02/2008 at 09:16, xxxxxxxx wrote:

                  ooooooohhhh,

                  here you can test it by pressing 'c'.

                  http://www.kbuechner.gmxhome.de/Baum_Plugin.zip

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

                    As Katachi notes, virtual objects are 'virtual' - they only exist for the purpose of the deformations/generations/rendering processes and nothing more. Beyond that, they *really* don't exist in the document and there are restrictions on what can be done with/to them (see the C++ SDK Documentation).

                    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/02/2008 at 11:15, xxxxxxxx wrote:

                      thank you.

                      I have an idea: I don't need two objects.
                      To texture separately, it is enough to create two polygon-selections!
                      But I don't now again, how I can make it 😞

                      Klaus

                      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/02/2008 at 03:52, xxxxxxxx wrote:

                        Hello,

                        Plugin is almost ready.
                        Thanks for help.

                        Screenshot here:
                        http://www.kbuechner.gmxhome.de/BaumPlugiScreen.jpg

                        It is for C4D 9.1 but works likely in higher versions (now only Windows)

                        Download here:
                        http://www.kbuechner.gmxhome.de/Baum_Plugin.zip

                        To make leafs, you must insert a polygon-object under the Plugin (make it unvisible for renderer).
                        These texture-coordinaten were adopted.

                        The you must give the plugin one tree- and one leaf-texture.
                        Important: name the Selektion per texture "tree" and "leafs", these are hidden polygon-selektions.

                        in future:
                        - leaf-angle
                        - gravitation
                        - wind (you can simulate it now by animating "Biegung"(bend)
                        - tree withot middle-twig
                        - fitting the start-view to whole tree
                        - dimension-frame
                        - Mac-Version
                        - ????
                        - ????

                        Klaus
                        http://www.kbuechner.gmxhome.de

                        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 25/02/2008 at 06:29, xxxxxxxx wrote:

                          Hello,

                          something in the Baum-Plugin is new:

                          - gravitation für tree and leafs
                          - tree without middle-twig

                          Screenshot here:
                          http://www.kbuechner.gmxhome.de/BaumPlugiScreen.jpg

                          download here:
                          http://www.kbuechner.gmxhome.de/Baum_Plugin.zip

                          Klaus

                          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 28/02/2008 at 13:58, xxxxxxxx wrote:

                            Hello,

                            here is a new version of my baum-plugin.

                            Screenshot:
                            http://www.kbuechner.gmxhome.de/BaumPluginScreen.jpg

                            Download from my WebSite or directly:
                            http://www.kbuechner.gmxhome.de/Baum_Plugin.zip

                            In BaumPlugin_Manual.doc you can read how to use it.

                            Please write me error-informations or suggestions.

                            Thanks from Berlin,
                            Klaus
                            [email protected]

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

                              Hello,

                              new version of Baum-Plugin:

                              rising tree (Divx5) :
                              http://www.gfai.de/~buechner/Baum_Wachstum.avi

                              Screenshots:
                              http://www.kbuechner.gmxhome.de/BaumPluginScreen.jpg

                              or here:
                              http://www.gfai.de/~buechner/Apfelbaum.jpg

                              Download:
                              http://www.kbuechner.gmxhome.de/Baum_Plugin.zip

                              Please read BaumPlugin_Manual.doc.

                              Klaus
                              http://www.kbuechner.gmxhome.de

                              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 09/03/2008 at 10:28, xxxxxxxx wrote:

                                Hello,

                                Now you have more parameters for leafs.
                                Therefore you can also make something like fern.
                                look here:
                                http://www.gfai.de/~buechner/Baum_Wachstum.avi

                                Screenshots:
                                http://www.kbuechner.gmxhome.de/BaumPluginScreen.jpg
                                http://www.gfai.de/~buechner/Apfelbaum.jpg

                                Download:
                                http://www.kbuechner.gmxhome.de/Baum_Plugin.zip

                                Please copy Baum_Plugin-directory in your C4D-plugins-directory and read "BaumPlugin_Manual.doc"

                                Thanks,
                                Klaus
                                http://www.kbuechner.gmxhome.de

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