PureBasic 5.00 beta 7 is out !

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

PureBasic 5.00 beta 7 is out !

Post by Fred »

Hi there,

A new version is out and it does bring bug fixes, as usual, and one new feature: CG support for the 3D engine, so you can use CG written shaders in you plan to target different OS. As a side effect, it enables the terrain shader on OpenGL. To use it, you need to install the CG dll from the nvidia site: https://developer.nvidia.com/cg-toolkit-download . This DLL isn't requiered to launch the engine3d, and if you plan to use it, you need to put #PB_Engine3D_EnableCG flag in InitEngine3D(). See the terrain examples for more infos. Also added a flag to MoveCamera() to allow local move (use #PB_World or #PB_Local)

The final release is imminent, so please test your software with it, or you will be left in the dust if it doesn't run well with the final ;).

Have fun !

The Fantaisie Software Team.
LCD
Enthusiast
Enthusiast
Posts: 206
Joined: Sun Jun 01, 2003 10:55 pm
Location: Austria, Vienna
Contact:

Re: PureBasic 5.00 beta 7 is out !

Post by LCD »

Thanks! Downloading now. I never coded anything 3D, but this sounds now very interesting, so I will start writing a game. I just hope, the shaders will work on ATI cards too because I never had a nVidia here.
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: PureBasic 5.00 beta 7 is out !

Post by netmaestro »

Beta 7 windows x86 is 52 megabytes? Previous v5 betas were 27mb.
BERESHEIT
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: PureBasic 5.00 beta 7 is out !

Post by Comtois »

netmaestro wrote:Beta 7 windows x86 is 52 megabytes? Previous v5 betas were 27mb.
in Examples/3D/Data/Textures : There are 9 files terrain01_xxxxxxx.Dat, Fred forgot to delete them :)
Please correct my english
http://purebasic.developpez.com/
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: PureBasic 5.00 beta 7 is out !

Post by LuCiFeR[SD] »

ooooh, those 3d demos are looking pretty nice! I've not looked at the 3D side of things for a long time! thanks very much for your hard work PB team :)
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.00 beta 7 is out !

Post by Fred »

Comtois wrote:
netmaestro wrote:Beta 7 windows x86 is 52 megabytes? Previous v5 betas were 27mb.
in Examples/3D/Data/Textures : There are 9 files terrain01_xxxxxxx.Dat, Fred forgot to delete them :)
That's why it tooks ages to upload.. I wondered if my connections was somewhat broken :D. Will fix that for final ;)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2137
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: PureBasic 5.00 beta 7 is out !

Post by Andre »

This new beta is compiling fine with our 30,000+ line project - tested on MacOS 10.5.8 (32 bit). So thanks! :D

I would expect that this new version is working fine with my project source on MacOS, if this bug with GetGadgetItemAttribute() always giving a return value of 0 for ListIcon column width will be fixed.

Btw... from the documentation side at least the missing help entries / false links (see sticky threads here) should be corrected.
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
skywalk
Addict
Addict
Posts: 4210
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 5.00 beta 7 is out !

Post by skywalk »

Does anybody else notice a big speed increase in compile times with 5b7?
No numbers, but I'm guessing 5-10x faster on Windows 7 x86 :D
It is shocking to me...
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Re: PureBasic 5.00 beta 7 is out !

Post by Guimauve »

Hello everyone,

1st : Yes compiling a program is little bit much faster than the previous beta
2nd : I'm working on a Ship Editor for my game project and this editor use 4 GLAreaGadget(). In the previous beta this program are running very fast but with the Beta 7, OH MY GOD !

The entire program are slow, very slow. I'm not kidding or exaggerating, just displaying a Menu or a Popup Menu take 30 to 45 seconds to appear partially (just the Shadow of the menu) and appear completely only after 60 to 90 seconds. And when they appear, moving the mouse cursor hover the menu items, they don't switch to their hovered state. Clicking on them trigger events but it's not instantly responding.

Apparently it's not related to Menu or Popup menu because example for the help file are working normally. I will do my best to investigate this problem tomorrow but this will not be an easy task since I have to work blind since compiling with the debugger makes the program to crash with an Invalid Memory Access error even before it was launched. And this result came with the Beta 7, all previous beta just work fine.

@Fred : The likelihood of this phenomenon comes from the GLAreaGadget() itself is very high. I will investigate this bad behaviour newly introduced with the Beta 7 tomorrow. I will keep you in touch !

Best regards
Guimauve
Dear Optimist, Pessimist,
and Realist,

While you guys were
busy arguing about the
glass of water, I DRANK IT !

Sincerely,
the Opportunist
User avatar
deeproot
Enthusiast
Enthusiast
Posts: 284
Joined: Thu Dec 17, 2009 12:00 pm
Location: Llangadog, Wales, UK
Contact:

Re: PureBasic 5.00 beta 7 is out !

Post by deeproot »

Thanks Fred :D

All good here - not using 3D but biggish project with a lot of database, about 28,000 lines, Winx86. Complies and runs fast, even on a slow, old PC.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.00 beta 7 is out !

Post by Fred »

skywalk wrote:Does anybody else notice a big speed increase in compile times with 5b7?
No numbers, but I'm guessing 5-10x faster on Windows 7 x86 :D
It is shocking to me...
We didn't do anything special, may be your AntiVirus get updated ?
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Re: PureBasic 5.00 beta 7 is out !

Post by Guimauve »

Fred wrote:We didn't do anything special, may be your AntiVirus get updated ?
And did you do something in the Events management with GTK ? Apparently, now I need to skip some refresh because the GLAreaGadget() always fire event at each loop even if I do nothing or I generate event on other element (Gadgets and Menus) of the GUI. This make the program to continuously call "gtk_gl_area_swap_buffers()" and generate the important lag amplified by the 4 GLAreaGadget() I use.

Best regards
Guimauve
Dear Optimist, Pessimist,
and Realist,

While you guys were
busy arguing about the
glass of water, I DRANK IT !

Sincerely,
the Opportunist
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: PureBasic 5.00 beta 7 is out !

Post by djes »

It's a very big news, Fred ! I was hoping this for a very long time :)
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.00 beta 7 is out !

Post by Fred »

Guimauve wrote:
Fred wrote:We didn't do anything special, may be your AntiVirus get updated ?
And did you do something in the Events management with GTK ? Apparently, now I need to skip some refresh because the GLAreaGadget() always fire event at each loop even if I do nothing or I generate event on other element (Gadgets and Menus) of the GUI. This make the program to continuously call "gtk_gl_area_swap_buffers()" and generate the important lag amplified by the 4 GLAreaGadget() I use.

Best regards
Guimauve
No, i don't think we have changed something on linux at all.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.00 beta 7 is out !

Post by Fred »

djes wrote:It's a very big news, Fred ! I was hoping this for a very long time :)
True, i did the basic implementation some years ago on your demand :)
Post Reply