3D doesn't seem to work

BlitzMax Forums/MiniB3D Module/3D doesn't seem to work

s_m_w(Posted 2008) [#1]
Hello,
Following code is copied from minib3d.com:
http://rafb.net/p/rJjqHr52.html
It compiles just fine, no errors or anything, but the result:


If I add
BeginMax2D()
DrawText "Test", 0, 0
EndMax2D()

after Renderworld, I can see the "Test", therefore miniB3D should be working...?

I'm not sure if it matters, but my system specs are:
AMD Athlon X2 x64 6000+, 4GB Ram, Geforce 8800, Windows XP 64


plash(Posted 2008) [#2]
Works here..

Drivers up to date?


s_m_w(Posted 2008) [#3]
Yes, newest drivers


Volker(Posted 2008) [#4]
Works here too.
Try adding a light?


deps(Posted 2008) [#5]
Works just great on a macbook. Maybe it's because you compile it on a 64 bit os? can flak (or what the assembler is called again) output 64 bit code?


Hezkore(Posted 2008) [#6]
I had the same problem, I reinstalled MinGW and compiled MiniB3D again and it worked.


s_m_w(Posted 2008) [#7]
Redownloaded, recompiled everything, no change. 64bit shouldn't be a problem, every other bmax application works just fine, as well as another 3D Engine I tested


ziggy(Posted 2008) [#8]
Did you create a camera, and set ambientlight to 255,255,255 ?


s_m_w(Posted 2008) [#9]
Well, multiple people said the code I posted works, so it shouldn't be the code that's wrong..?


deps(Posted 2008) [#10]
Doesn't matter if other blitzmax applications works. Some parts of minib3d is written in c/c++. I haven't read that part of the code so I don't know what it does, but isn't it a small possibillity that simonh did something i that code that makes it unusable on a 64 bit os? Would probably be easy to fix.
I don't think we should rule out that possibillity until simon have spoken.

Other than that, I have no idea what might cause it, since it works on both PC and Mac and with all kinds of different hardware. It smells like a driver problem. Did you try to switch to an older driver?


Thareh(Posted 2008) [#11]
Are you using Windows Vista?


Mikele(Posted 2008) [#12]
Works under Vista64.


s_m_w(Posted 2008) [#13]
XP 64

edit: 0.42 works, 0.45 doesn't, that's strange..