my program is 1 part of 2 part program one takes images and script file and outputs a material file and the other is there to view the file on some billboards just to see how it comes out well the compiler seams to output perfectly i can sperate the text and images again and i've debugged the reading code and that seams to read the right values.
all seams working until it tryies to flip the buffers,
i get a vc++ runtime error (which i know is comming from the engine3d.dll)
and thats were it halts
comment out the flipbuffers it works just fine with the execption of no output on the window.
after thinking it was somthing with the material settings i found if i change
"AddMaterialLayer(0,TextureID(Texcount),LayerBlend)" to "AddMaterialLayer(0,TextureID(Texcount))" removing the optinal paramter on line 106
the error changes from vc++ error to windows crashing box
here's a zip with both programs (with sources) and my test files
note:
msf is the script
cmf is the compiled
any help here would be highly appecated
i hope this isn't a bug with pb or orge

