Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

What If Your ESP32 Could Run Real 3D Graphics Without a GPU? 🤯 Jet is a tiny C++17 software 3D rasteriser built for constrained hardware like the ESP32 and STM32. - Runs entirely in software - Integer-only rendering - Native RGB565 - Flat, Gouraud and Phong shading - Affine...

52,376 Aufrufe • vor 5 Tagen •via X (Twitter)

0 Kommentare

Keine Kommentare verfügbar

Kommentare vom Original-Post werden hier angezeigt

Ähnliche Videos

Paranoid man mocked for hunting a spy device in his home. No one believed the government could plant bugs in people’s apartments. A month later, his device found a bug in every mocker’s house. He started selling it and made $255k as everyone rushed to check their own homes. Here's how he made this technology using only Claude: The device is called an RF bug detector. Hidden cameras, microphones, and GPS trackers all leak radio signals when they transmit. This scanner picks up those signals and shows you exactly where they are coming from. The whole build costs around $25 in parts and runs on a small rechargeable battery. You need 4 things. - ESP32 development board - AD8317 RF detector module (the part that senses the signal) - A small OLED screen - A LiPo battery and charging board 1. Wire the AD8317 module to the ESP32 analog input, then connect the OLED screen to the I2C pins, which takes about ten minutes on a breadboard. 2. Plug the ESP32 into your computer with a USB cable. 3. Open Claude Code and paste this prompt: { Write me ESP32 firmware for an RF bug detector. Hardware: - AD8317 logarithmic RF detector on analog pin 34 - SSD1306 OLED screen on I2C pins 21 and 22 - LiPo battery powered Requirements: 1. Read the AD8317 voltage 20 times per second. 2. Convert the voltage into a signal strength value in dBm. 3. Show a live bar graph on the OLED that rises as signal gets stronger. 4. Play a beep through a buzzer on pin 25 that speeds up as the signal increases, so I can sweep a room and home in on the source. 5. Add a calibration button on pin 4 that sets the current room level as the baseline, so only stronger signals trigger alerts. Output one complete Arduino sketch with comments so I can tune the sensitivity. } 4. Flash the firmware to the ESP32 straight from the Arduino IDE. 5. Walk slowly around any room holding the device, and watch the bar graph climb as you get closer to a hidden transmitter. 6. Once it works, drop the whole thing into a 3D-printed handheld case so it looks like a finished product. The man in the hook sweeps a room in under two minutes. The beep speeds up as he gets closer, so he can pinpoint a bug hidden inside a smoke detector, a plug, or a lamp. His parts cost around $25 per unit. He sells the finished detector for $129 to renters, travelers, and Airbnb guests who want to check their space. The market is everyone who ever walked into a hotel room and wondered if someone was watching.

Coin Shot ☁️

67,031 Aufrufe • vor 2 Monaten

Here is the Geometry Nodes Weighted Normals with Laplacian Blur on a full character (a vroid). It easily improves the shading even on game topology with almost no setup. I built this as part of my quest to improve real time toon shading. 3D anime models are popular, but use of dynamic light is rare even among high quality vtuber models. This is for several reasons, but a big one is simply that it takes a lot of Custom Normals work to make 3D cel shading not look like a jagged mess (other pieces of the puzzle are issues like deformations, multiple lights, etc). And fixing Normals is tedious, especially on existing game topology. I have focused on proxy meshes for priority areas like character faces, but they aren't an efficient solution for the whole body + outfit. I wanted something I could just throw on any model and make it at least not a jagged mess anymore even if it wasn't perfect. As you can see from this clip, this does that very well! And vertex groups can be used to control the style of the effect and power. It still can't smooth beyond what the topology density can support, but the topo itself is no longer a problem (for higher res, could be run on a subdivided version of the model and then baked to a Normal Map.) The only changes I made to this model were adding a weld modifier to merge split edges during interpolation, and a vertex group to select the skirt. I have not yet added full handling and logic for detecting edges with big angles like the skirt, or for handling boundaries like on the hair, so both those areas can get better too. You can also see that while it successfully smooths out the Face, it isn't really stylistically correct there. That is still best done with a proxy mesh to define a new shape. This is part of the tools I am working on for Fondant. We are putting together a Blender Addon to release this + a proxy mesh tool for the face, and are working on resolving other problems in-engine to fully bring dynamic light to real time 3D toon shading. Give us a follow, and send them a DM if you are interested in testing these tools as they develop!

aVersionOfReality

14,679 Aufrufe • vor 1 Jahr

