Search found 7905 matches

by D.J.Peters
Jun 30, 2021 16:03
Forum: Libraries
Topic: FBImage static Win/Lin 32/64-bit
Replies: 63
Views: 16046

Re: FBImage static Win/Lin 32/64-bit

fxm wrote:Instead, it would be best if dpitch would be declared as LONG.
no don't mix native integer with long :-(

Joshy
by D.J.Peters
Jun 24, 2021 15:58
Forum: Community Discussion
Topic: [offtopic] Low budget but good NVIDIA GTX cards.
Replies: 2
Views: 226

Re: [offtopic] Low budget but good NVIDIA GTX cards.

(I added the GTX 950, GTX 1050 and GTX 1050 Ti to the list above) Today I got a new low budget GTX 1050 Ti 1GB for 50€ inc. shipping from AliExpress (4GB = 200€) In scope of number crunching/ray tracing via OpenCL or shadertoy fun WebGL (OpenGL ES) ...it's a runner for this low price. Note: the 1GB ...
by D.J.Peters
Jun 22, 2021 18:22
Forum: General
Topic: string math
Replies: 9
Views: 483

Re: string math

Only a hint, put two decimal 0-9 numbers (4bit) in one byte and use the fast BCD arithmetic CPU instructions !
https://en.wikipedia.org/wiki/Intel_BCD_opcode

Joshy
by D.J.Peters
Jun 22, 2021 8:11
Forum: Libraries
Topic: Tokamak physics SDK V1.2 (Windows/Linux 32/64-bi)
Replies: 14
Views: 1630

Re: Tokamak physics SDK V1.2 (Windows/Linux 32/64-bi)

@Kaleidio sorry I have not the time to study nor check your whole game engine source code !

Post an readable tokamak-c only example that shows me the problem please.

Joshy
by D.J.Peters
Jun 19, 2021 20:02
Forum: Documentation
Topic: member operator [] in the compiled help file ?
Replies: 5
Views: 194

Re: member operator [] in the compiled help file ?

Thank you I found it :-)

Joshy
by D.J.Peters
Jun 19, 2021 18:59
Forum: Documentation
Topic: member operator [] in the compiled help file ?
Replies: 5
Views: 194

Re: member operator [] in the compiled help file ?

I saw operator [] (index) [ByRef] as Datatype is in the help file but I can't find it any more !

Joshy
by D.J.Peters
Jun 19, 2021 17:59
Forum: Documentation
Topic: member operator [] in the compiled help file ?
Replies: 5
Views: 194

member operator [] in the compiled help file ?

How I can find the class/type member operator [] in the compiled help file ?
(may be I'm blind but I get only the pointer and string [] operator)

Joshy
by D.J.Peters
Jun 19, 2021 16:59
Forum: General
Topic: [solved] Is the FreeBASIC array alignment safe ?
Replies: 43
Views: 1246

Re: [solved] Is the FreeBASIC array alignment safe ?

A C/C++ fixed sized array, aligned or not, are simple a pointer as parameter, so all my aligned data types return automatically per "operator cast as data type ptr" the right pointer when used as parameter to the SIMD (Single Instruction Multiple Data) math library. Only to show you an exa...
by D.J.Peters
Jun 19, 2021 16:44
Forum: Libraries
Topic: OpenGL Math library libglmc
Replies: 0
Views: 122

OpenGL Math library libglmc

Today OpenGL C++ coders use the well known OpenGL Mathematics library gml. C++ glm: https://glm.g-truc.net/0.9.9/index.html I created the header file for OpenGL Mathematics for C cglm C cglm: https://github.com/recp/cglm The lib used fast SIMD CPU instruction to speed up vec4,mat2,mat4 ... math. Thi...
by D.J.Peters
Jun 19, 2021 0:11
Forum: Windows
Topic: DXGI BY Freebasic
Replies: 3
Views: 245

Re: DXGI BY Freebasic

FreeBASIC comes with D3D9 include files but not D3D11 !

You should ask in the Windows forum section not here
Or a forum mod can move this post in the right section.

Joshy
by D.J.Peters
Jun 19, 2021 0:06
Forum: Beginners
Topic: Distortion when moving across the screen sprite (Raspberry 4B))
Replies: 67
Views: 1475

Re: Distortion when moving across the screen sprite (Raspberry 4B))

I self tested latest stable FreeBASIC on my old Raspberry PI b and PI 3 and my friend reported no problems on his PI 4.

May be your PI 4[b] has a problem do you use overclocking ? or do you modify something in the video config ?

Joshy
by D.J.Peters
Jun 17, 2021 11:51
Forum: General
Topic: [solved] Is the FreeBASIC array alignment safe ?
Replies: 43
Views: 1246

Re: [solved] Is the FreeBASIC array alignment safe ?

This here works as excepted there is only one problem FreeBASIC does not call the overloaded delete operator self Is there a way to call the overloaded delete operator from the destructor ? I mean delete b are not called by the user and the termination of the exe doesn't call delete ? #ifndef NULL #...
by D.J.Peters
Jun 17, 2021 10:35
Forum: Beginners
Topic: Distortion when moving across the screen sprite (Raspberry 4B))
Replies: 67
Views: 1475

Re: Distortion when moving across the screen sprite (Raspberry 4B))

bfuller wrote:I had to delete this line to get Dodicat's code to run on my W10 64bit PC.
Screeninfo ,,,,,refreshrate

Code: Select all

dim as integer unused
Screeninfo unused,unused,unused,unused,unused,refreshrate
by D.J.Peters
Jun 17, 2021 10:20
Forum: General
Topic: [solved] Is the FreeBASIC array alignment safe ?
Replies: 43
Views: 1246

Re: Is the FreeBASIC array alignment safe ?

I would be surprised if arrays were aligned 16. The Windows HeapAlloc() etc functions are all align 8. You are right :-( I fixed the mistake and it shows 1 dimensional fixed size arrays are guaranteed only 8 bytes aligned. So array's are not the right option for the high performance math library. B...
by D.J.Peters
Jun 17, 2021 0:17
Forum: Community Discussion
Topic: [offtopic] Low budget but good NVIDIA GTX cards.
Replies: 2
Views: 226

[offtopic] Low budget but good NVIDIA GTX cards.

Sometimes I used 8 PC's as a cluster render mini farm with OpenCL and FreeBASIC or run 8 instances of mitsuba on my local network. I used my old GT 240, GT 610, Radeon HD 4650 and 32 shared Intel cores in the past. Now it was time to upgrade the GPU power in my mini cluster for a small budget. I fou...

Go to advanced search