Page 27 of 42

Re: PureBasic 6.00 Beta 4 released !

Posted: Sun Feb 27, 2022 4:09 pm
by Armoured
mk-soft wrote: Sun Feb 27, 2022 3:16 pm The GCC optimisation tends to optimise a little too much.
What does not work, for example, is the declaration 'Procedure.b xxx()' as a Boolean function.

Otherwise create a C-backend bug report with a runnable short code.
Ok thanks for your suggestions!

Re: PureBasic 6.00 Beta 4 released !

Posted: Mon Feb 28, 2022 3:31 am
by juergenkulow
I hope with the solution of OnError lib not working / triggering also the error in the optimized compilation under C backend can be found in your program.

Re: PureBasic 6.00 Beta 4 released !

Posted: Mon Feb 28, 2022 4:08 pm
by pf shadoko
concerning 3D, there are many other instructions (notably the creation of shaders in the code (+ predefined shaders) and the manual creation of skeleton and animations)

note the b4 is bugged concerning SetMaterialColor parameter Type :
#PB_Material_AmbientColor ->1
#PB_Material_DiffuseColor ->2
#PB_Material_SpecularColor ->4
#PB_Material_SelfIlluminationColor ->8 (use DisableDebugger)

Re: PureBasic 6.00 Beta 4 released !

Posted: Mon Feb 28, 2022 9:31 pm
by Psychophanta
pf shadoko wrote: Mon Feb 28, 2022 4:08 pm concerning 3D, there are many other instructions (notably the creation of shaders in the code (+ predefined shaders) and the manual creation of skeleton and animations)

note the b4 is bugged concerning SetMaterialColor parameter Type :
#PB_Material_AmbientColor ->1
#PB_Material_DiffuseColor ->2
#PB_Material_SpecularColor ->4
#PB_Material_SelfIlluminationColor ->8 (use DisableDebugger)
:mrgreen: :idea:

Re: PureBasic 6.00 Beta 4 released !

Posted: Tue Mar 01, 2022 10:36 am
by Armoured
juergenkulow wrote: Mon Feb 28, 2022 3:31 am I hope with the solution of OnError lib not working / triggering also the error in the optimized compilation under C backend can be found in your program.
Thanks! I will try to catch the "bug" with this.

Re: PureBasic 6.00 Beta 4 released !

Posted: Wed Mar 02, 2022 1:55 am
by box_80
pf shadoko wrote: Mon Feb 28, 2022 4:08 pm concerning 3D, there are many other instructions (notably the creation of shaders in the code (+ predefined shaders) and the manual creation of skeleton and animations)

note the b4 is bugged concerning SetMaterialColor parameter Type :
#PB_Material_AmbientColor ->1
#PB_Material_DiffuseColor ->2
#PB_Material_SpecularColor ->4
#PB_Material_SelfIlluminationColor ->8 (use DisableDebugger)
I look forward to the new 3d functions. Not sure what all that is, but curious to try out. :)

Re: PureBasic 6.00 Beta 5 released !

Posted: Fri Mar 04, 2022 4:37 pm
by Fred
Beta 5 is ready to test ! It features a brand new Raspberry 64-bit version :). Here is the change log, with quite some 3D additions:

Code: Select all

- Added Raspberry 64-bit support !
- Added CreateShader(), CreateShaderMaterial(), MaterialShaderAutoParameter(), MaterialShaderParameter(), MaterialShaderTexture()
- Added optional parameter to MeshFace() to create a quad
- Added optional force vector to WorldGravity()
- Added optional position mode to ApplyEntityForce()
- Added GetEntityMesh(), CreateCubicTexture(), CreateAnimatedMaterial()
- Added new mode to CreateDataMesh(): #PB_Mesh_DiagonalShortestLength, #PB_Mesh_DiagonalClosestNormal, #PB_Mesh_DiagonalAlternate, #PB_Mesh_DiagonalRegular1, #PB_Mesh_DiagonalRegular2
- Added new structure: Vector3, Vector4
- Added predefined shaders: #PB_Material_ColorShader, #PB_Material_PerpixelShader, #PB_Material_BumpShader, #PB_Material_SkyShader, #PB_Material_WaterShader, #PB_Material_WaterShaderRTT, #PB_Material_OceanShader,
- Added new modes for SetMaterialAttribute(): #PB_Material_PointSprite, #PB_Material_DepthBias

- Changed: renamed structures PB_MeshFace -> MeshFace and PB_MeshVertex -> MeshVertex
- Changed: SetMaterialColor() can now use several colortype at once using '|'

Re: PureBasic 6.00 Beta 5 released !

Posted: Fri Mar 04, 2022 5:04 pm
by thyphoon
Thanks Fred and the BP Team 🥰

Re: PureBasic 6.00 Beta 5 released !

Posted: Fri Mar 04, 2022 5:07 pm
by skywalk
Nice! There were bug fixes too but not in change log?

Re: PureBasic 6.00 Beta 5 released !

Posted: Fri Mar 04, 2022 5:20 pm
by Fred
Yes, all the topics marked as [Done] should be fixed in this beta

Re: PureBasic 6.00 Beta 5 released !

Posted: Fri Mar 04, 2022 5:45 pm
by Psychophanta
Many thanks. Go for it :arrow:
All this enormous project is more and more promissing. :idea: :idea: :idea: :idea: :idea:

Re: PureBasic 6.00 Beta 5 released !

Posted: Fri Mar 04, 2022 5:49 pm
by Jeromyal
There is a lot to love.

Fred and company, you do yourselves proud.

Re: PureBasic 6.00 Beta 5 released !

Posted: Fri Mar 04, 2022 6:41 pm
by Janni
New here and glad to see active development :D

Re: PureBasic 6.00 Beta 5 released !

Posted: Fri Mar 04, 2022 7:18 pm
by rgdavidson
Is the objective of this work to eventually add Raspberry to the portability list (Windows, Linux, OS X, Raspberry Pi OS) in the next official release of PureBasic? If so, is there a rough timeline? Thanks.

Re: PureBasic 6.00 Beta 5 released !

Posted: Fri Mar 04, 2022 10:42 pm
by infratec
rgdavidson wrote: Fri Mar 04, 2022 7:18 pm (Windows, Linux, OS X, Raspberry Pi OS)
Is there a 'real' Rasberry Pi OS ???
I think it is a debian linux variant on an ARM CPU. No more, no less.

But good that it is implemented :wink:

An other reason to implement more network stuff instead of 3D stuff.