Tree-Generator
-
Dear Community,
Klaus has written a tree generator plugin for Cinema 4D. The plugin is free of charge and available on his website.
The plugin has been written in C++ and was compiled for R25 Windows. There is currently only a preliminary documentation in German (the section below), a more extensive documentation is in the working. Comments and critiques are welcomed by the author.
Cheers,
Ferdinandedited by @ferdinand, see original message below.
Guten Tag,
ich habe mir C4D R25 gekauft. Ich befürchte, das war die letzte Gelegenheit eine Permanent-Lizenz zu erwerben. Ich habe einen Baum-Generator programmiert, mit dem realitätsnahe Bäume und andere Pflanzen mit Blättern o.Ä. erzeugt werden können (siehe Beispiel-Rendering).Ob der Generator für andere C4D-Versionen funktioniert, kann ich leider nicht testen.
Nach dem Herunterladen und Entpacken der anhängenden Zip-Datei muss das Verzeichnis irgendwo hin gespeichert werden. Dann in Bearbeiten->Programm-Voreinstellungen->Plugins den Pfad zu dem Plugin eintragen. Bei mir ist das z.B: D:\Prog_C\Visual_C_2019\C4D25_Plugins\C4D25_sdk\plugins\C4D25_Plugin_Tree
Beim nächsten Programmstart müsste das Ding dann im Menüeintrag "Erweiterungen" erscheinen. Es ist eine uneingeschränkte Vollversion und kostenlos. An dem Handbuch arbeite ich noch. Derweil kann man erstmal die mitgelieferte C4D-Beispieldatei ansehen und damit rumspielen.
Beim Aufruf des Plugins ist ein kahler Baum zu sehen. Textur kann nach Belieben hinzugefügt werden. Blätter, Früchte o.Ä. müssen als Unterobjekt definiert werden. Es können ein oder zwei Unterobjekte eingetragen werden. Diese werden mit dem Parameter "Leafs->Weight_Obj1" zueinander ins Verhältnis gesetzt. Z.B. 100% bedeutet, dass nur das erste Objekt gezeigt wird.
Die Blätter sind Renderinstanzen. Leider habe ich es noch nicht hinbekommen, dass das Ursprungsobjekt unsichtbar gemacht werden kann, ohne dass alle Instanzen verschwinden. Also muss man es erstmal unter dem Boden oder im Blätterwerk verstecken.
Für Kritiken, Fehlermeldungen und Vorschläge wäre ich dankbar.
Viel Spaß,
Klaus aus Berlinhttp://www.klausfilm.bplaced.net/TreeGenerator/Website_Treegenerator.html
-
Hello @love_me_render,
welcome to the forum and thank you for reaching out to us. Also thank you for sharing your plugin free of charge!
Your thread was in the wrong forum, I moved it to
General Talk
since the thread is not related to the Cinema 4D APIs. Please also note that this is an English-speaking forum as stated in the Forum Guidelines: Rules of Conduct:Both forum and email support requests must be in English. Off-topic threads in the forum are also bound by this rule. Maxon Computer reserves the right to not answer support requests in other languages. Users who repeatedly violate this rule might be banned.
I have added an English header for your posting in this case for you. Please understand that we cannot do this for more postings of yours and that you must post in English from now on.
Cheers,
Ferdinand -
Great job!
Needs more Cinema 4D versions support and MacOS x86/Arm -
Thank you Ferdinand!
I will try to develope compatible plugins for other versions.
But how can I do this? Is ist possible to develope with C4D-Test-Versions? But then I have only 14 days.Cheers,
Klaus -
Hello @love_me_render,
Yes, that is an issue we are aware of; in the past this has been solved with the unlimited demo version. I will bringt up the issue internally.
- You can download different versions of Cinema 4D at any time, expired trial or not. The installer will include the SDK to build against for that version.
- But for anything beyond "it compiles", you will need a Cinema 4D license to runtime test your plugin.
- For that you currently can only use the 14-day-trial version.
- In our previous version naming scheme, the binary compatibility was bundled up in (R, S) pairs, so R25 and S26 share the ABI version
25004
and your plugin should run within the range[R25.X - S26.107]
where X is the minor version you compiled for. E.g., a plugin compiled forR25.010
will run in25.010, ..., 25.117, S26.003, ..., S26.107
, i.e., the full range of all R25 and S26 versions. But when you have compiled for example for25.100
, all R25 versions before that are incompatible to your plugin although they have the same ABI version25004
. Read more about that subject in the Plugin Development manual.
As a developer you can also apply for the
Maxon Registered Developer
[URL-REMOVED] program which will give you among other things a beta license (free of charge). For that you will need proof of work, in your case your plugin and a reason why you want to join. We will then decide if we will grant access.We are aware of the issue and want to improve the situation for developers, but for now I can only recommend using the trial version or apply for MRD.
Cheers,
ferdinand
[URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.
-
hi Ferdinand,
thank you very much for this important informations.
Cheers, Klaus -
sorry, I had forgotten the textures in the above link at "download sample scene". I have corrected it.
Klaus -
@love_me_render Thank you very much