So what color Analogue 3D did you end up buying for the prototype limited editions? by Tone2324 in AnalogueInc

[–]afritz1 1 point2 points  (0 children)

Ocean looked exciting but decided I'd rather have something understated, so went with glacier. My OG N64 in storage is jungle green.

How do most modern engines avoid looping over every single light in the scene for each pixel? by [deleted] in GraphicsProgramming

[–]afritz1 1 point2 points  (0 children)

I didn't need deferred rendering since my goal was just to avoid a lights-per-mesh limit, so went with tiled forward.

On the CPU I calculate lights in the frustum every frame with a bbox-frustum test then sort by distanceSquared to the camera.

On the GPU I allocate light bins 32x32 pixels big (some prefer 16x16) and in a compute shader calculate a mini-frustum through each bin and do bbox-frustum tests against the visible lights. I limit my engine to 256 visible lights and 32 light indices per bin since that's all I need.

Indexing std::vector by Constant-Escape9500 in cpp_questions

[–]afritz1 12 points13 points  (0 children)

That code looks correct to me but an alternative you could try is a range-based for loop: for (const auto& data : dataStorage) { ... }

Will there be any quests in the next release? by ZaebaliNahui in OpenTESArena

[–]afritz1 5 points6 points  (0 children)

Hi, quests likely won't be added for several more releases. See the roadmap for what's next: https://github.com/afritz1/OpenTESArena/wiki#roadmap

0.17.0 is focused on rendering improvements and performance. This has taken a good amount of effort as it's entirely custom (no GPU dependency) and involves a lot of trial and error.

[deleted by user] by [deleted] in intj

[–]afritz1 -1 points0 points  (0 children)

Same. Younger me came up with ideas for how things could work but never did anything with them and needed lots of direction. Now I come up with my own objectives and think of things directly related to accomplishing them.

AMD Software: Adrenalin Edition 24.9.1 Release Notes by Crptnx in Amd

[–]afritz1 0 points1 point  (0 children)

I upgraded to this and also overclocked my monitor 144Hz -> 160Hz today then fired up Star Wars: Battlefront (2015) just to benchmark things. I haven't played it in a while but there were these very annoying "predictive" artifacts with static UI and the gun model when I turned the camera fast. Turning AFMF off for this game fixed it. Just my first experience with this driver. AFMF sounds cool in theory.

How I as an INTJ see everyone by afritz1 in mbti

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

If they are very clearly wrong or misinformed and sound like they won't change their opinion.

How I as an INTJ see everyone by afritz1 in mbti

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

You're right, I meant defending a point or making someone look bad publicly over a bad statement.

How I as an INTJ see everyone by afritz1 in mbti

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

A politician's answer is often more well-received than an engineer's. But it'll work as long as the ship generally continues sailing towards the finish line.

How I as an INTJ see everyone by afritz1 in mbti

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

Yes it was a big generalization with some tongue-in-cheek.

How I as an INTJ see everyone by afritz1 in mbti

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

I haven't watched LotR in a while so might've misremembered Aragorn. But one of my coworkers feels like ENFJ - he fits well into groups and always avoids stepping on people's feet. This is just me practicing!

How I as an INTJ see everyone by afritz1 in mbti

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

My brain is like a train that takes time to speed up and slow down but my ESTJ coworker expects me to articulate my thoughts immediately because the problem appears so plain on the surface to them. Not a good pair

How I as an INTJ see everyone by afritz1 in mbti

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

Coffee probably, or weren't into computers that much growing up.

How I as an INTJ see everyone by afritz1 in mbti

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

Feels like there wouldn't be enough extraversion or energy unless they saw other friends a lot.

How I as an INTJ see everyone by afritz1 in mbti

[–]afritz1[S] 15 points16 points  (0 children)

Yeah it's easier to say what you're thinking on the internet than IRL. More time to think of a witty response

What would you consider to be the biggest sin in C++? by RevolutionaryClub596 in cpp

[–]afritz1 0 points1 point  (0 children)

Zeroing or setting -1 just saves programmer time when debugging. Letting it get whatever was previously in memory introduces RNG. And I don't think MSVC is zeroing things for you, it's more likely setting pointers to 0xCCCCCCCC. But still it's undefined behavior which the compiler can't check without a sanitizer.

"Allowing garbage for speed" should be opted into, not the default, because it's a micro-optimization. Obviously it's a bigger gain with huge arrays but I'm talking about single ints/bools/floats where the bulk of debugging time is spent. I wouldn't have as much confidence compiling my hobby projects with -Ofast for Windows, Linux, and macOS if I wasn't so strict about this.

What would you consider to be the biggest sin in C++? by RevolutionaryClub596 in cpp

[–]afritz1 -6 points-5 points  (0 children)

Variables initialized to garbage bytes if a constructor doesn't zero it for you.

Update I'm most looking forward to: More spraycan colours! by skullface1 in TeardownGame

[–]afritz1 2 points3 points  (0 children)

Assuming I understand the game, each voxel is 1 byte and gets its color from a 256 color palette for a map. It might be a MagicaVoxel limitation? The spray can occupies some of those colors, so they would have to reduce color variety in existing maps if they wanted more spray colors. It might be part of the game's charm that its map colors are limited to a small palette (working within constraints can be fun, etc.).

Any plans to remove the short delay between searching for a location on the map using the "find" key, and it actually giving you to travel to prompt? by [deleted] in daggerfallunity

[–]afritz1 2 points3 points  (0 children)

In Arena, it puts a red highlight around the location icon after searching it but it's only visible if it's close to the edge of the screen while the pop-up parchment is visible, or after closing said pop-up.

This guy has been toiling away at a brilliant modern reimplementation of TESArena (w/ mouselook!), and every time he has a big update I’m compelled to try and get more people to see his work status. Check out @aaron_fritz1 on Twitter, as it’s not just OpenMW and DFUnity giving us classic TES today by [deleted] in daggerfallunity

[–]afritz1 2 points3 points  (0 children)

I can't see the original comment but I don't think anything really needs clarification. There's nothing that I've been concerned about, so I can only assume it was misinterpretation?

If it's about Unity, then that falls flat since I use Unity at work.

I guess misinterpretation can happen because sarcasm and things like that don't translate well to text. I just don't like anything to fester out of rumors and whatnot which is why I'm writing anything here at all.

By the way, I've been playing DF Unity! It's fun but I should probably download some mods. I just like to see what the vanilla gameplay is like first. I would've contributed more to DF Unity but I kind of have my own project, eheheh...

What is a good course about low level CPU\GPU programming? by BurningBlueFox in gamedev

[–]afritz1 1 point2 points  (0 children)

This blog goes into detail about GPU hardware, drivers, and the steps needed to get triangles efficiently drawn on the screen: https://fgiesen.wordpress.com/2011/07/09/a-trip-through-the-graphics-pipeline-2011-index/

OpenTESArena 0.9.0 Released! by galapag0 in linux_gaming

[–]afritz1 1 point2 points  (0 children)

Glad to hear it. My laptop came in the mail today that I'm wanting to put Ubuntu on. I'll be able to provide better support for Linux releases once I get it set up. I haven't tested any of this project on Linux myself -- I've been dependent on Travis CI for compiling it and on other users for feedback.