Looks like OpenGL is no longer supported PureBASIC

Started by Pfaber11, November 15, 2024, 21:13:20

Previous topic - Next topic

Pfaber11

I do not think OpenGL is supported on PureBASIC anymore. It's got to be DX9 for 3D OR DX11 for 2D ( I think ). I prefer this as at least I know where I'm at and know I have to run DX9 to use 3D. 
Windows 11 home edition
PureBasic 6.20 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10

SToS

According to the change logs over at https://www.purebasic.com/news.php it's the default.

Since 6.00LTS:
"Changed: the default subsystem for screen/sprite is now OpenGL on Windows for more consistency. DirectX9 is still available as a subsystem."

Pfaber11

oh right sorry for the misunderstanding the last time I used PureBasic it would not render my terrain using OpenGL. Maybe it's fixed now. I've spent about a year as a PureBasic learner and did release a game with it and it was 3D on my first turn. Nothing spectacular but it's out there. I did release the game before I purchased PureBasic it must of been an evaluation copy or something. Anyway I am waiting for the OpenGL to get fixed and maybe I'll take another look. My shadows were not displaying right either but maybe it was just me, I don't think so but who knows. I had a problem with smoothing the height map also in that it only did half the job. In the game I made it didn't matter as I did not use shadows and didn't smooth the terrain so I was oblivious to this. Maybe I was doing this wrong. Anyway me and PureBasic parted company but I am glad I spent a year learning it as if it is necessary
 in the future I can use it. For some things it maybe harder than AGK studio but for some things it is the other way round. I didn't think I would be able to use 2 different tools but it seems I can. I'm not too bad with AGK studio and I know a bit of PureBasic.  Not bad really. 
Windows 11 home edition
PureBasic 6.20 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10

Baggey

Never mind, you could always move over to BlitzMaxNG ;)
Running a PC that just Aint fast enough!? i7 4Ghz Quad core 32GB ram  2x1TB SSD and NVIDIA Quadro K1200 on 2 x HP Z24's . DID Technology stop! Or have we been assimulated!

Windows10, Parrot OS, Raspberry Pi Black Edition! , ZX Spectrum 48k, C64, Enterprise 128K, The SID chip. Im Misunderstood!

Pfaber11

Well it works with 2d and 3d although I've not tried the terrain yet. 
Windows 11 home edition
PureBasic 6.20 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10

Pfaber11

So I've been studying programming now for 7 years made a few mistakes along the way with breaks 4 years maybe. And I am relatively comfortable using AGK S and PureBasic and I plan on using both of  them. 4 years to learn 2 setups I think that's ok really. I now have no excuse to look at Lua in all it's forms. To be honest I did not get on well with Lua, I really wanted it to work for me but it was just not happening. Not really a problem as I decided to stick with BASIC from now on and there's plenty out there to choose from. Anyway I'm going into 2025 ready and raring to go. I know what tools I'll be using and have an idea what I'll be working on. I believe BASIC is now 60 years old and a million years ahead of where it started. I still think AGK Studio tier one is worth learning although it might not be under official development it is open source so it might have a long life ahead of it. 
Windows 11 home edition
PureBasic 6.20 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10

Pfaber11

Yep OpenGL is now the default for PB which I like (sorry I got that bit wrong). 
Windows 11 home edition
PureBasic 6.20 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10

Pfaber11

Blitzmax is probably a very good basic however if you use 3D then maybe it is not the best choice.
I have used Blitz3D and made a 2d game with it and this was my first game I finished for the modern PC after my Atari STe and STOS BASIC. Anyhow my favorite language of all time is AGK Studio and at the moment is still a good option. I find PureBasic harder to use than AGK Basic although the documentation for PureBasic is very good plus loads of examples AGK Studio also has very good documentation as well. Both from within the IDE, no need to go off what you're looking at. Anyway if I were to go in the Blitz direction it would be Blitz3D for me. However I am much better with AGK Studio 
and PureBasic. One to use, AGK Studio and one to learn, PureBasic. I really think AGK Studio is best for me but I think why put all your eggs in one basket. If all you want to do is make Android apps APK files to release on itch.io then AGK Studio is a very good option in my opinion. Great for desktop apps and games as well. PureBasic supports much more of the basic language I think however AGK gets the job done. PureBasic is more powerful but harder to use for me anyway. For some it is the other way around. Baggey I have enough on my plate with these two. 
Windows 11 home edition
PureBasic 6.20 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10