Wow. Recreating the Shawshank Redemption prison in 3D from a single video, in real time (!) Just read the MASt3R-SLAM paper and it's pretty neat. These folks basically built a real-time dense SLAM system on top of MASt3R, which is a transformer-based neural network that can do 3d reconstruction and localization from uncalibrated image pairs. The cool part is they don't need a fixed camera model -- it just works with arbitrary cameras -- think different focal lengths, sensor sizes, even handling zooming in video (FMV drone video anyone?!). If you've done photogrammetry or played with NeRFs you know that is a HUGE deal. They've solved some tricky problems like efficient point matching and tracking, plus they've figured out how to fuse point clouds and handle loop closures in real-time. Their system runs at about 15 FPS on a 4090 and produces both camera poses and dense geometry. When they know the camera calibration, they get SOTA results across several benchmarks, but even without calibration, they still perform well. What's interesting is the approach -- most recent SLAM work has built on DROID-SLAM's architecture, but these folks went a different direction by leveraging a strong 3D reconstruction prior. Seems to give them more coherent geometry, which makes sense since that's what MASt3R was designed for. For anyone who cares about monocular SLAM and 3D reconstruction, this feels like a significant step toward plug-and-play dense SLAM without calibration headaches -- perfect for drones, robots, AR/VR -- the works!

Bilawal Sidhu

704,124 Aufrufe • vor 1 Jahr

I built a Three.js rendering study inspired by Tiny Glade’s painterly aesthetic, and got it running at 120fps in the browser. Over the past few weeks, I’ve been studying how stylized games achieve that soft, handcrafted look in real time. Tiny Glade was a huge inspiration, and I wanted to use the browser as a constraint: no compute shaders, no native GPU access, and single-threaded JavaScript. As part of this study, I implemented: - GPU-driven instanced brick walls with procedural noise jitter and elastic build animations - Tree, bush, and flower rendering with billboard card expansion, wind sway, and grow animations - Procedural grass with terrain conformance and interactive push deformation - Animated water with layered noise, interactive ripples, and Fresnel-based reflections - Procedural terrain with slope-aware triplanar materials, dirt paths, and rocks - A 7-pass post-processing stack with TAA, bloom, depth of field, painterly filtering, ACES tonemapping, 3D LUT color grading, and film grain The hardest part wasn’t writing any single shader. It was making all of these systems work together at high frame rates inside WebGL, where every millisecond counts and performance problems compound quickly across animation, materials, post-processing, and scene management. Some techniques in this study were inspired by analyzing Tiny Glade’s rendering approach, while others were original implementations built from scratch from visual reference. That contrast taught me a lot: recreating an effect is one challenge, but designing your own shaders and systems to achieve a similar feel is a very different one. This is a private educational rendering study. Some temporary placeholder content is being used during the research phase, and any public or production version would use original or properly licensed assets. Huge credit to Pounce Light for the incredible art direction and rendering work in Tiny Glade: Three.js #gamedev #webgl #threejs #rendering #graphics #realtimerendering #shaderdev

Ibrahim Boona

58,625 Aufrufe • vor 4 Monaten

Great question! 🤔 How do you simulate *multiple* layers of glass/refraction in video games? In the last breakdown, I discussed how to create a glass shader in Unity URP. In essence, we were taking the render of the scene from the camera without any transparent objects. This is available in URP as the global _CameraOpaqueTexture. This is good enough for most use-cases, and more or less the classic way of doing it. 🔍 What is _CameraOpaqueTexture? As the name implies, there are no transparent objects rendered into this texture, so it's not possible by default to have something like a transparent-type ocean material/shader rendered through a refractive glass shader (which samples and distorts this texture to render on its surface, as if it's transparent). ⚠️ Why it’s tricky: It's much easier to sort without much further setup if you don't have refraction, and only a transparent material, because in that case you're not simulating the transparency yourself via sampling the rendered scene texture. But for refraction, it's required-- unless you want to go down the ray/path tracing route. You could simulate accurate, real dispersion... and that's about as expensive as it sounds, and it requires a rework of your entire rendering. --> 🚫 It's not a viable suggestion to offer. 📚 There are well-known terms regarding transparency sorting you can search up, but as you've specifically asked for refractive boxes, I'll discuss briefly about that. 🧱 Simulating layers of refraction: For this kind of rendering, you need some way to render the backfaces before rendering the front. And the backfaces that are rendered may contain whatever data you'd like for additional processing in the layer front-facing mesh render. 🧪 Examples: You could render the back face as a glass shader of its own, as an intermediate step after _CameraOpaqueTexture. Then you sample this texture instead and you end up with multi-layered refraction, "just like that". You can also render the back normals only, via a fully opaque shader, and use that to manually account for that during the front render. You could even bake in data needed for thickness in realtime. 🛠️ Without making it complicated for yourself, the most straightforward method is via render textures, and you can easily set some fractional resolution. Cameras in Unity have an open slot for target textures to render to. You can use custom render textures to process _SelfTexture2D. ⏱️ It's great to do low-resolution processing for more complex tasks, like blurring and caustics. You can get massive performance boosts, considering the square law and number of pixels/fragments that need calculations (quadratic scaling). 🚧 I've not fully exploited the possibilities myself, but research/development with PRISM is ongoing!

Mirza Beig

