Starting another 3D-App from inside Irrlicht?
Starting another 3D-App from inside Irrlicht?
Anybody has some hints how to do it and which problems could arise? Do you have to stick to one interface, like using only OpenGL OR Driect3D? For the beginning it would be sufficient to be able to start some Blender exes from Irrlicht.
Programs are composed of data types and the methods or functions for manipulating them. To actually combine two programs you will need to at least be familiar with the features of those two programs.
Since Irrlicht uses object oriented programming throughout it is fairly straightforward to get at those classes. Blender (as I understand it) relies heavily on a scripting language to perform many of its tasks (PERL as I recall).
Since Irrlicht 3D Engine is a library, you could create an application with a PERL interface (probably just a simple command line interface), then create or modify the Blender PERL scripts to make the two talk to each other.
Since Irrlicht uses object oriented programming throughout it is fairly straightforward to get at those classes. Blender (as I understand it) relies heavily on a scripting language to perform many of its tasks (PERL as I recall).
Since Irrlicht 3D Engine is a library, you could create an application with a PERL interface (probably just a simple command line interface), then create or modify the Blender PERL scripts to make the two talk to each other.
If I understand you right, and you are using windows, it may be CreateProcess you are looking for
http://msdn2.microsoft.com/en-us/library/ms682425.aspx
also there is a system("") command in stdlib.h
http://msdn2.microsoft.com/en-us/library/ms682425.aspx
also there is a system("") command in stdlib.h