n0mad's channel
45 subscribers
20 photos
23 videos
3 files
14 links
Teacher | Self-taught creator

Work in progress files, thoughts and personal content from the creator of Unixworks.

Find something useful or want to support? I'm running low on coffee (:
www.buymeacoffee.com/n0madcoder
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
Nodes now can be connected between the in/out points with an attempt of Bezier curves.
As you can notice in the console, there is still a lot of debugging going on. After polishing this system, the next step is to start making some data flow between the nodes (:

#cprogramming #graphics #gui
🔥3👍1
This media is not supported in your browser
VIEW IN TELEGRAM
Going through the experiments' lab I've realized that I didn't have a container where to store image results (it will become relevant soon I hope), so I decided to take a look back at the TGA file format. Really love how it works under the hood. So far I've managed to catch a mice while writing a TGA file loader for the code-lab (:

#cprogramming #graphics #tga
👍4
Modern OpenGL context in Xlib

When developing a graphics oriented program using OpenGL, the initial OpenGL context boilerplate is nowadays almost a thing that we take for granted. There are several choices out there in the form of libraries and frameworks from which we can choose, load and use. But what happens under the hood?
🤔3👍1🤯1
This media is not supported in your browser
VIEW IN TELEGRAM
Not a professional drawing program (nor any close) but it's fun to develop a custom whiteboard, sketcher app to capture notes on the fly. It'll be more useful if one could load a pic (or take one) to draw on top (: but so far so good in this snip & sketch clone tool

#cprogramming #xlib #gui
👍3😁2🔥1
This media is not supported in your browser
VIEW IN TELEGRAM
It turns out that capturing the screen in a user defined selection using Xlib is (sort of) achieved. Not without the help of the Xlib Programmers Manual and some inspiration from programs like scrot of course (:

#cprogramming #xlib #gui
👍4
After the recent increased interest in the GreasePencil XR project-thing I'm adding here some of the last builds I happen to have.
It's a WIP that got stopped and has changed hands through the time, but you should be able to run Grease Pencil in Windows 10 with a Meta Quest 2/3 VR headset without much trouble.
Basic functionality is working: you can paint, undo, redo, add and remove key frames but not much more, plus you have to expect random crashes every now and then.

- 3.6a runs against Grease Pencil legacy and no Geometry nodes can be applied to it. This version is able to display onionskin in the VR headset and it also has a working UI mirror plane that allows the user to interact with Blender's UI without removing the headset up to a point.
- 4.3a runs against the new Grease Pencil module that supports Geometry nodes on top, but the UI mirror is not finished, thus not working at all, and the parts for onionskin and such are missing.

the addon attached is required to be activated in the addons tab
👍3🔥1
This media is not supported in your browser
VIEW IN TELEGRAM
This one's recorded back in August, I wanted to add lighting before showcasing some progress but nevermind. I/O scene viewport control is now implemented in the OpenGL sandbox, a-la 3D content creation suites standard with panning, zooming and rotation controlled with the mouse. I also added some damping to the rotation as an experiment. So far I feel happy with the results

#cprogramming #opengl
🔥4
This media is not supported in your browser
VIEW IN TELEGRAM
last week I made a custom Xlib program to screen-cast pressed keys into a floating window.

I'm aware of similar tools existing but I wanted to try on my own, and for my needs. I ended up discovering the X Record extension that seems to be the key part to catch up KeyPress events from other active windows into the one I want.

#cprogramming #xlib
👍2🔥1🤔1🤯1
It's been a long year. Little progress or completed projects have seen the light this last 365 days (becoming a dad has been awesome yet exhausting at the same time) but anyway let's keep pushing the next one. There is a lot to unveil, we'll see you around (:

Happy new year!! 🌲⛄️🎁
🔥5
This media is not supported in your browser
VIEW IN TELEGRAM
A Glimpse of what's about to come (:
👍2🔥2🤔1
3D Viewports | The Grid

If someone asks you what's the first thing you think about when opening a word processor, what do you say? A blank paper-sized sheet, perhaps. And when you open a CSV editor? Some cells forming rows and columns, maybe. What about when opening a 3D editor?
👍5
Please open Telegram to view this post
VIEW IN TELEGRAM
The simple fact of charging someone for sending a message, is something that makes me wonder about where is all this new direction going...

Back in the day you could simply send an email to a colleague, professor, book author... most likely they would reply, and it only cost the internet and electricity bills as usual.

Any way, let's leave it enabled for free since not only I'm not famous, nor important, but I don't feel the need for such greedy behavior
👍3🤯3🔥1😱1
This media is not supported in your browser
VIEW IN TELEGRAM
after watching someone using a slides program on yt I decided to try and replicate the laser cursor alike effect they had, in C, using Xlib and here's the actual result.

Not sure if there are similar projects out there (most probably yes), and my implementation is definitely not the best, but so far so good (:

#cprogramming #xlib
👍3😱2
Prague_Dvali_Club_2016_heavy_2_15(looping)
Sonic Mayhem
unrelated to what I usually share, but if you listen to music while developing or creating stuff, Sonic Mayhem released a collection of music pieces created for Deus Ex: Mankind Divided, not included into the official release of the game, for free (:

https://sonicmayhem.bandcamp.com/album/fragments-of-the-machine-data-archive-vol-1

#ost #music
2🤔1
Not content of mine, but on the endless research path I'm usually involved, I came across a cool book by Duc-Tam Nguyen titled The Little Book of C which is pretty handy.

https://github.com/little-book-of/c/blob/main/releases/book.pdf
👍6
LLDB | Debugging like a pro

When developing programs, it is crucial to have the ability to analyse its functionality at runtime. Several tools exist to achieve this goal, but since we are working in an environment that comes with Clang, we can make use of LLDB.
1👍1🤔1