61,468 Aufrufe • vor 1 Jahr

3D scanning and rendering is moving so fast - got my splats up and running and I'm mind blown getting ~100fps for this complex 3D scene ⬇️ 🤯 1. WAY faster than NeRF: For comparison, NeRFs would takes around 10 seconds per frame (!) Instead I'm zipping around with FPV controls without breaking a sweat - though I do crash a few times towards the end of the video lol 2. Old Meets New: Gaussian Splatting is cool in that it fuses classical graphics and deep learning techniques. Like NeRFs, this is still a radiance field - just without the slower (ne)ural rendering part. 3. Explicit Representation: Instead you represent a 3D scene as a collection of ellipsoidal "splats" called gaussians. Each gaussian has a position, size, and color. Rendering in real-time is done by projecting into the image plane and alpha blending. 4. Photorealistic Effects: Gaussian splatting use spherical harmonics to represent the view-dependent effects and lighting - allowing surfaces to change color when viewed from different angles, enabling greater photorealism. It doesn't use a neural network, but the training loop is similar to deep learning. 5. Enables Direct Editing: But it's not just speed - with Gaussian Splatting you also get 3D editing support! So you can select, move, and delete stuff, even relight stuff. This type of editing has been more tedious to do with NeRFs and their implicit black box representations. 📲 More tests cooking! Much more to unpack here including simpler explanations. If you enjoyed this post, you might enjoy my feed: Bilawal Sidhu

Bilawal Sidhu

337,090 Aufrufe • vor 2 Jahren

I gave a talk at GPU MODE workshop last week on llm.c - the origin story of llm.c - being naked in the world without PyTorch and having to re-invent Array, Autograd, Device, Dtype, Compile, Distributed - how to port a PyTorch layer to 1) explicit PyTorch - and then to 2) write the backward pass - 3) port forward & backward pass to C - 4) string all the layers together - achieving one file of C with no dependencies that compiles and runs ~instantly, where all memory is pre-planned and allocated a single time, fully deterministic, portable code that can run on a potato or a von Neumann probe - how most of llm.c was built at 1am-7am in a water villa porch in Maldives and why this is the recommended way to develop software - convert all of it to run in CUDA on GPU in fp32 - port matmul to cuBLAS - port attention to cuDNN flash-attention - introduce bfloat16 mixed precision - introduce many more optimizations and features like kernel fusions, Packed128, stochastic rounding, full determinism - add multi-GPU training, NCCL, sharded optimizer - add multi-node with MPI or file system or socket - reproduce GPT-2 (1.6B) on one 8XH100 node in 24 hours for $672 in llm.c, achieving (at the time) 29% less memory, 19% faster training that PyTorch nightly, and much faster compile & run - how open source development attracts Avengers from the internet - port to training Llama 3 imminent (branch exists) - many other notable forks - last thought: how software abstractions like Python/PyTorch and everything else really exist only because humans are finite in knowledge, IQ and attention, and how with increasing AI capability LLMs may export custom binaries like llm.c for any application directly, tearing apart and refactoring all abstractions as needed. More links in reply

Andrej Karpathy

337,263 Aufrufe • vor 1 Jahr

In the AI era, the next great software distribution company won’t look like an app store For the last decade-plus, building a strong software business was mostly a game of scarcity. The hard part was assembling the capital, taste, engineering, and distribution to build one enduring app. The discovery systems we built matched that world: app stores, SEO, search bars, rankings, reviews, ads, marketplaces AI has blown up these constraints Soon, anyone will be able to generate software for anything: a workout injury, a work project, a personal workflow, a one-off analysis, a weird niche need only they have, maybe only in a single moment Some apps will last forever, but most won’t. Many will exist for minutes or hours, and be created even faster But just because software can be created at the speed of thought doesn’t mean everyone will become a developer. Most people won’t want to prompt, build, debug, deploy, or manage software. They’ll just want to be matched with the right tool for the job in front of them The same technological wave enabling software creation at scale is also breaking software distribution at scale. Search assumes the best answer already exists somewhere. App stores assume software is something you browse, compare, install, and keep In a world of personal software, the real question becomes: Who understands enough about me, or has earned enough trust from me, to know what software should exist for me right now? The next great app distribution companies may look less like search engines and more like trusted relationships Some will win by importing and processing personal context: your goals, constraints, calendar, body, files, workflows, history, collaborators, and intent. Others will win by exporting taste and trust: experts, creators, communities, agents, and brands that people rely on to decide what is worth using Either way, the new gateway won’t be a search box or an app store shelf. It will be the layer that recommends, assembles, routes, and personalizes software at the moment of need This is the new frontier: context, recommendation, trust, and distribution in the age of infinite software If you’re building platforms or experiences for this future, we want to meet you. Apply to a16z speedrun 🧊. Applications for SR007 close this weekend Application link below

Josh Lu

11,092 Aufrufe • vor 3 Monaten