Oh wow, another earth-shattering revelation: a "tiny" #C++ rasterizer! 🤯 Just what #the world needs - another chance to reinvent the #wheel, but this time with single headers. 🚀 Meanwhile, #GitHub is desperately pretending it's HAL 9000 with its AI-driven everything. 🙄
https://github.com/a-e-k/canvas_ity #rasterizer #AI #innovation #reinventing #tech #news #HackerNews #ngated
GitHub - a-e-k/canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++

A tiny, single-header <canvas>-like 2D rasterizer for C++ - a-e-k/canvas_ity

GitHub

Canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++

https://github.com/a-e-k/canvas_ity

#HackerNews #Canvas_ity #C++ #rasterizer #2D #graphics #single-header #open-source

GitHub - a-e-k/canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++

A tiny, single-header <canvas>-like 2D rasterizer for C++ - a-e-k/canvas_ity

GitHub

Rasterizer: A GPU-accelerated 2D vector graphics engine in ~4k LOC

https://github.com/mindbrix/Rasterizer

#HackerNews #Rasterizer #GPU #2D #vectorgraphics #open-source #graphicsengine

GitHub - mindbrix/Rasterizer: A GPU accelerated 2D vector graphics engine

A GPU accelerated 2D vector graphics engine. Contribute to mindbrix/Rasterizer development by creating an account on GitHub.

GitHub

Finally got around to post an new article on my blog today! Wrote about the rasterizer i'm currently tinkering with in rust, as well as the algorithm I've used (barycentric coordinates), as well as some optimizations that can be used early on so it dosn't run at 1 FPS for a couple of triangles x3

https://blog.lapyst.dev/posts/12-software-rasterizer-in-rust---part-1

#rust #rasterizer #graphicsprogramming #programming #softwaredevelopment #coding #blogging

Software Rasterizer in Rust - Part 1 - Mai Lapyst's Blog

Lol, I knew that debug vs release builds have some performance impact but never thought THAT much. So aparently my rust rasterizer can render 250 moving triangles at ~7 FPS in debug builts but a whoping 40 FPS (!!) in release builds. That's just: WTF? x3

#rust #graphicsprogramming #rasterizer #programming #softwaredevelopment

Currently working on a little #rasterizer after watching the fantastic video from Sebastian Lague on yt.

Decided to write mine in #rust with some other techniques than the ones in the video, like using Barycentric Coordinates and calculating an AABB of an tri before iterating over the pixels. The video below showcases the rasterizer trying to process 250 random triangles. (Windowing and the FPS counter are done with #raylib)

Some artifacts here and there due to Z-ordering issues, but I hope to fix this soon.

End goal is to write it in such a way that I even might someday can use the rasterizer inside an custom rust #kernel / #os for basic 3d graphics, ofc to run
#doom on it!!

#programming #graphics #graphicsprogramming #development #software #softwaredevelopment

anyone have an #SVG #rasterizer #recommendation for large SVG? command line, for Debian Linux or similar.

rsvg-convert: fails on big files with Error reading SVG input.svg: cannot load more than 1000000 XML elements

gimp: same issue as rsvg-convert

imagemagick: actually works, but it seems to be using inkscape under the hood, which consumes over 10GB of RAM.

inkscape: I haven't tested this yet

maybe I should use libcairo or similar to rasterize directly from my code instead of outputting SVG text...

Hey #graphics #GameDev folks, I just finished a software #rasterizer in C++ (as part of Graphics Programming 1 at #Howest) and I really enjoyed the journey. I'd like to explore this further, but I'm unsure what topics would be interesting/accessible for me to explore. Would appreciate any suggestions!

Welp. My Plan 9 #rasterizer thingy can now - hold on to your seats - correctly clear a canvas and draw lines!
Too bad resizing the window crashes the whole thing because of some malloc/free ugliness. 🤷
Not having GDB is not much help btw. Acid is.... pretty eh. It can give backtraces annd that's it, that's all I can use it for.
I'll probly have to write a wrapper around it to make stepping through things easier.

#programming #gamedev