Search found 2569 matches
- Feb 21, 2024 21:37
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1083
- Views: 306329
Re: MiniB3d for FreeBasic
Ok, I will also try a particle emitter.
- Feb 20, 2024 0:08
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1083
- Views: 306329
Re: MiniB3d for FreeBasic
Continuation of the project above. Control keys: up/down, left/right, a/z. Any idea how to best simulate a laser beam spot? A light cone with small angle does not look so nice. #include "fbgfx.bi" #ifdef __FB_64BIT__ #include "openb3d-64/openb3d.bi" #else #include "openb3d-3...
- Feb 15, 2024 0:01
- Forum: General
- Topic: Uncompressed Game Graphics
- Replies: 4
- Views: 418
Re: Uncompressed Game Graphics
PNG work well for certain graphics. Not sure what the best PNG library for freebasic is at the moment however.
- Feb 14, 2024 23:56
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1083
- Views: 306329
Re: MiniB3d for FreeBasic
Trying out meshCsg (subtract and intersect). Works well: #include "fbgfx.bi" #ifdef __FB_64BIT__ #include "openb3d-64/openb3d.bi" #else #include "openb3d-32_old/openb3d.bi" #endif const ENTITY_FX_NONE = 0 const ENTITY_FX_FULL_BRIGHT = 1 const ENTITY_FX_VERTEX_COLOR = 2 ...
- Feb 12, 2024 20:30
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1083
- Views: 306329
Re: MiniB3d for FreeBasic
Small remark, the 1.26 guide says on CreateCylinder:
"solid (optional) - true for a cylinder with a base, false for a tube. Defaults to true."
But it must be 1 for solid, not freebasic's boolean true.
"solid (optional) - true for a cylinder with a base, false for a tube. Defaults to true."
But it must be 1 for solid, not freebasic's boolean true.
- Feb 08, 2024 21:44
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1083
- Views: 306329
Re: MiniB3d for FreeBasic
The decal mesh example (with camera zoom 6) looks like this here:
https://surfdrive.surf.nl/files/index.p ... esh_01.png
Is there a way to check which version of openb3d is installed?
https://surfdrive.surf.nl/files/index.p ... esh_01.png
Is there a way to check which version of openb3d is installed?
- Feb 08, 2024 20:59
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1083
- Views: 306329
- Feb 05, 2024 23:00
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1083
- Views: 306329
Re: MiniB3d for FreeBasic
There is something weird going on with multiple camera's and camera fog. The code below should display 3 rubik's cubes. 2 with fog, 1 without. What I get is only 2 cubes visible. 1 with fog, 1 without. Uncommenting line 85 CameraFogMode(cam1, 1) makes the cube on cam3 appear. #include "openb3d/...
- Jan 27, 2024 22:39
- Forum: Sources, Examples, Tips and Tricks
- Topic: Langton's ant
- Replies: 27
- Views: 1755
Re: Langton's ant
Ok, final update, I think. The project is getting boring. I included Langton's ant movement and BasicCoder2 ant movement as an alternative for the random walk during food search. Set WALK_METHOD at line 34 to WALK_RANDOM or WALK_BC2 or WALK_LANGTON 'https://www.freebasic.net/forum/viewtopic.php?p=30...
- Jan 25, 2024 0:32
- Forum: Game Dev
- Topic: Gravity test program
- Replies: 4
- Views: 414
- Jan 25, 2024 0:03
- Forum: Sources, Examples, Tips and Tricks
- Topic: Langton's ant
- Replies: 27
- Views: 1755
Re: Langton's ant
No aardvarks or anteaters yet, but you can now annoy the ants by pressing "r" to randomly relocated an nest entrance. 'https://www.freebasic.net/forum/viewtopic.php?p=301888#p301888 'An ant colony food finding simulation. 'Like here: https://onestepcode.com/ant-colony-simulation/ 'Where an...
- Jan 24, 2024 22:27
- Forum: Sources, Examples, Tips and Tricks
- Topic: ANT SIMULATIONS
- Replies: 3
- Views: 351
Re: ANT SIMULATIONS
Your random ant movement seems better (less nervous) than mine. I will try it as well, without the diagonal movement.
- Jan 23, 2024 0:00
- Forum: Sources, Examples, Tips and Tricks
- Topic: Langton's ant
- Replies: 27
- Views: 1755
Re: Langton's ant
Better now with fading paths. 'https://www.freebasic.net/forum/viewtopic.php?p=301888#p301888 'An ant colony food finding simulation. 'Like here: https://onestepcode.com/ant-colony-simulation/ 'Where ants: '- search for food locations - done '- find the way back to the nest with the food - done '- m...
- Jan 22, 2024 22:46
- Forum: Sources, Examples, Tips and Tricks
- Topic: Langton's ant
- Replies: 27
- Views: 1755
Re: Langton's ant
Further improved version. The food searching ants now detect the food trails, but they still get confused by old trails. I could use 'back tracking' to erase old paths completely, but that sounds to smart for ants. I'll try fading out of all trails over time as an alternative in the next version. Al...
- Jan 22, 2024 0:03
- Forum: Community Discussion
- Topic: Programming with Chatgpt
- Replies: 21
- Views: 4806
Re: Programming with Chatgpt
The funny this is, that if we get a fusion power plant working, it will likely depend on AI to work, to keep the plasma inside stable and hot enough.