Previous Thread  Next Thread

chat icon C++ scripts

lukasbalaz

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.)
Reply with quote


stiv

Posted: Tue Nov 06, 2012 4:41 pm
Joined: 05 Aug 2003
Posts: 3493
Blender uses Python for its scripting language.
Reply with quote


lukasbalaz

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?
Reply with quote


stiv

Posted: Thu Nov 08, 2012 8:12 pm
Joined: 05 Aug 2003
Posts: 3493
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.
Reply with quote


CoDEmanX

Posted: Fri Nov 09, 2012 2:44 pm
Joined: 05 Apr 2009
Posts: 699
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...
Reply with quote


ldo

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.
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group