n0mad's channel
38 subscribers
14 photos
18 videos
7 links
Teacher | Technical artist | 3D generalist

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
Trying to resize the ncurses program and whatnot, but the box() border applied to each individual window seem not too happy about it. Still working on this after adding some dynamic change in the action window based on the selected menu option ðŸĪ”

#cprogramming #ncurses #tui
This media is not supported in your browser
VIEW IN TELEGRAM
I'm not really sure on how I've achieved it, but somehow along with the man pages help, the box() border around the windows seems to be responsive to screen resizing now. Some minor fixes are pending in the window size logic, but we are getting close 🙃

#cprogramming #ncurses #tui
Ever thought on reading directories to select files with an specific extension?
Here's a hint 😋

#cprogramming
This media is not supported in your browser
VIEW IN TELEGRAM
Video is a bit blurry but here's the progress on the ncurses program so far. The program can now read directories and list file content associated to a file extension, and the user can input text in the edit panel.

I still need to fix several bugs on the way, and implement file content loading and saving, but so far so good 🙃

#cprogramming #ncurses #tui
Something a bit crazy but, let's hope it's going to be fun. I've installed a windows machine to compile Blender3D in it, by request.

First setup seems successful. I tweaked the splash screen to be sure it was my compiled version running and not the release one. Now to read and understand their code so I can try an implement what I've been asked for ðŸŋ

#cprogramming #graphics #blender
This media is not supported in your browser
VIEW IN TELEGRAM
Another milestone reached, the ncurses program can now save and load files. Some issues with the UI redrawing have to be fixed, but I'm getting closer to have a final basic example for the next guide on the series.

I also discovered a way to tell ffmpeg which window I want to record using xwininfo. I'll share some details once I polish the automated shell script for this 😎

#cprogramming #ncurses #tui
This media is not supported in your browser
VIEW IN TELEGRAM
December news! I'm managing to get some time to keep investigating on native GUIs inside *nix systems, and now it's the time to Xlib experiments (:

So far so good, not the best looking UI, but apparently in Xlib most of the things (like colors or keyboards) require a lot of verbose since they made the lib to be portable across systems with different physical characteristics 🧐

#cprogramming #xlib #gui
Here's the script to record a selected window with ffmpeg and xwinfinfo as promised.

There's a known bug redacted in xwininfo's man page about the flag -geometry not being always accurate. That's why the script has such verbose getting the width, height, and absolute x and y left corner values.

Also note that the -f x11grab from ffmpeg is limited, it will record the selected window region but it won't follow the window if you move it while recording. ðŸŽĨ

#ffmpeg #xwininfo #scripting
Frame, the OpenGL sandbox I try to develop over time has gotten the new feature of a configurable grid floor mesh, generated by GL_LINES in C 😁
I'll write a more lengthy explanation of the process in the near future about this.

#cprogramming #opengl
This media is not supported in your browser
VIEW IN TELEGRAM
Hello there! (: Some progress on the development of Blender's Grease Pencil for VR. As for now it's just a proof of concept but so far so good ✏ïļ

#blender #cprogramming #python
Media is too big
VIEW IN TELEGRAM
As development to port GPencil to VR continues, some of the curious things we've been requested too is to implement a controllable buffer inside the VR view that contains the 2D desktop updated in real time and being interactable with the XR controllers as if the user controls the mouse in a flat screen. We have implemented some controllable options and modes for that, so here's a hint of the progress on this new development tool among other things ðŸĪŠ

#blender #cprogramming #gpustuff
This media is not supported in your browser
VIEW IN TELEGRAM
A bit of R&D in order to de-stress the work tasks and to distract the mind from other more "serious" tasks, here's a concept I'm trying to develop in C and Xlib: A node based GUI editor.

The up and running demo has been so far easy to setup but the moment you want to increase the options given or improve functionality, this is just the tip of the iceberg (well yeah, like programming development in general). We'll see where this goes in the future ðŸ’ū

#cprogramming #gui
Media is too big
VIEW IN TELEGRAM
Hi there! It's been a while since I last updated our progress in the GreasePencil XR development so here we are with some stuff (not much but we are closer to an alpha version).

We have completed the first big gap which was taking the modal events from the usual View3D context to the VR View3D context, and implemented a new GP operator suitable for XR which takes in consideration the 3 axes while painting. This has been rewritten in C removing all the Python related code we had until now. We've also mapped some of the controls to the XR controllers in order to make the painting process smoother, such as brush size and strength control, onion skin visualisation in the VR headset and animation keyframing.

While we still need an actual artist to do an actual cool-demo, the video showcases what is going on a bit (:

#blender #cprogramming
This media is not supported in your browser
VIEW IN TELEGRAM
I happen to have this gem laying around in a disk, and what better than a rainy afternoon to try out what it used to be the main tool in my work again. Except this time I've been messing around with its scripting tools.

Blender has it as image-references or image-as-plane iirc. In my time they were called blueprints so... 😋

(maxscript is messy to say the least)

#maxscript #3dsmax
Chromebook | From ChromeOS to FreeBSD

Chromebooks are mobile devices aimed to school students or light office work. They are small, lightweight, portable, and usually have a touchscreen built in. But in terms of OS freedom they are a bit limited. I wrote a quick post once I figured out how to remove ChromeOS from a Chromebook I was given, and install FreeBSD on it.
This media is not supported in your browser
VIEW IN TELEGRAM
Following the R&D development of a Node Editor using XLib, the idea has become somehow involved in an experiment I call code-lab, which is a repo where I'm trying to implement almost all the code required to achieve certain ideas, mostly related to graphics and ui development.
The code itself is unstable, untested (for now, the Node Editor seems a good candidate to start tesing it), and most probably it's full of non-perfect implementation content. But as I become more and more experienced in the content creation field, seems like the best way to get things moving is just start putting pieces together.
That doesn't mean to avoid using some good practices overall, but to not take too much care about perfection at this stage.

The Node Editor now has an endless canvas grid, and it can handle the placement of lots of dummy nodes on top (no removal action yet). It'd be cool to also have the ability to pan the camera around de canvas... we'll see how it ends up working (:

#cprogramming #graphics #gui
So far so good, thanks to the Double Buffer Extension Library the window flickering has been reduced a bit in the Node Editor program. Funny enough I achieved that "Windows cards' game effect" while trying to solve the flickering... There was an option of achieving the same using Pixmaps, but I wasn't able to get the desired performance with that approach.
I've also added the ability to select and deselect nodes, and drag around the selected ones. The last selected node will always be drawn on top of the other nodes. Now it's time to see if I manage to render the Bezier curve-connections as well

#cprogramming #graphics #gui
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
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