PureBasic OpenGL Version?
PureBasic OpenGL Version?
What version of OpenGL does PureBasic use for 2D?
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
Re: PureBasic OpenGL Version?
The one which comes with your drivers. About the commands, it's 1.2 + some extensions.
Re: PureBasic OpenGL Version?
Yes, the commands version is what I was looking for, thanks!Fred wrote:The one which comes with your drivers. About the commands, it's 1.2 + some extensions.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
Re: PureBasic OpenGL Version?
Just curious, is one of the extensions to allow for png with alpha support? Or was this already supported by OpenGL? I noticed that DirectX 7 didn't support this.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
Re: PureBasic OpenGL Version?
DirectX7 do supports alpha channel of png. It just have to be a Sprite3D.
Re: PureBasic OpenGL Version?
Hmm, I think I had already known that but forgotten. Thanks Thorium! But I believe that leaves me with only images that are square, as opposed to 512x128 for instance. I will do some testing.Thorium wrote:DirectX7 do supports alpha channel of png. It just have to be a Sprite3D.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
Re: PureBasic OpenGL Version?
Cool, odd sizes do work with Sprite3D, such as 512x128. Just as long as an older graphic card can support images up to 512 pixels.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
Re: PureBasic OpenGL Version?
Just don't be too sure it will work everywhere, and if you start rotating things get worse rather quickly...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
-
- Addict
- Posts: 2228
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: PureBasic OpenGL Version?
Well once upon a time we've found out that PureBasic used NV_texture_rectangle.blueznl wrote:Just don't be too sure it will work everywhere, and if you start rotating things get worse rather quickly...
bye,
Daniel
Daniel
Re: PureBasic OpenGL Version?
You are correct. An older card such as a Voodoo 3 will only support square textures at a max of 256x256 and 16bit screen. At least for the Sprite3D on my older pc. But some older cards are fine as long as the width and height is divisible by 2, 4, 8, ect. Such as 512x128, 64x256, ect.blueznl wrote:Just don't be too sure it will work everywhere, and if you start rotating things get worse rather quickly...
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
Re: PureBasic OpenGL Version?
After getting further development within my game, I'm noticing that OpenGL is much slower then DirectX 9. I'm guessing it's because of the out-dated version of OpenGL. Which is fine with old school style games, just like DirectX 7. But now I'm wondering how well will the game play on Linux and Mac, since they use OpenGL? I will be able to test it on Ubuntu soon but has anyone done a comparison test between Windows and Mac with OpenGL?
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
Re: PureBasic OpenGL Version?
I believe I found the issue. If I use StartDrawing(ScreenOutput()) in OpenGL, the game runs super slow. But it doesn't effect DirectX. Should I post this in the bugs section?
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
-
- Addict
- Posts: 2228
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: PureBasic OpenGL Version?
Pixelaccess is slow. PureBasic uses DirectDraw for such things in DirectX subsystem which speeds it up a bit, but its old and shouldn't ever be used anymore. You can't change this until you've learned how to use shaders.
bye,
Daniel
Daniel
Re: PureBasic OpenGL Version?
Thanks DarkDragon. But I think I'll create some numerical sprites to display the text I'm wanting for now since I don't know much about shaders yet.DarkDragon wrote:Pixelaccess is slow. PureBasic uses DirectDraw for such things in DirectX subsystem which speeds it up a bit, but its old and shouldn't ever be used anymore. You can't change this until you've learned how to use shaders.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT
Even the vine knows it surroundings but the man with eyes does not.
- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
Re: PureBasic OpenGL Version?
Sorry to dig up this post, but I need to know if Purebasic still use OpenGL 1.2 because I tried with my old laptop (OpenGL 1.4) and the sprite system no longer works.
He could be useful to check the OpenGL version and to have a function for this or a warning from the compiler
He could be useful to check the OpenGL version and to have a function for this or a warning from the compiler
“Fear is a reaction. Courage is a decision.” - WC