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
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
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
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
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
Thank you all. Now I have understood
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.
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
thank you again.
But why modifying objects with timeline or userdata works in "python-tag" and "python-generator", but not in "script-manager"?
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
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
Thank you very much for the interesting solutions.
I will try it out.
Klaus