As far as I see there are two ways: ONe is to use a Module that contains all the known Blitz3D Commands and then executes their OpenGL Counterparts.
The other way would be to use a Code Converter that will translate your Blitz3D Syntax to use OpenGL Calls right away. This would be the fastest although some Blitz3D Commands need to be emulated by a group of GL Commands anyway. The job that need to be done is to write a function for each Blitz3D command that is using OpenGL, so you're wrapping the "3D" in Blitz3D.
As Far as I understood, BMax already contains a full OpenGL interface, so you could start using 3D on a very low level. (Someone correct me if I'm wrong!)
|