I know C++ and BlitzMax can be used together in a limited way. But could you write a C++ program and just render using Max? If so how?
C++/Max integration
BlitzMax Forums/BlitzMax Programming/C++/Max integration What do you mean "Render using MAX"? Max renders using OpenGL/DirectX.
Don't see why not Steve, it's easy enough to get pointers to all the surfaces used for rendering, makes me wonder why you would want to do this.
wonder why you would want to do this.
tbh I have some efficient C++ code and would like to have Max take care of DirectX for now.
You can do that, just create a bunch of Functions in your C++ code and then Import the C++ code into your BMX program and extern all the needed Functions.
You will also need to add this into your C++ code:
You will also need to add this into your C++ code:
extern "C" { // You Functions Go Here }