PureBasic 6.00 - Terrain broken?

Just starting out? Need help? Post your questions and find answers here.
Bitshifter
New User
New User
Posts: 2
Joined: Sat Jul 16, 2022 2:41 pm

PureBasic 6.00 - Terrain broken?

Post by Bitshifter »

Hi all,

i just tried the new Version 6.00 LTS and checked some examples codes. I noticed that the Terrain demos are not working and showing weird graphics.
It's working fine in all other Versions below 6.00. Other 3D examples are also working fine, i just noticed problems with the Terrain demos.
The Terrain is not visible and it's showing weird gray boxes instead. Can anybody confirm?

Output from 6.00:
https://ibb.co/Mgz9GJB

Output from 5.71:
https://ibb.co/kq2dT56

:?:

// Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)
User avatar
Lord
Addict
Addict
Posts: 900
Joined: Tue May 26, 2009 2:11 pm

Re: PureBasic 6.00 - Terrain broken?

Post by Lord »

Try DirectX9 or DirectX11 in Compiler Options->Library Subsystem.
Look in Help.
Image
Bitshifter
New User
New User
Posts: 2
Joined: Sat Jul 16, 2022 2:41 pm

Re: PureBasic 6.00 - Terrain broken?

Post by Bitshifter »

Thanks. Using explicit "DirectX9" as Subsystem solves this issue. But might be still a Bug in OpenGL then?
As is wrote, everything else is working ok, only the Terrain Demos have this issue.
pfaber11
Enthusiast
Enthusiast
Posts: 149
Joined: Sat Apr 13, 2019 12:17 pm

Re: PureBasic 6.00 - Terrain broken?

Post by pfaber11 »

I have the same problem will try directx9 and see what happens .
pfaber11
Enthusiast
Enthusiast
Posts: 149
Joined: Sat Apr 13, 2019 12:17 pm

Re: PureBasic 6.00 - Terrain broken?

Post by pfaber11 »

Well I have tried the DirectX9 and it does all the 2d stuff but not the 3d and no terrain. I'll just have to be patient and wait for a fix as not much I can do without it . Really glad someone posted this as I was getting really jared off thinking my programming was no good as I could not make some terrain . Still could be that I suppose . But I don't see how. Anybody else experiencing a problem?
Krix
User
User
Posts: 70
Joined: Fri Mar 11, 2005 6:24 pm
Location: Toronto

Re: PureBasic 6.00 - Terrain broken?

Post by Krix »

Terrain (and maybe other stuff) is not yet fully working with OpenGL. Because of this Ogre's directx9 renderer is still available. Check Fred's reply.

https://www.purebasic.fr/english/viewtopic.php?t=79303
pfaber11
Enthusiast
Enthusiast
Posts: 149
Joined: Sat Apr 13, 2019 12:17 pm

Re: PureBasic 6.00 - Terrain broken?

Post by pfaber11 »

Right if I run the examples they all work after setting DirectX9 under compiler options. However my own program does not . It is probably just me as new to this . Could some kind person tell me if OpenGL terrain is working in PB 6.00 or is it still being fixed.?
pfaber11
Enthusiast
Enthusiast
Posts: 149
Joined: Sat Apr 13, 2019 12:17 pm

Re: PureBasic 6.00 - Terrain broken?

Post by pfaber11 »

Hi I now have terrain in my warm up program using DirectX9 . Anyway I can now proceed with what I'm doing which is getting PB into my brain enough to really enjoy it and I don't think I'm too far off that . I will try my code every day or so to see when OpenGL is ready .
Post Reply