@rep_of_a@mastodon.gamedev.place avatar

rep_of_a

@rep_of_a@mastodon.gamedev.place

Current: Team Lead @ Unity3d
Past: Compute, Animation, Rendering, GameDev

Chilling out in sunny Edinburgh

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ocornut, to random
@ocornut@mastodon.gamedev.place avatar

I know of various high-profile titles using dear imgui that are not disclosed, where I would find it fun to find a public proof, e.g. scan executables to find leftover strings or filenames.

In theory such scanner could be run on every console/steam executables if someone had access to them. Not exactly an important thing to pursue, but i occasionally considered it.

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

@ocornut you might be able to pick up a few hits scanning for imgui.ini for folk who shipped that file. https://steamdb.info/tech/

raodaozao, to random
@raodaozao@mastodon.gamedev.place avatar

Every day I find new ways to be surprised and "delighted" by Unity. Today: turns out that if a vector has a small enough magnitude, normalising it just returns... zero. Even if the magnitude isn't actually all that small. Thanks, Unity. Thunity. 😌

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

@raodaozao @vfig I'm quite agressive in my my math code with epsilon, and unfortunatly the 10 years that past since I wrote all that I can't remember why, but almost certain its todo with comparisons.

#define ROA_EPSILON (0.0000001f)

if(vec3_equals_vec3(a,b)) {

}

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

Skinning finally done, inverse_bind pose tripped me like, but in the end a silly translate/rotate/scale multiply order mistake drained the most time.

video/mp4

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

Model from Retro Spud, I like the PS1 aesthetic, but also I don't know well this is all going to go doing it on the rendering on the CPU, so the PS1 vibe also helps in that way.

https://retro-spud.itch.io/psx-elk-demon-npc-monster

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

Also the old adage of 'go to bed' worked here, up all night trying to debug this. Sit down and instantly fix it in the morning.

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

Wish I had seen booking.com's trustpilot before I used them.

Jeezus getting a refund is such a ballache with each party pointing the finger at the other, and the customer getting stuck in the middle.

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

https://eworld.social/@ismh/112320590656353986

From time to time I dream of starting a hardware company called 'Account Not Required'

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

Never done skinning/animation before so I thought I might tinker with that for a big ... first assumption have been very wrong so far, unless skeletons are supposed to look like that.

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

god my math is rusty

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

Ok this looks better, as ever silly mistake.

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

Finally got some animation, now to clean up (and fix that glitch) then can get start getting that connected to the vertices.

video/mp4

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar
  • Sigh - I thought I was done with missing faces.

Annoyingly I can re-create this scene in tenchbroom in a way that doesn't create this issue.

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

(its not a trenchbroom bug, its totally my importer)

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

I dig rust, but I do get frustrated with a lot of the how-to content. (and forums).

Search/Ask: Rust example of <x>
Result: Use <y> crate

Sometimes you just want to learn something.

Maybe its just where Rust is right now and it needs more blog posts in a time when blogs aren't just as trendy.

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

Been working on having 'Gravity Wells' manipulate a path for particles to travel down.

video/mp4

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

When is somebody gonna make laptop keys touch sensitive so they can be used as the controls for the mouse/pointer gestures etc...

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

My second interaction with AI, I remain unconvinced.

raodaozao, to random
@raodaozao@mastodon.gamedev.place avatar

I'd really like to quit tech and become a radio DJ. Just play loadsa cool music and talk an occasional bit of rubbish all day. I bet there's a lot more to it than that, but still, it can't be any worse than tech... 🎚️🎛️🎙️🎶

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

@raodaozao might need some new puns

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

Some time ago I worked for a company who always asked me to review CV's and do Interviews, the company website had loads of tasty sounding jobs.

The truth was it was all part of HR's 'hiring strategy', none of these jobs existed, and it was all out of a desire to be able to staff out the blue contracts, or fill posts that became vacant due to somebody leaving.

It wasn't just a huge waste of time for applicants but also the staff who worked there.

