Page 1 of 1

All Ogre Examples Crash

Posted: Tue Jul 22, 2003 1:01 am
by sybixsus
Well thats about the size of it, really. I was just loading and testing the samples, and all of the Ogre examples crash.

EG:

AppName: purebasic21980646.exe AppVer: 0.0.0.0 ModName: kernel32.dll
ModVer: 5.1.2600.1106 Offset: 00016b97

I don't have any problems with OpenGL in general. The OpenGL Cube demo works perfectly ( that's not using Ogre, I know ) and I'm using 3dsMax with the OpenGL renderer, not to mention I have some games which use OpenGL.

Suggestions?

Posted: Tue Jul 22, 2003 6:35 am
by Pupil
The PB implementation of OGRE is not using OpenGL but DirectX 7 or greater..

Posted: Tue Jul 22, 2003 10:20 am
by Justin
Same here, none of them work. Maybe is because i use a laptop, but i have the lastest DX.

Posted: Tue Jul 22, 2003 12:06 pm
by Pupil
Yes, it has been reported before, have you tried the demos on the OGRE homesite, if they work chances are that PureBasic might be the one at fault here.

Posted: Tue Jul 22, 2003 12:29 pm
by Justin
i tried the car demo, and seems to work but very, very slow, without textures, almost freezed.

Posted: Tue Jul 22, 2003 3:50 pm
by Tranquil
@Justin:

Do you realy have an 3d accalorated graphic card? Nvidia or ATI mostly...

Mike

Posted: Tue Jul 22, 2003 4:25 pm
by Justin
It's an old Thinkpad PII, i don't think it has any 3d card, i never needed it. open gl works fine though.

Posted: Tue Jul 22, 2003 4:43 pm
by Archaikz
Just try the ogre demos under direct x 7 and if they dont work then i guess its the card(mine card doesnt work with dirext x 7 either:(). You'll probably notice the demos work with open gl and direct x 8 like me but yea from what I understand it PB uses direct x 7.

Posted: Tue Jul 22, 2003 5:36 pm
by sybixsus
Apologies, I thought Ogre was OpenGL + DirectX 7, but I was under the impression that PB used it the OpenGL renderer.

DirectX 7 isn't a problem. For one thing, DirectX is backwards compatible so any more recent version is 100% compatible. For another, I've written three games in Blitz3d, which also uses DirectX7, and I was in fact testing one this morning. I have absolutely no DirectX 7 problems.

My system is more than capable of dealing with anything DirectX 7 can throw at it. I'm currently using a Radeon 9700 Pro with latest Cat drivers.

I'll try something from the Ogre site, and see if the problem is with Ogre or with PB.

Posted: Tue Jul 22, 2003 6:36 pm
by sybixsus
Ok, I downloaded all the Ogre demos and all but one of them works perfectly in DirectX7, DirectX8 and OpenGL modes, so clearly no problem there. Must be something PB is doing.

Yes

Posted: Sat Jul 26, 2003 8:28 am
by LJ
Yes, we have reported this bug to Fred. You will find it in the Bugs section, or better, search for the InitEngine3D() command. The 3D engine does not initialize properly, you should get errors some of the time (if you keep trying) that says can't use 3D commands until 3D engine is initialized properly.

Posted: Sat Jul 26, 2003 12:50 pm
by sybixsus
Ok, thanks. I thought it was something I'd done wrong. I thought maybe I'd missed something important. I wasn't planning on writing any games in PB, but I did think it would be handy to write my new level editor using PB and Ogre.