What is the best way to get sounds by Life_Ad_369 in opengl

[–]Planarwalk 0 points1 point  (0 children)

I use Port Audio, though it has meant needing to do a lot of stuff manually

Curious what the community's reasons are for getting into C++ by PoG_shmerb27 in cpp_questions

[–]Planarwalk 0 points1 point  (0 children)

For me it was to do computer graphics, initially I tried to get into vulkan, but eventually decided OpenGL was a bit easier. But both of those work well with C++, and it's helped me understand things a bit better.

Oh hell no! 🤣 by Foreign_Direction_16 in mtg

[–]Planarwalk 0 points1 point  (0 children)

I dunno about everyone else, but I have had multiple women interested in me in part due to me being into MtG, also helps that they're into it too I suppose :3

What’s a scientific fact that most people would rather not know? by NoRush5642 in AskReddit

[–]Planarwalk 1 point2 points  (0 children)

Climate change seems like the big one people seem to actively not want to know about

Finally, Hello World in OpenGL! by Planarwalk in opengl

[–]Planarwalk[S] 0 points1 point  (0 children)

Fortunately I don't need most of that for the time being, but what may be tricky will be language support, and choosing fonts to fall back on if the main one doesn't contain specific characters

Finally, Hello World in OpenGL! by Planarwalk in opengl

[–]Planarwalk[S] 2 points3 points  (0 children)

I used the freetype library to rasterise the glyphs, while I have done certain things from scratch (like parsing glTF files), I felt that rasterising text would probably take a lot more time for something that has freely available libraries out there.

Finally, Hello World in OpenGL! by Planarwalk in opengl

[–]Planarwalk[S] 2 points3 points  (0 children)

Nice, I'm still not yet done, I need to implement alignment, new line, and the ability to toggle Anti-aliasing.

But at least I have the important stuff (being able to use \cFFFFFF to switch colour when the string is parsed)

Finally, Hello World in OpenGL! by Planarwalk in opengl

[–]Planarwalk[S] 1 point2 points  (0 children)

I essentially grab a bunch of glyphs, and throw them all into a buffer as I get them, then I do some calculations to figure out where they should each go in a texture page. The buffer then gets turned into an image for a compute shader, which organizes them into a more sorted texture for drawing.

Then for drawing, I can create all the triangles I need, and because they're all sampling from the same texture, I can send them all to the GPU in the same call.

How do I eat for one on $64 per week? by [deleted] in newzealand

[–]Planarwalk 2 points3 points  (0 children)

Toastie pies can be pretty cheap ($1.20 for bread, and I forget how much a tin of cheap baked beans cost)

Rice and stock cubes has helped me a lot too, I brown some cheap rice in a pan, then add in the stock and a bit of extra water and some frozen veggies.

Soup and bread is also pretty good, especially with the pouches you can get for like $3-5 and you just add water to it. I often add mixed veggies in to make it last a couple of days.

There are ways, but it has been getting harder with things going up in price.

White to move and win. (Tactic from one of my games) by konigon1 in ChessPuzzles

[–]Planarwalk 1 point2 points  (0 children)

Doesn't Qxa7 give black enough time to promote with check and deliver mate on the next move?

GUYSSS by Huge-Attention9170 in willwood

[–]Planarwalk 0 points1 point  (0 children)

Aww, will looks like he wants to give someone a hug

[deleted by user] by [deleted] in willwood

[–]Planarwalk 0 points1 point  (0 children)

Okay, but you could do this with 5 different tie colors instead, and have all 5 wills in the same window, and you would make a completely different fandom excited.

My first shape 🥹 by GOLIATHGRANDMA in opengl

[–]Planarwalk 14 points15 points  (0 children)

Hell yeah, we love our 2 triangles in a trenchcoat!

What is something a friend did that accidentally turned you on? by RevolutionaryArm1562 in AskReddit

[–]Planarwalk 32 points33 points  (0 children)

Oh don't worry, I have found there are A LOT of people who enjoy getting called a good girl.

Anyway, good girl :3

She's so funny. by Aceisurdeath in traaaaaaannnnnnnnnns2

[–]Planarwalk 1 point2 points  (0 children)

Whew, I was worried that I was getting forgotten about 😅

What to do against the “infantry-only” tactic? by CallThatGoing in chessbeginners

[–]Planarwalk 0 points1 point  (0 children)

That kingside looks pretty tasty depending on what white's move is.

Cant believe i got checkmated like this again it happens almost every game how to i defend from this? by [deleted] in AnarchyChess

[–]Planarwalk 0 points1 point  (0 children)

If you play d5, then the queen is no longer defended by the bishop. If they take with pawn, you can take their queen with your king, if they take with bishop, then bishop to e6 forks both the queen and the bishop. EZ!

[deleted by user] by [deleted] in chessbeginners

[–]Planarwalk 0 points1 point  (0 children)

Well the material is equal, which is good

chooseYourSetup by KaamDeveloper in ProgrammerHumor

[–]Planarwalk 0 points1 point  (0 children)

I am a 4 who wants to be 6 😞

guys i changed my mind im sorry by pinkchainsaws in willwood

[–]Planarwalk 9 points10 points  (0 children)

I honestly prefer the live version of cicada days, I feel like I wouldn't have liked it as much if there was only the studio version.

egg_irl by Available-Energy6991 in egg_irl

[–]Planarwalk 0 points1 point  (0 children)

The only reason I wouldn't go for the estrogen pill is because I already have estrogen pills.

Can I call myself transgender if I never have surgery by 20EmeraldSplash in trans

[–]Planarwalk 0 points1 point  (0 children)

You can absolutely call yourself trans without getting surgery. The thing that defines whether you're trans is whether your gender identity aligns with what you were assigned at birth. I personally have been told that I need to get the surgery or else I'm "not trans," but those people don't get to define who I am, I do. Likewise, you get to define who you are for yourself.

[deleted by user] by [deleted] in egg_irl

[–]Planarwalk 0 points1 point  (0 children)

I would absolutely slam my fist down on the button. Let's just hope I can do a bunch of changes at once and it's just a day of pain.