miniB3D extended Version

BlitzMax Forums/MiniB3D Module/miniB3D extended Version

nrasool(Posted 2007) [#1]
Hi there, There seems to be no information on how to install miniB3D extended Version. I can install and compile Simon original minib3d, I tried to create a folder called klepto2.mod in the mod folder, but when compiling in MaxIDE, it comes up with:

Build Error: failed to compile C:/Program Files/BlitzMax/mod/klepto2.mod/minib3d.mod/minib3d.bmx


Please could someone help, it would be much appreciated :)


klepto2(Posted 2007) [#2]
Just leave out the '2' in 'klepto2.mod' and it should work.

but if you have unpacked the mod correctly it should have the correct folder structure.


nrasool(Posted 2007) [#3]
Tx klepto2, But one problem, does this need the paided for MaxGUI as well, since building the module, it is now asking:


Can't find interface for module 'brl.maxgui'



BTW the zipfile in the wiki does not extract with 'klepto.mod' folder, instead it only extracts with the folder inside ''klepto2.mod' hence the confusion :)


klepto2(Posted 2007) [#4]
sry, you have to delete some of the canvas related things out of TGlobal.bmx and miniB3D.bmx .

in minib3d.bmx delete : Import brl.maxgui
in TGlobal.bmx delete :
Function CanvasGraphics3D()
Function UpdateCanvas3D()

After deleting and saving you normally should be able to compile. In the next release I will have to Versions, one with and one without maxgui.


nrasool(Posted 2007) [#5]
Thanks klepto2, BTW also you need to remove in:

ExtFunctions.bmx
Function CanvasGraphics3D(Canvas:TGadget)
	TGlobal.CanvasGraphics3D(Canvas)
End Function


Function UpdateCanvas3D(Canvas:TGadget)
	TGlobal.UpdateCanvas3D(Canvas)
End Function


Thanks, everything is working, and samples looks great.