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
    1. Maxon Developers Forum
    2. love_me_render
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 16
    • Best 1
    • Controversial 0
    • Groups 0

    love_me_render

    @love_me_render

    1
    Reputation
    5
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website www.klausfilm.bplaced.net Location Berlin

    love_me_render Unfollow Follow

    Best posts made by love_me_render

    • RE: how to program plugins with python?

      Hi,
      thank you for the tips.

      Here is my C++ -treegenerator-plugin, written for R25:

      http://www.klausfilm.bplaced.net/TreeGenerator/Website_Treegenerator.html

      Cheers
      Klaus

      posted in Cinema 4D SDK
      love_me_renderL
      love_me_render

    Latest posts made by love_me_render

    • how can I draw volumetric clouds in R25 ?

      Good evening,
      Could it be that the cloud-painting tool no longer exists in R25?
      I can still create the physical sky, but not volumetric clouds.
      Loading old C4D files with volumetric clouds works, but how can I create them in R25?
      Thanks, Klaus

      posted in General Talk programming
      love_me_renderL
      love_me_render
    • RE: how to program plugins with python?

      Hi,
      thank you for the tips.

      Here is my C++ -treegenerator-plugin, written for R25:

      http://www.klausfilm.bplaced.net/TreeGenerator/Website_Treegenerator.html

      Cheers
      Klaus

      posted in Cinema 4D SDK
      love_me_renderL
      love_me_render
    • RE: how to program plugins with python?

      Hi,
      after several weeks of working on porting my tree generator plugin from C++ to Python, I have now realised that the result in Python is much too slow compared to C++.
      Even a single tree is calculated far too slowly. With several clones of trees, the result is completely unusable.
      If there is no solution to increase the computing speed of the generated Python plugin by a factor of tens, I will revert to C++.
      Is there perhaps a way to compile the Python plugin text file into machine code?

      My conclusion: Python is well suited for small calculations and objects with a few polygons.
      Not for larger, more complex projects.

      Klaus

      posted in Cinema 4D SDK
      love_me_renderL
      love_me_render
    • RE: how to program plugins with python?

      Thank you all. Now I have understood 🙂

      posted in Cinema 4D SDK
      love_me_renderL
      love_me_render
    • RE: how to program plugins with python?

      Thank you baca, this is very helpful information.
      So I "only" have to write a pyp-text-file and save it in a plugin folder. Brilliant.
      But how are the "res" folders and the like created?
      I have the last permanent version with R25, therefore I haven't the newest version, I don't want a subscription.

      posted in Cinema 4D SDK
      love_me_renderL
      love_me_render
    • RE: how to program plugins with python?

      Firstly, thank you very much for the detailed tips!
      Now I understand. I need an external developement-environment to compile a Python-Plugin.
      The basic idea was to make my tree generator upwards and downwards more compatible. In C++ I would have to write a new plugin for almost every C4D version, but that's difficult because you only ever have one version.
      As a C++-programmer for decades, I have fundamental difficulties understanding Python plugins.
      I can still manage Python scripts, but I can't get my head round Python plugins.
      How do you compile them? Are the C4D on-board tools enough? Or do you need an external Python development-environment? If so, which one is best? Is there a gigantic SDK for it like for C++?
      Klaus

      posted in Cinema 4D SDK
      love_me_renderL
      love_me_render
    • RE: how to program plugins with python?

      thank you again.
      But why modifying objects with timeline or userdata works in "python-tag" and "python-generator", but not in "script-manager"?

      posted in Cinema 4D SDK
      love_me_renderL
      love_me_render
    • RE: how to program plugins with python?

      hi baca, thank you very much for this example.
      But when I execute it in the script-manager, also comes the error: "cannot find pyp file"
      Or am I thinking completely wrong again?
      Do I have to use instead of the plugin-manager a development-environment such as Visual Studio and generate a .pyp file with it?
      Cheers, Klaus

      posted in Cinema 4D SDK
      love_me_renderL
      love_me_render
    • RE: how to program plugins with python?

      Hi,
      has someone a simple example of a python-plugin-script with "GetVirtualObjects" that creates a cylinder or other, whose radius can be changed by user data?
      Thanks, Klaus

      posted in Cinema 4D SDK
      love_me_renderL
      love_me_render
    • RE: how to program plugins with python?

      Thank you very much for the interesting solutions.
      I will try it out.
      Klaus

      posted in Cinema 4D SDK
      love_me_renderL
      love_me_render