←
Andrea Gargaro187 posts
Andrea Gargaro avatar

Andrea Gargaro

@agargaro_dev

Uncreative developer

◷ Joined November 2023▧ 18 Photos and videos
David Ronai avatar
⟳ Andrea Gargaro retweeted
David Ronai@makio64·Nov 16

KARTBOARD ! 3, 2, 1… GOOOOO! 🏁 Test your driving skills in pure chaos ! 👉 kartboard.makio.io I started this as a small demo for @3dgardenapp's cardboard assets pack… then a month of "just one more feature" happened 😅 I'm really happy with where it is now: the world, the UI, the mechanics. I tried to push every part of the game dev while sticking to the theme! 🏎️ 3 unique tracks & their traps! 🎮 2-player split mode 💥 20+ items 🎇 weird portal mechanic 🎸 Original tracks 🏆 Mini cup mode ✈️ Turbo plane I still have tons of ideas, but those will have to wait for another pack, they have a lot to build from! 😙 Hope you enjoy it, and I'd love your feedback! #threejs #gamedev

0:57
gsimone avatar
⟳ Andrea Gargaro retweeted
gsimone@Gsimone·Nov 13

trying to get that perfect ps2/gc look in blender, I fucking love the compositor here, especially with code-made nodes so I don't have to fiddle with that much UI

0:15
Garrett Johnson avatar
⟳ Andrea Gargaro retweeted
Garrett Johnson@garrettkjohnson·Nov 13

Getting volumetric fog working in three-gpu-pathtracer! It could use some kind of density noise, but that will come with custom materials in the future😶‍🌫️ gkjohnson.github.io/three-gp…

0:07
Andrea Gargaro avatar
Andrea Gargaro@agargaro_dev·Nov 12

To run my demos smoothly, I needed the best LOD thresholds with meshoptimizer. So I built a tool that also writes InstancedMesh2 code. 5,000 animated characters: 76M → ~500K triangles. More to come, ideas and criticism welcome! Link below 👇 #threejs #webgl #webgpu #gamedev

0:30
Andrea Gargaro avatar
Andrea Gargaro@agargaro_dev·Nov 5

Far LODs cost less: reduceSkinInfluences drops bones within a pixel of error, and the smallest levels read the nearest baked frame instead of blending two. The previous clip is only read while a crossfade runs.

Andrea Gargaro avatar
Andrea Gargaro@agargaro_dev·Nov 5

Bone Animation Textures are now in InstancedMesh2 🦴 Skeletal clips are baked once into a GPU texture, and every instance plays its own clip, speed and crossfade. No per-frame CPU animation. 10,000 skinned monsters, WebGL, WebGPU. Link in the next post. #threejs #WebGPU #WebGL

0:20
gsimone avatar
⟳ Andrea Gargaro retweeted
gsimone@Gsimone·Oct 30

this is kinda nice, if a bit overkill. Maybe the flu speaking, but I love html-in-canvas because it enables weird stuff like this

0:28
Andrea Gargaro avatar
Andrea Gargaro@agargaro_dev·Oct 26

How it works: • 4 LODs simplified at runtime with meshoptimizer • BVH for culling and raycasts (0.2 ms vs 90 ms linear) • sub-pixel culling with onFrustumEnter • flame, smoke, sparks and lasers in one InstancedMesh2 • same API on WebGPURenderer and WebGLRenderer

Andrea Gargaro avatar
Andrea Gargaro@agargaro_dev·Oct 26

After a month of work, InstancedMesh2 now supports WebGPURenderer 🎉 250,000+ asteroids, WebGPU and WebGL: runtime LODs, BVH frustum culling and per-instance raycasting. Fly through the field and blast some rocks 🚀 #threejs #webgl #webgpu

0:29
luigi_dev avatar
⟳ Andrea Gargaro retweeted
luigi_dev@LuigiDenora·Oct 5

Working on new examples and showcases for the InstancedMesh2 docs. First up: a friendly robot army showing off instanced skinning + per-instance culling! Built with @threejs. Robots by @KayLousberg. #threejs #webgl #gamedev

0:40
Andrea Gargaro avatar
Andrea Gargaro@agargaro_dev·Sep 22

My best friend @LuigiDenora’s enthusiasm after the three.js conf convinced me to get back to my open-source projects. I’ll use AI sparingly, so progress may be slow, but I’m really happy to be working on this again. Repo + findings soon.