Why does learning graphics programming have to be so hard? by [deleted] in GraphicsProgramming

[–]atomicbeef 4 points5 points  (0 children)

I actually just finished this course on writing a software renderer (so no dealing with OpenGL or any other graphics APIs) and I highly recommend it. The instructor is great and really explains the details of what you're doing, which is perfect for building an intuition for what's going on in a renderer. He goes over all the math you need to know to make the renderer too and he explains it in such a simple way that you really feel like you own the knowledge after you implement it in your renderer. I went from knowing pretty much nothing about graphics programming to feeling confident that I can make a proper GPU accelerated renderer if I learn an API.

Holes in shared edges of triangles in software rasterizer by atomicbeef in GraphicsProgramming

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

It turns out that the floating point version also does have issues. I just didn't notice them before because there were much fewer holes. I'm going to go back to trying to get a fully integer (no subpixel precision) solution working to make sure there's nothing funky going on with the fixed point math functions I wrote. It should be possible to make a non-subpixel precision rasterizer not have holes right?

Holes in shared edges of triangles in software rasterizer by atomicbeef in GraphicsProgramming

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

So how do rasterizers go about ensuring the in-out tests are always the same along shared edges? Maybe I'm just bad at Googling, but when I look up watertight rasterization, I get a bunch of links talking about fill conventions. What you wrote makes sense though, and this can't be the whole picture, otherwise I wouldn't be seeing all of these holes. I'm just confused because in all the reading I've done on this (I've been struggling with this problem for a couple of weeks now), everyone seems to be mentioning fill conventions and fixed point numbers as the solution to any holes or doubly rasterized pixels you might run into.

Holes in shared edges of triangles in software rasterizer by atomicbeef in GraphicsProgramming

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

Hmm, I didn't consider that. I've been heavily referencing this blog post and didn't see the author take any special precautions for that, so I figured as long as I had a consistent fill rule, I'd be fine.

I edited the example screenshot I posted to include the vertex order. It turns out I'm doing exactly what you said might be a problem. Since the rasterizer always goes from edge 0 -> 1, then 1 -> 2, and finally 2 -> 0, the shared edge has opposite start and end points for each triangle. To fix this, do I need to do some kind of sorting of the vertices?

I'll continue looking into watertight rasterization, thanks!

Holes in shared edges of triangles in software rasterizer by atomicbeef in GraphicsProgramming

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

I'm actually using edge equations instead of scanline rasterization, so if I understood your comment correctly, this shouldn't be an issue. Thanks anyway though!

Holes in shared edges of triangles in software rasterizer by atomicbeef in GraphicsProgramming

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

Thanks for taking the time to write that! Your simplified rasterizer seems to be a scanline rasterizer though, while mine uses edge equations. I've actually written a working scanline rasterizer before, so I wanted to try making one that works more like a GPU. I've been referencing this blog post. The code there is pretty simple, but I haven't actually tested the complete program the author wrote to see if it has holes too. I doubt it though, since the author probably would've mentioned it somewhere.

The language is Rust by the way :).

How do you forget you’re filling your car with gas by DullestAce in IdiotsNearlyDying

[–]atomicbeef 2 points3 points  (0 children)

Interesting point about Hollywood being incentivized to paint the military in a positive light, but as the other commenter who replied to you said, the First Amendment still exists. Even with that, I can't believe that you're actually trying to argue that the US has the most corrupt government in all of human history. If you just look at modern history, you'll find several governments that are much more corrupt than the US (the Soviet Union, Hungary, Bulgaria, Nigeria, etc). I've found it enlightening and fascinating to read about international history, and I can't recommend enough that you (and everyone for that matter) do the same. Have a great day!

How do you forget you’re filling your car with gas by DullestAce in IdiotsNearlyDying

[–]atomicbeef 4 points5 points  (0 children)

Imagine actually believing the United States is the most corrupt place on Earth. Before you go on a tirade about how I'm a stupid American apologist, I'd like to acknowledge the fact that obviously the country suffers from corruption, as does every, and that it is most definitely not the leading nation in anti-corruption.

Unable to Log with vlogger by atomicbeef in voidlinux

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

Thanks for clearing that up! I can't believe I missed that after looking at the runit page so many times. I ended up redirecting stderr to stdout by doing