https://www.bbc.com/worklife/article/20240315-ghost-jobs-digital-job-boards

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

First stab of zombie AI.

video/mp4

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

My first AI experience. Co-pilot magically installed itself on to my computer some how (AI uprising?).

I was prompted to use it. So I thought to myself whats top of mind right this second hmmmm?

Slightly annoyed that this shit self installed itself, I asked it how to uninstall Co-pilot, followed the steps and it re-appeared the next day.

I actually really like Visual Studio and Win32 api (and of course games), but the rest of it can get in the bin.

javi, to random

Actually, let me use this as an example of how everything has gone wrong with web development in the last decade or so.

Dan Abramov is a very brilliant guy who is part of the Facebook's React team. He has been the most important name in the team working on React for years. And now, they are pushing for changes in React that would make it consume streams of data that updates the UI before the entire data request is completed, instead of just requesting the data and then 'painting' it once they get the reply for that request.

This is nuts. This is a micro optimization. 95% of the users won't ever notice, and those who do (people using extremely bad connections) would be much better if the site wasn't using React at all. At the same time, I'm sure half of the websites in the World who currently uses react will jump to implement this, making their code way more complex, brittle, sucking their productivity down, and in the long term, being worse for the users. Just for absolutely not even a short-term gain at all in their products.

Then why these kind of things keep happening? Because Facebook is too big. And somehow they ended being the ones in control of the most popular web-app framework used by most of the sites nowadays.

The state of the current Javascript ecosystem is what happens when you get companies with hundreds, thousands of engineers, to build sites that 15 years ago would have been built by 1/10th of that number of people. What you get is a lot of people working on a product that's actually mature already, and whose job end being going after that extra 1%, that last micro optimization that could make your site better in a very narrow set of cases. And they don't care about the complexity, because they are part of an engineering organization with literally thousands of hands to throw at any problem. Setting up your code bundler now takes hundreds of lines of code that need constant maintenance to achieve just a 5% improvement over gzipped plain JavaScript? No big deal, they have 6 people working full time on that. React switching to a different programming paradigm each two versions? Nice, now the 900 devs working in the web version has something to do for a few months.

But then small to medium teams adopt these tools. And suddenly you have a 5, 20, 50 devs team having to do the same work the Facebook web team does. Without any of the problems Facebook has to solve.

What's worse: a big share of the current JavaScript ecosystem exists just to solve problems introduced by the previous iterations. Think about it from a user perspective: does the web work any better, does Netflix, Facebook, twitter, tumblr, etc load faster, perform better than they did ten years ago? On the contrary, most of us have more powerful computers, phones. We have significantly faster internet connections. But sites are, at best, as fast as they used to ten years ago. In most cases they are even slower.

And from the engineer perspective it's not better: web development is significantly harder, more complex, slower nowadays that what it was ten years ago. Things that were trivial are now complex. Things that were complex still are. Product-wise, we are not doing anything more complex than what we were doing in early to mid 10s. But somehow now everything is harder, involves more code, everything is now orders of magnitude more complex. And it's not even making the web a better experience.

We made this mess. We made the web worse for everyone. We made our jobs harder for ourselves. It's so stupid.

RE: https://goblin.band/notes/9qyaoxpilruusopk

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

@javi Feel this is a good summary of the entire software industry.

timClicks, to random
@timClicks@mastodon.nz avatar

Difficult for a job ad to have a red flag in every sentence, but not impossible apparently.

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

@timClicks I once got sent a job description that was like. C++ for the first line. Then every other point was some reworded ‘do as you are told’ the recruiter tried very hard to convince me they were lovely people.

rep_of_a, to random
@rep_of_a@mastodon.gamedev.place avatar

Yikes! bang for buck effort for performance optimization.

Changed

int ui = u % texture_width;

to

int ui = u & (texture_width - 1)

I'm doing like 20-30 millions of these so it was a significant uplift in performance.

I wish all optimizations could be so easy.

rep_of_a,
@rep_of_a@mastodon.gamedev.place avatar

I should add this only works for powers of two numbers.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines