Ok thanks for your suggestions!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.
PureBasic 6.00 released !
Re: PureBasic 6.00 Beta 4 released !
-
- Enthusiast
- Posts: 581
- Joined: Wed Sep 25, 2019 10:18 am
Re: PureBasic 6.00 Beta 4 released !
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.
Please ask your questions, because switch on the cognition apparatus decides on the only known life in the universe.Wersten :DDüsseldorf NRW Germany Europe Earth Solar System Flake Bubble Orionarm
Milky Way Local_Group Virgo Supercluster Laniakea Universe
Milky Way Local_Group Virgo Supercluster Laniakea Universe
- pf shadoko
- Enthusiast
- Posts: 385
- Joined: Thu Jul 09, 2015 9:07 am
Re: PureBasic 6.00 Beta 4 released !
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)
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)
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: PureBasic 6.00 Beta 4 released !
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)


Re: PureBasic 6.00 Beta 4 released !
Thanks! I will try to catch the "bug" with this.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.
Re: PureBasic 6.00 Beta 4 released !
I look forward to the new 3d functions. Not sure what all that is, but curious to try out.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)

Re: PureBasic 6.00 Beta 5 released !
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 !
Thanks Fred and the BP Team 
Re: PureBasic 6.00 Beta 5 released !
Nice! There were bug fixes too but not in change log?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PureBasic 6.00 Beta 5 released !
Yes, all the topics marked as [Done] should be fixed in this beta
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: PureBasic 6.00 Beta 5 released !
Many thanks. Go for it
All this enormous project is more and more promissing.


All this enormous project is more and more promissing.





Re: PureBasic 6.00 Beta 5 released !
There is a lot to love.
Fred and company, you do yourselves proud.
Fred and company, you do yourselves proud.
Re: PureBasic 6.00 Beta 5 released !
New here and glad to see active development 

Spec: Linux Mint 20.3 Cinnamon, i7-3770K, 16GB RAM, RTX 2070 Super
-
- New User
- Posts: 2
- Joined: Fri Dec 03, 2021 12:56 am
Re: PureBasic 6.00 Beta 5 released !
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 !
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

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