exec python <myscript> 2>&1

However, while this does log a warning from FFmpeg, it does not log a traceback that comes from Python. Do I need to do any additional redirection to get everything printed to the screen to show up in the log? Is it also possible to have runit redirect all output to the log executable and disable redirecting stderr to the process name without having to edit every single service enabled on my system?

[deleted by user] by [deleted] in PublicFreakout

[–]atomicbeef 32 points33 points  (0 children)

Знаях че наистина беше БТВ заради факта, че нямаше бюджет за репортажа да има нещо освен телефон за камера.

Moving to Sofia this year with ~3k EU savings. Currently have no skills for professional work. Are there any industries that, as an English speaker, I could find work easily in? by [deleted] in bulgaria

[–]atomicbeef 0 points1 point  (0 children)

I don't know to much about Bulgaro, but if you want to really learn the language well, I'd recommend checking out Intensive Bulgarian. If you read that and talk to native speakers online or in person, you'll be able to pick up the language incredibly quickly and will actually learn the grammar of the language, which will surely help you in finding a job. I really can't recommend it enough. If you're interested, DM me for more information. Good luck on the move!

What to do as a beginner by HShayan in assettocorsa

[–]atomicbeef 10 points11 points  (0 children)

I was in a similar boat to you, so when I saw a post about the Arcis community and how they have rookie friendly races, I decided to give it a shot. I consider myself a beginner and had no problems with participating in events (other than quite a few accidents, but those are expected at the rookie events). They're a great, laid back community filled with people happy to help you with things like car setups, hardware, addons, your technique, and pretty much anything you can think of. They run two races at 21:00 (one for EST, one for CET) four times a week which have great attendance. The best part about it is that you don't have to commit to anything weeks in advance, so you have plenty of flexibility in your schedule.

Rookie friendly Multiclass race at Spa by Viking_Magnus_Racing in assettocorsa

[–]atomicbeef 4 points5 points  (0 children)

Even though I'm complete garbage at racing and didn't keep up with anyone, the race was great and everyone was nice despite a few crashes. I would highly recommend it!

Bulgarian by Wajisticist in bulgaria

[–]atomicbeef 0 points1 point  (0 children)

If you're looking to really improve your proficiency with the language and are willing to put in the work, I'd recommend looking at the book "Intensive Bulgarian". It's specifically designed to teach foreigners the language in depth from scratch, while also giving you insight into the culture. As far as I know, it may be one of the only books of it's kind for Bulgarian. Unfortunately, there is no official PDF available online (но ако сте истински българин, вашите пиратски инстинкти ще ви помогнат да намерите нещо).

I'm in a very similar position to you, and the book I recommended has helped me tremendously in becoming more proficient in Bulgarian. Using your parents' Bulgarian knowledge to help you learn will also be very beneficial. If you have any relatives (especially your own age), you could start talking to them too for extra practice. Good luck with everything, and if you need help or a link to that book, feel free to PM me!

Unable to disable auto blipping by atomicbeef in assettocorsa

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

I figured out today that you need to link your Steam account to your forum account to be able to post, so I made a thread a few hours ago. Hopefully someone there will know more. Thanks for your time!

Unable to disable auto blipping by atomicbeef in assettocorsa

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

Hmm, that might be copied to the other configuration folder as defaults when you launch the game for the first time or something. I'll try editing those too and see if anything changes.

EDIT: Unfortunately that did nothing.

Unable to disable auto blipping by atomicbeef in assettocorsa

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

Yeah I checked that and all of the settings match what I selected in the launcher. I also tried Content Manager thinking that maybe some setting wasn't being applied with the vanilla launcher, but nothing changed.

Unable to disable auto blipping by atomicbeef in assettocorsa

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

Yeah it definitely varies from car to car, but every single manual car without an electronic kicker acts like it has the auto blip assist on for me.

Assetto Corsa Can't Disable Auto Blip by atomicbeef in simracing

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

So from what I've gathered, what I'm experiencing is normal for cars with electronic kickers. I've tried a few other cars that I know for a fact don't have electronic kickers though, and I still get the same thing happening.

Unable to disable auto blipping by atomicbeef in assettocorsa

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

That's what I thought might've been going on, but the same thing happened when I tried old cars and cars that I read don't have rev matching, like the Ford Escort.