update on module for : you can use a "layer" system to group them with attractors, colliders and targets -> if not in the same group, boids do not floow each other, don't "see" colliders, etc.
in video, there are 3 groups: red, green & cyan
the big shaking dots are the barycenter of each group

@polymorphcool

a bit of tech p*rn to finish the day: code is getting more and more ready to perform intensive setup
scene #1: pushing everybody in a tube
**meaning of labels in top left corner**:
- frame per seconds
- time to solve the frame (CPU side)
- number of collisions to solve in current frame
- active boids count

@polymorphcool

eventually! i have a decent algorithm to register a box in a grid: starting at the first point, a serie of positions are generated in the box depending on the size of the box and size of cells
No more 3d collisions, just a simple value to adjust (subdivision) to increase the quality (and increase the cpu load...) - this step is finished! yiipiiieeeee

OMG! the new version of will rock! We have tested this example today at (github.com/Calinou/godot-refle). V4, the master branch of godot repository, is sure not ready for production, but the evolution of the render quality is already mesmerizing.
(there are jpeg compression glitches, see hd here: polymorph.cool/2021/02/20/volu)

fast box registration in a grid: it is far from perfect, but same code can also be used for collision, more precise than grid registration
it's great to be able to prototype algorithm in gdscript > you work on code while it's running: i've made a livecoding perf for myself all day :)
music: Anima Exhalare by Eths

@polymorphcool

thanks to a smart nesting of objects, sources can compute the closest targets for each boid and send it to it

@polymorphcool

it's now possible to set "source" of , +choose the shape and the initial orientation of the boids
in the right panel, you can see the params available
next step is to add "target" objects, where the boids will aim to.

@polymorphcool

wonderfull little video of interactive physical ropes by Daniel Piker (on the birdsite)
Sadly, it's a / plugin, so no chance for me to run it...

now possible to see & interact with 3k boids! boids module is in alpha, do not expect a good stability, but you can play with it: frankiezafe.itch.io/boids
all comment welcomed!

it's been a while since I've posted a long & boring video, so here it is: vimeo.com/504488905
It shows a big bunch of 3d birds flying in the space and forming flock

just finished a script to convert and animation into textures, playable in a -> the bird is flying by interpolating the textures on the right, called "key x ...", containing the vertices positions

demo is packed and ready for download: frankiezafe.itch.io/hotchpotch
you cn play with the parameters of the brush and change the material
is so great when it comes to diffusion!

Show more
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!