All Ogre Examples Crash

Just starting out? Need help? Post your questions and find answers here.
sybixsus
User
User
Posts: 14
Joined: Mon Jul 21, 2003 12:28 pm
Location: UK

All Ogre Examples Crash

Post 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?
Pupil
Enthusiast
Enthusiast
Posts: 715
Joined: Fri Apr 25, 2003 3:56 pm

Post by Pupil »

The PB implementation of OGRE is not using OpenGL but DirectX 7 or greater..
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

Post by Justin »

Same here, none of them work. Maybe is because i use a laptop, but i have the lastest DX.
Pupil
Enthusiast
Enthusiast
Posts: 715
Joined: Fri Apr 25, 2003 3:56 pm

Post 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.
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

Post by Justin »

i tried the car demo, and seems to work but very, very slow, without textures, almost freezed.
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

@Justin:

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

Mike
Tranquil
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

Post 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.
Archaikz
New User
New User
Posts: 5
Joined: Mon Jul 21, 2003 7:46 pm
Location: Durham,NC,USA

Post 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.
sybixsus
User
User
Posts: 14
Joined: Mon Jul 21, 2003 12:28 pm
Location: UK

Post 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.
sybixsus
User
User
Posts: 14
Joined: Mon Jul 21, 2003 12:28 pm
Location: UK

Post 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.
LJ
Enthusiast
Enthusiast
Posts: 177
Joined: Wed Apr 30, 2003 4:00 pm

Yes

Post 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.
sybixsus
User
User
Posts: 14
Joined: Mon Jul 21, 2003 12:28 pm
Location: UK

Post 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.
Post Reply