minib3d demos not working
BlitzMax Forums/MiniB3D Module/minib3d demos not working
| ||
I'm very new to Blitz in many ways, so, I may be missing something here. However, I open up one of the demos (say, bird) and it compiles perfect. Once the screen loads, I see FPS, but the rest of the screen is black. I've tried all the demos, and they all work the same. Any ideas? Thanks. Matt |
| ||
BTW - I'm on a Macbook Pro with leopard. |
| ||
Do you have anything running in the background? try restarting to make sure everything is quit. |
| ||
Yup, I just restarted and the same thing happened. Here's the compiler output: Building .BirdDemo Compiling:bbtype.bmx Compiling:bbvkey.bmx Compiling:cfuncs.cpp Compiling:ccol.cpp Compiling:minib3d.bmx Compiling:.BirdDemo.bmx Linking:.BirdDemo Executing:.BirdDemo Process complete |
| ||
i had to change drivers to get these things to work. xp32 |
| ||
I am having this exact problem (reported in thread "What graphics cards have trouble with minib3d"). I am using a NVidia XFX 7950GT AGP with the latest official XFX drivers. Smilertoo - what drivers did you have to change to? Any other than XFX ones for me dont install the card properly in device manager. |
| ||
im using 169.21 now. |
| ||
Yea, unfortunately, the Apple ATI drivers don't make a difference for me. |
| ||
If I try and use any of the official nvidia drivers (or even the omega drivers) then my card doesnt install properly. Only the XFX drivers work properly :( |
| ||
Happened on a MacMini (OSX 10.4.11, ATI9200, PPC) some time ago: Downloaded i guess the latest version, decompressed it, doubleclicked it, got an error message which told me that i have to reinstall BlitzMax, out of curiosity but without beeing convinced that this would be the solution i did that, so the whole thing from downloading the appropriate files (by the way the package under the 1.26 ppc version is broken), reinstalled, rebuild docs, updated the base installation, updated bmk, rebuild the files, retried and got the same error message as before that i need to reinstall BlitzMax... |
| ||
so, that didn't work for you then? I have an intel mac, however. |
| ||
i had to change drivers to get these things to work. xp32 im using 169.21 now. I just installed the 169.21 drivers and I still get a black screen with just the FPS text in the top left corner. ie. Camerapick.bmx still reports the data in the output window but black screen and FPS text in top left. Any ideas? |
| ||
@Matt Nope it wasn't running... |
| ||
Ok guys Klepto`s minib3d seems to work for me. If I replace the include with klepto`s in the code other demos seem to work too. |
| ||
rikman, I'll have to give that a try right now and let you know. |
| ||
My above post was a bit vague. Basically install Klepto`s Exctended MiniB3D, rebuild mods etc etc. Then even code from MiniB3D Standard seems to work if I just change "Import sidesign.minib3d" to "Import klepto.minib3d"..... weird. |
| ||
sounds like one of the default "enables" isn't really liked by your system ... |
| ||
rikman, I'm pretty confused about what you mean. basically, I downloaded Klepto's extended minib3d and extracted it to a directory. Then, I copied the "demos" and "examples" directories from the normal version into the klepto dir. From here, I'm trying to compile/rebuild minib3d.mod/miniB3D.bmx and I get: "Module does not match commandline module" Any ideas? |
| ||
you have to create a new mod folder: eg yorBMaxPath/mod/klepto.mod in this path you have to copy the minib3d.mod folder of the extended version. After this step you have to rebuild klepto.minib3d Open commandline --> change dir to your BMax/bin dir and enter : bmk makemods -a klepto.minib3d |
| ||
Thanks Klepto, Is any of this documented anywhere? I checked out the "readme" and also www.minib3d.com and didn't find this anywhere. I'm extremely new to blitz, so that would have explained a lot. |
| ||
I get this: Compiling:minib3d.bmx Compile Error: Can't find interface for module 'brl.maxgui' Edit: I found this URL and am trying that right now http://www.blitzmax.com/Community/posts.php?topic=74186#828739 |
| ||
Great, that worked perfectly. I compiled the mod perfectly and I can now run all the demos. You guys are awesome. |
| ||
Good stuff! :) |
| ||
So does this mean I need to use Klepto's module on Mac then for everything to work as expected? Apart from the bird-demo (which crashes immediately), they all seem to work fine on the standard minib3d. What does Klepto's do different internally than the standard minib3d? Simon, I haven't had time to trace the crash yet... but I can if it'll help. |
| ||
Hello, i have a macbook (intel core2duo) i have no problem with the firepaint3d and flag demo. But i get an application crash with the bird demo. (i'm using minib3d as module version v0452) compiling seems normal: Building BirdDemo Compiling:bbtype.bmx Compiling:bbvkey.bmx Compiling:BirdDemo.bmx Linking:BirdDemo.debug Executing:BirdDemo.debug Process complete if the demo starts it crashes with this details: if i don't use debug mode it says: Building BirdDemo Compiling:bbtype.bmx Compiling:bbvkey.bmx Compiling:BirdDemo.bmx Linking:BirdDemo Executing:BirdDemo SIGNAL: 10 Process complete and don't starts the app. I hope that helps :-) |
| ||
Don't worry. It crashes for me too :-) |
| ||
COuld you track it down on which line it crashes? Maybe adding a debugstop right at the beginning and then step through until it crashes? |
| ||
Here we are :-) TMesh.bmx If new_surf.vbo_enabled=True Then glGenBuffers(6,new_surf.vbo_id) If I comment it out, it works. Interestingly, this is what caused crashing issues in an older version. Wasn't there a different function to call instead? |
| ||
That needs to be glGenBuffersARB. Must have missed it before. Darn! |
| ||
Yeah glGenBuffersARB fixed it for me too. Thanks alot! |
| ||
the world of with and without ARB ^^ Thanks for the fix simonh |