Posted: Tue Nov 06, 2012 2:11 pm
Joined: 05 Nov 2012
Posts: 4
Is it possible to use C++ scripts in blender or do exist some updates for it?
(Sorry for my English. I'm Slovak.)
Posted: Tue Nov 06, 2012 4:41 pm
Joined: 05 Aug 2003
Posts: 3491
Blender uses Python for its scripting language.
Posted: Thu Nov 08, 2012 8:06 pm
Joined: 05 Nov 2012
Posts: 4
I know it, but I want to use C++. Is it really impossible?
Posted: Thu Nov 08, 2012 8:12 pm
Joined: 05 Aug 2003
Posts: 3491
| Quote: |
| Is it really impossible? |
It's software. It's only impossible if it violates the Laws of Thermodynamics.
C++ is a compiled language, not an interpreted scripting language. You can already write C/C++ code to extend Blender. It is how new features like tracking get added.
Replacing Blender's Python interpreter with another language can be done. It is a lot of work.
Posted: Fri Nov 09, 2012 2:44 pm
Joined: 05 Apr 2009
Posts: 694
You can add own code to Blender, but there is currently no plugin system, so you have to apply your changes and compile the whole application.
_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Posted: Sun Nov 25, 2012 3:32 am
Joined: 07 Nov 2010
Posts: 544
Write your C++ code as a Python module, and invoke it from a script within Blender.