mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

585
comptes actifs

#opengl

0 message0 participant0 message aujourd’hui
Kawaoneechan<p>Hm. From what I can tell looking at all these hits on GitHub, it's *supposed* to be "glViewport(0, 0, width, height)", but that only seems to work correctly for me when switching back to the whole window.</p><p>I don't know what I'm missing here and I am *not* rubberducking. I need help.</p><p><a href="https://mas.to/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> <a href="https://mas.to/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a></p>
Kawaoneechan<p>For clarity, here it is again but with a newline in the label text, and a manual, regular DrawText call in the same font and position to give an idea what it should look like.</p><p>The new size of the box makes the distorted text a lot more clear.</p><p>So clearly it's not glViewport(0, 0, boxWidth, boxHeight)... but then what?</p><p><a href="https://mas.to/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> <a href="https://mas.to/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a></p>
Kawaoneechan<p>I should work on that drop-shadowed text label thing tomorrow. Oomfies, give me strength.</p><p><a href="https://mas.to/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://mas.to/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> <a href="https://mas.to/tags/BeckettEngine" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BeckettEngine</span></a> <a href="https://mas.to/tags/ProjectSpecialK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ProjectSpecialK</span></a></p>
screwlisp<p><span class="h-card" translate="no"><a href="https://functional.cafe/@awkravchuk" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>awkravchuk</span></a></span> hey, I'm going to talk to <span class="h-card" translate="no"><a href="https://functional.cafe/@kasper" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>kasper</span></a></span> about <a href="https://gamerplus.org/tags/commonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonLisp</span></a> <a href="https://gamerplus.org/tags/indie" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>indie</span></a> <a href="https://gamerplus.org/tags/gameDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gameDev</span></a> (w/ <a href="https://gamerplus.org/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> iirc) at 8pm NZT tomorrow which I believe to be between between 8am and 12pm Sunday morning in much of Europe.</p><p>Kasper mentioned they would like to co-guest with you if you would like that (at admittedly short notice).</p><p>I think I missed a big announcement by you at some point previously as well. Would you like to visit / check in (in a one hour jitsi call <a href="https://gamerplus.org/tags/peertube" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>peertube</span></a> <a href="https://gamerplus.org/tags/live" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>live</span></a> <a href="https://gamerplus.org/tags/fedi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fedi</span></a>)</p>
dorotaC<p><span class="h-card" translate="no"><a href="https://en.osm.town/@openstreetmap" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>openstreetmap</span></a></span> I noticed osm.org now uses <a href="https://fosstodon.org/tags/WebGL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebGL</span></a> for the slippy map.</p><p>Having worked with <a href="https://fosstodon.org/tags/GPU" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GPU</span></a> drivers I keep that crap off on the web browser (which is as much an an untrusted context as it gets) for paranoia reasons :P</p><p>Is there a fallback that folks like me could activate?</p><p><a href="https://fosstodon.org/tags/mapping" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mapping</span></a> <a href="https://fosstodon.org/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> <a href="https://fosstodon.org/tags/security" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>security</span></a> <a href="https://fosstodon.org/tags/openstreetmap" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openstreetmap</span></a></p>
Digital Freedom Foundation<p>(6/7) If you're looking for a GUI library that works with your <a href="https://fosstodon.org/tags/OpenGL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenGL</span></a> programs, I really like <a href="https://fosstodon.org/tags/OTK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OTK</span></a>: <a href="https://sourceforge.net/projects/otk/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">sourceforge.net/projects/otk/</span><span class="invisible"></span></a> There are some interesting sample programs for this library.</p>
Red the Trans Vampire<p>Got set up to start writing some DSi homebrew</p><p><a href="https://mastodon.gamedev.place/tags/nintendods" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nintendods</span></a> <a href="https://mastodon.gamedev.place/tags/homebrew" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>homebrew</span></a> <a href="https://mastodon.gamedev.place/tags/retro" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>retro</span></a> <a href="https://mastodon.gamedev.place/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>retrocomputing</span></a> <a href="https://mastodon.gamedev.place/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> <a href="https://mastodon.gamedev.place/tags/test" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>test</span></a> <a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a></p>
Michael T Babcock<p>Just in case anyone else ever runs into this issue, I recently ran `hardlink` to quickly deduplicate my Downloads folder on my <span class="h-card" translate="no"><a href="https://fosstodon.org/@fedora" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>fedora</span></a></span> <a href="https://floss.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> system, but ran it in my home directory instead, not thinking it should cause me any problems.<br>After it ran, none of my GUI apps that use <a href="https://floss.social/tags/OpenGL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenGL</span></a> acceleration would load their interfaces (Steam, Gnome Software tool, even Thunderbird).<br>After using strace to figure out which files were 'wrong' now, I cleared the $HOME/.cache/mesa_shader* folders and voila!</p>
:gnu:Hacker<p><span class="h-card" translate="no"><a href="https://mastodon.cloud/@slashdot" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>slashdot</span></a></span> The ports to <a href="https://masto.es/tags/GNU" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GNU</span></a> (<a href="https://masto.es/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> is a kernel, not an OS) were done using <a href="https://masto.es/tags/OpenGL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenGL</span></a> and the port was made by a different studio than the one which originally developed the games.</p><p>Different code, different runtime API, different optimization effort.</p><p>Proton runs programs without modification.</p><p>If games were written with <a href="https://masto.es/tags/Vulkan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vulkan</span></a> instead of with <a href="https://masto.es/tags/Direct3D" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Direct3D</span></a>, the difference would be even wider.</p>
Iggi<p>Session 1 and source code availble for the new <a href="https://mastodontech.de/tags/amiga" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>amiga</span></a> <a href="https://mastodontech.de/tags/assembler" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>assembler</span></a> baremetal 3D engine done by Proton/Komplex. Some polishing and documenting here an there but a solid foundation for a nice <a href="https://mastodontech.de/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> like pipeline. <a href="https://github.com/slouko/Amiga-3D" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/slouko/Amiga-3D</span><span class="invisible"></span></a> Community contributions and support welcome. Share your benchmarks. Mine was taken on a <a href="https://mastodontech.de/tags/pistorm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pistorm</span></a> 32 with CM4. Also follow the twitch sessions on <a href="https://www.twitch.tv/videos/2493923994" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">twitch.tv/videos/2493923994</span><span class="invisible"></span></a></p>
T_X<p><span class="h-card" translate="no"><a href="https://mastodon.gamedev.place/@grumpygamer" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>grumpygamer</span></a></span> generally like having multiple options to be able to check and help with graphics drivers bugs on Linux. Was also surprised that <a href="https://chaos.social/tags/OpenGL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenGL</span></a> was seemingly faster than <a href="https://chaos.social/tags/Vulkan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vulkan</span></a> with <span class="h-card" translate="no"><a href="https://mastodon.social/@play0ad" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>play0ad</span></a></span> on my Lenovo T14s AMD gen3 laptop (only checked briefly though). I'd mostly be concerned about cross platform compatibility, but I guess Vulkan has you covered there. And it's also a little less of a concern for me since <a href="https://chaos.social/tags/Wine" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wine</span></a> / <a href="https://chaos.social/tags/Proton" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Proton</span></a> and <a href="https://chaos.social/tags/DXVK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DXVK</span></a> have made such a tremendous progress in the last years.</p>
MakerSpace<p>Learn how to use a Raspberry Pi 4B with Linux to solve equations for a real-time nonlinear aircraft simulation, including the emulation of modern aircraft flight displays<br><a href="https://www.makerspace-online.com/flight-simulation-on-the-raspberry-pi/?utm_source=mms" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">makerspace-online.com/flight-s</span><span class="invisible">imulation-on-the-raspberry-pi/?utm_source=mms</span></a><br><a href="https://mastodon.social/tags/RasbperryPi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RasbperryPi</span></a> <a href="https://mastodon.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://mastodon.social/tags/FlightSimulation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FlightSimulation</span></a> <a href="https://mastodon.social/tags/aircraft" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>aircraft</span></a> <a href="https://mastodon.social/tags/EFS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EFS</span></a> <a href="https://mastodon.social/tags/SourceCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SourceCode</span></a> <a href="https://mastodon.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a> <a href="https://mastodon.social/tags/OpenGL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenGL</span></a></p>
GabeMoralesVR<p>Went to go remove any <a href="https://mastodon.social/tags/microsoft" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>microsoft</span></a> games from my <a href="https://mastodon.social/tags/Steam" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Steam</span></a> wishlist, only to realize I don't have a single one on there. No <a href="https://mastodon.social/tags/activison" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>activison</span></a>, no <a href="https://mastodon.social/tags/bethesda" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bethesda</span></a>, no <a href="https://mastodon.social/tags/blizzard" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blizzard</span></a>. Turns out I haven't really been microsoft's main target for a while. I don't use <a href="https://mastodon.social/tags/Windows" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Windows</span></a>. Never used <a href="https://mastodon.social/tags/Bing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Bing</span></a>. Don't write programs with <a href="https://mastodon.social/tags/DirectX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DirectX</span></a>, I use Vulkan and <a href="https://mastodon.social/tags/OpenGL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenGL</span></a> and <a href="https://mastodon.social/tags/SDL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SDL</span></a>. Don't use <a href="https://mastodon.social/tags/OneDrive" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OneDrive</span></a>. Never used <a href="https://mastodon.social/tags/Skype" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Skype</span></a>. Don't use an <a href="https://mastodon.social/tags/Xbox" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Xbox</span></a> <a href="https://mastodon.social/tags/controller" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>controller</span></a> on my PC, I use an 8bitdo controller. Don't use <a href="https://mastodon.social/tags/Azure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Azure</span></a>. I am disconnected from them.</p>
Risto A. Paju<p>The previous demo made me dig deeper into dithering algorithms. It's something I should have done years ago, as I've been using simple random dithering now and then, and I hadn't even thought of gamma correction. One algorithm in particular caught my eye: Riemersma dithering, which uses the Hilbert curve. Compared to the usual matrices for error diffusion, the curve approach seemed easier to implement in some ways, as it has fewer edge issues.</p><p>More interestingly, it struck a chord with my earlier experiments with space-filling curves in image processing. So it was a kind of familiar territory, but it also seemed esoteric enough that I could imagine making some new discoveries. For example, play with other plane-filling curves besides the Hilbert.</p><p>The first image uses the boustrophedon curve, which makes the vertical wave patterns I recall from a number of non-dithering demos. The second curve is what I call the diagstrophedon, a diagonal zig-zag starting from the top left corner, and I think its wavy artefacts make a nice match for Venus's hair.</p><p>Then in image 3 we have Hilbert, which doesn't seem to make any particular artefacts, and I guess that's a good thing for dithering. Finally 4 uses the Peano curve, which makes some fun wiggles in light areas.</p><p><a href="https://mathstodon.xyz/tags/dithering" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dithering</span></a> <a href="https://mathstodon.xyz/tags/riemersmadithering" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>riemersmadithering</span></a> <a href="https://mathstodon.xyz/tags/stippling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>stippling</span></a> <a href="https://mathstodon.xyz/tags/halftoneart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>halftoneart</span></a> <a href="https://mathstodon.xyz/tags/raster" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>raster</span></a> <a href="https://mathstodon.xyz/tags/pixelart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pixelart</span></a> <a href="https://mathstodon.xyz/tags/hilbertcurve" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hilbertcurve</span></a> <a href="https://mathstodon.xyz/tags/peanocurve" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>peanocurve</span></a> <a href="https://mathstodon.xyz/tags/planefillingcurve" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>planefillingcurve</span></a> <a href="https://mathstodon.xyz/tags/spacefillingcurve" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>spacefillingcurve</span></a> <a href="https://mathstodon.xyz/tags/pythoncode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pythoncode</span></a> <a href="https://mathstodon.xyz/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> <a href="https://mathstodon.xyz/tags/algorithmicart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>algorithmicart</span></a> <a href="https://mathstodon.xyz/tags/algorist" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>algorist</span></a> <a href="https://mathstodon.xyz/tags/mathart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mathart</span></a> <a href="https://mathstodon.xyz/tags/laskutaide" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>laskutaide</span></a> <a href="https://mathstodon.xyz/tags/ittaide" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ittaide</span></a> <a href="https://mathstodon.xyz/tags/kuavataide" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kuavataide</span></a> <a href="https://mathstodon.xyz/tags/iterati" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iterati</span></a></p>
elisey dudin :blobhaj_sneaky:<p>text rendering finally works!! </p><p>i will add support for ttf later, but for now its implemented via a texture atlas :neoseal_3c: </p><p><a href="https://tech.lgbt/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://tech.lgbt/tags/graphics" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>graphics</span></a> <a href="https://tech.lgbt/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a></p>
Risto A. Paju<p>The recent stipplings and partitionings reminded me of this demo from about 2 years ago. In short, it's a Hilbert curve where the iteration level varies by the colour value. I wanted to make some small changes, but I ended up rewriting it completely. The shader approach seemed needlessly heavy and redundant for something that works more naturally on a CPU. But mostly it was just a fun exercise in looking at the same problem from a different angle.</p><p>The first picture shows the original idea. With the new idea, I wanted to get rid of the slanted lines; the result doesn't feel any better to me, but I guess it's interesting in its own way.</p><p><a href="https://mathstodon.xyz/tags/hilbertcurve" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hilbertcurve</span></a> <a href="https://mathstodon.xyz/tags/planefillingcurve" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>planefillingcurve</span></a> <a href="https://mathstodon.xyz/tags/spacefillingcurve" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>spacefillingcurve</span></a> <a href="https://mathstodon.xyz/tags/lineart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lineart</span></a> <a href="https://mathstodon.xyz/tags/linedrawing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linedrawing</span></a> <a href="https://mathstodon.xyz/tags/singlelinedrawing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>singlelinedrawing</span></a> <a href="https://mathstodon.xyz/tags/pythoncode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pythoncode</span></a> <a href="https://mathstodon.xyz/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> <a href="https://mathstodon.xyz/tags/algorithmicart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>algorithmicart</span></a> <a href="https://mathstodon.xyz/tags/algorist" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>algorist</span></a> <a href="https://mathstodon.xyz/tags/mathart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mathart</span></a> <a href="https://mathstodon.xyz/tags/laskutaide" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>laskutaide</span></a> <a href="https://mathstodon.xyz/tags/ittaide" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ittaide</span></a> <a href="https://mathstodon.xyz/tags/kuavataide" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kuavataide</span></a> <a href="https://mathstodon.xyz/tags/iterati" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iterati</span></a></p>
C & C++ Weekly<p>I made a FAST File Explorer in C++ using OpenGL and ImGui</p><p><a href="https://www.youtube.com/watch?v=Jk4vkr6vP38" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">youtube.com/watch?v=Jk4vkr6vP38</span><span class="invisible"></span></a></p><p>Discussions: <a href="https://discu.eu/q/https://www.youtube.com/watch?v=Jk4vkr6vP38" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discu.eu/q/https://www.youtube</span><span class="invisible">.com/watch?v=Jk4vkr6vP38</span></a></p><p><a href="https://mastodon.social/tags/cpp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cpp</span></a> <a href="https://mastodon.social/tags/macapps" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>macapps</span></a> <a href="https://mastodon.social/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
Risto A. Paju<p>I came across this halftoning idea sometime last week. While the idea was relatively easy to understand and fun to implement, I've spent quite a lot of time trying to make the result look nice.</p><p>In each row, the image is split into bins containing roughly the same sum of lightness value. This is nice to implement when the number of lines/bins is a power of 2, so we can recurse with a binary split. Thus the line density varies by average lightness. The problem is that density is considered along the x-axis. If things change a lot between rows, the lines get slanted, so they appear more dense. Here I've included some averaging between neighbouring rows to make thing a bit smoother.</p><p>I'm also including a fun glitch from the early tests. The line-density system includes the set of point coordinates and the graph structure (which point is connected to which). What happened here is my generic graph generator that simply finds the nearest neighbours of each point. So in the light areas that are compressed horizontally, the nearest neighbours were left and right.</p><p><a href="https://mathstodon.xyz/tags/halftoneart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>halftoneart</span></a> <a href="https://mathstodon.xyz/tags/lineart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lineart</span></a> <a href="https://mathstodon.xyz/tags/patterns" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>patterns</span></a> <a href="https://mathstodon.xyz/tags/texture" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>texture</span></a> <a href="https://mathstodon.xyz/tags/pythoncode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pythoncode</span></a> <a href="https://mathstodon.xyz/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> <a href="https://mathstodon.xyz/tags/algorithmicart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>algorithmicart</span></a> <a href="https://mathstodon.xyz/tags/algorist" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>algorist</span></a> <a href="https://mathstodon.xyz/tags/mathart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mathart</span></a> <a href="https://mathstodon.xyz/tags/laskutaide" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>laskutaide</span></a> <a href="https://mathstodon.xyz/tags/ittaide" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ittaide</span></a> <a href="https://mathstodon.xyz/tags/kuavataide" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kuavataide</span></a> <a href="https://mathstodon.xyz/tags/iterati" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iterati</span></a></p>
Andreas Schneider<p>As GLEW is unmaintained, uses GLX by default and the EGL part is unfinished, the best would be if projects would migrate to GLAD.</p><p>I've migrated PrusaSlicer to GLAD today.</p><p><a href="https://github.com/prusa3d/PrusaSlicer/pull/14440" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/prusa3d/PrusaSlicer</span><span class="invisible">/pull/14440</span></a></p><p>PrusaSlicer already used GLAD, the question is why it used GLEW then?</p><p><a href="https://mastodon.social/tags/opengl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opengl</span></a> <a href="https://mastodon.social/tags/3dprinting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>3dprinting</span></a> <a href="https://mastodon.social/tags/prusaslicer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>prusaslicer</span></a> <a href="https://mastodon.social/tags/prusa3d" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>prusa3d</span></a> <a href="https://mastodon.social/tags/prusa" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>prusa</span></a></p>
C:\KKJ\>:idle:<p>Yes!</p><p>I got the barebones of C + OpenGL + GLTF :)<br>Now I can start cooking remake of one of my childhood games.</p><p>Model: Sora - &gt; meshy. ai</p><p><a href="https://fosstodon.org/tags/GameDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GameDev</span></a> <a href="https://fosstodon.org/tags/VibeCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>VibeCode</span></a> <a href="https://fosstodon.org/tags/Copilot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Copilot</span></a> <a href="https://fosstodon.org/tags/OpenGL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenGL</span></a> <a href="https://fosstodon.org/tags/gltf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gltf</span></a></p>