Search found 8184 matches

by D.J.Peters
Oct 12, 2022 16:59
Forum: Libraries & Headers
Topic: FLTK headers for FreeBasic OOP (no C wrapper)
Replies: 232
Views: 27135

Re: FLTK headers for FreeBasic OOP (no C wrapper)

angros47 wrote: Oct 12, 2022 16:36so the only option is to recompile the FLTK library with some option to disable the fastcall calling convention
good find but this isn't my job I spent too much lifetime in the well working fltk-c wrapper :-)

Joshy
by D.J.Peters
Oct 12, 2022 16:51
Forum: Libraries & Headers
Topic: PlutoVG standalone 2D vector graphics library 32/64-bit dynamic/static Windows/Linux.
Replies: 7
Views: 3962

Re: PlutoVG standalone 2D vector graphics library 32/64-bit dynamic/static Windows/Linux.

PlutoVG supports high quality truetype font rendering including UTF-8. Joshy https://shiny3d.de/public/libs/plutovg_font.png file: test03.bas #define PLUTOVG_STATIC #include "plutovg.bi" ' draw vector font's on FBGFX Image const as long iWidth = 640 const as long iHeight = 480 const as dou...
by D.J.Peters
Oct 12, 2022 7:41
Forum: Libraries & Headers
Topic: PlutoVG standalone 2D vector graphics library 32/64-bit dynamic/static Windows/Linux.
Replies: 7
Views: 3962

Re: PlutoVG standalone 2D vector graphics library 32/64-bit dynamic/static Windows/Linux.

PlutoVG for FreeBASIC is complete now. (see first post)
I build 32/64-bit static/dynamic Windows/Linux libs.

Joshy
by D.J.Peters
Oct 11, 2022 21:32
Forum: Libraries Questions
Topic: awesome c ! c libraries waiting to translate
Replies: 2
Views: 2945

Re: awesome c ! c libraries waiting to translate

In ded a nice collection !

I compiled the PlutoVG 2D vector drawing library works perfect with FreeBASIC :-)

viewtopic.php?t=31918

Joshy
by D.J.Peters
Oct 11, 2022 21:26
Forum: Libraries & Headers
Topic: PlutoVG standalone 2D vector graphics library 32/64-bit dynamic/static Windows/Linux.
Replies: 7
Views: 3962

PlutoVG standalone 2D vector graphics library 32/64-bit dynamic/static Windows/Linux.

PlutoVG is a komplete standalone 2D vector graphics C library. https://github.com/sammycage/plutovg https://shiny3d.de/public/libs/smiley.png download: libplutovg.zip from Nov 09, 2022 Included are 32/64-bit static and dýnamic libs for Windows and Linux. I prefer static linking for FreeBASIC but you...
by D.J.Peters
Oct 10, 2022 23:09
Forum: Libraries & Headers
Topic: FLTK headers for FreeBasic OOP (no C wrapper)
Replies: 232
Views: 27135

Re: FLTK headers for FreeBasic OOP (no C wrapper)

if you have a windows box here are the Windows 32/64-bit fltk 3.5 runtimes.
download FLTK-headers-and-runtime-windows.zip

compile in the bin folders:
bin32/win32test01.bas
bin64/win64test01.bas

Joshy
by D.J.Peters
Oct 09, 2022 0:17
Forum: Libraries & Headers
Topic: FLTK headers for FreeBasic OOP (no C wrapper)
Replies: 232
Views: 27135

Re: FLTK headers for FreeBasic OOP (no C wrapper)

Win32 win.show() crashed with memory access at address 0x00000000 ! Both win -gen gas and -gen gcc no stacktrace with GDB the binary release are not compiled with "-g" :-( I have hand counted struct/class member offsets in the fltk-c fltk-c++ wrapper ! and type "dent" differs on ...
by D.J.Peters
Oct 08, 2022 16:42
Forum: Libraries & Headers
Topic: FLTK headers for FreeBasic OOP (no C wrapper)
Replies: 232
Views: 27135

Re: FLTK headers for FreeBasic OOP (no C wrapper)

@angros47 I got your tiny window / button test working on Windows 64-bit but if you do more real stuff you have many open forward references ! If you try to fix it include all files and work from one to the next ! try this: extern "c++" #include once "Fl_Device.bi" #include once ...
by D.J.Peters
Oct 07, 2022 22:17
Forum: Libraries & Headers
Topic: Use all OpenGL extensions with one include file.
Replies: 2
Views: 4875

Re: Use all OpenGL extensions with one include file.

I uploaded a new version see first post.

All OpenGL Extensions are supported from OpenGL V1.0 - V4.4 (round about 400 extensions)
~2300 OpenGL commds are dynamic loaded bei the extension wrangler.

if IS_GL_VERSION_2_1 then
' ...
endif

if IS_GL_VERSION_3_2 then
' ...
endif

Joshy
by D.J.Peters
Oct 07, 2022 12:20
Forum: Libraries & Headers
Topic: AntTweakBar tricky GUI for OpenGL and D3D.
Replies: 18
Views: 13977

Re: AntTweakBar tricky GUI for OpenGL and D3D.

New upload I found and fixed a bug (quaternion single and double) see first post.

Joshy
by D.J.Peters
Oct 01, 2022 7:08
Forum: Libraries & Headers
Topic: AntTweakBar tricky GUI for OpenGL and D3D.
Replies: 18
Views: 13977

Re: AntTweakBar tricky GUI for OpenGL and D3D.

I uploaded my AntTweakBar package for FreeBASIC see first post.

Included are tests 32/64-bit for FreeBASIC fbgfx OpenGL, freeGLUT and GLFW

Joshy
by D.J.Peters
Sep 29, 2022 12:02
Forum: Community Discussion
Topic: [offtopic] Free Book: Learn modern OpenGL graphics programming
Replies: 0
Views: 2279

[offtopic] Free Book: Learn modern OpenGL graphics programming

Learn modern OpenGL graphics programming in a step by step fashion.

A recommend free book from learnopengl.com Learn OpenGL graphics programming

Joshy
by D.J.Peters
Sep 29, 2022 10:06
Forum: Libraries & Headers
Topic: FreeBasic containers (map , vector , list , queue , stack , hashtable)
Replies: 21
Views: 8689

Re: FreeBasic containers (map , vector , list , queue , stack , hashtable)

Only as Info with FBTrueType you can print wstring in any language with FreeBASIC also.

Joshy
by D.J.Peters
Sep 28, 2022 8:50
Forum: Game Dev
Topic: Real snooker game with very effective physics
Replies: 3
Views: 2769

Re: Real snooker game with very effective physics

nice game :-) Joshy Here are a suggestion for your physics loops (the b for loop doesn't need to start with 0!) For i=0 To NUMBALLS ' MOVEMENT Update ball postion ' ... ' COLLISION CHECKS Check each other ball (b) against current ball (i) For b = i To NUMBALLS ' No need to check ball against itself ...
by D.J.Peters
Sep 21, 2022 22:14
Forum: Sources, Examples, Tips and Tricks
Topic: Ray Tracer
Replies: 7
Views: 2315

Re: Ray Tracer

I'm done with this stuff ;-) from ~28 seconds to ~5 seconds on 64-bit and ~8 32-bit I removed vector math vAdd(),vSub(),vScale(),vDot() vNormal() and vCross() only used to init vectors not while rendering ... Joshy #ifndef __FB_64BIT__ #cmdline "-gen gcc -arch pentium4-sse3 -Wc -O3 -fpu sse -O ...