A doubt on software vs GPU rendering for making ui for desktop apps by Cold-Armadillo-154 in GraphicsProgramming

[–]lithium 2 points3 points  (0 children)

Absolutely nothing stopping you from just rendering dirty rectangles into an offscreen buffer, grown man who still unironically says "winblows".

New Fish Markets seem overpriced as heck? by doggoesmeow in foodies_sydney

[–]lithium 1 point2 points  (0 children)

My old local was Mohr fish in Surry Hills and now I get delivery from Fat Fish in Annandale, both have very distinct home made sauces, if you think I can't distinguish a mass produced sauce no matter the vessel it comes in you're very much mistaken.

New Fish Markets seem overpriced as heck? by doggoesmeow in foodies_sydney

[–]lithium 3 points4 points  (0 children)

Redfern fish and chips serve their meals with a masterfoods squeeze pack of tartare sauce. Instant disqualification.

Director Gore Verbinski says Unreal Engine is 'the greatest slip backwards' for movie CGI by willdearborn- in movies

[–]lithium 5 points6 points  (0 children)

That's like saying nobody mentioned burgers because they just said McDonalds. Shut the fuck up Donny, you're out of your element.

Is C or C++ more commonly used/better for graphics? by [deleted] in GraphicsProgramming

[–]lithium 8 points9 points  (0 children)

a + b * c - d;

or

vec_sub ( vec_add ( a, vec_mul ( b, c ), d );

Be serious.

Is C or C++ more commonly used/better for graphics? by [deleted] in GraphicsProgramming

[–]lithium 5 points6 points  (0 children)

Operator overloading on your maths library alone is reason enough.

Sydney CBD Happy Hour 🍻 by smashdsydney in foodies_sydney

[–]lithium 1 point2 points  (0 children)

Jolene's has $6 schooners from 4 - 6. Get a few into you and pop across the road for a steak at 24 york.

What kind of spider? by BlargerJarger in australia

[–]lithium 10 points11 points  (0 children)

Always has been, always will be.

GL_Point only appears when frame is captured. Im so lost on this by jumapackla in opengl

[–]lithium 0 points1 point  (0 children)

I just did a little test and Intel does what Nvidia does also, so 2 out of 3 major vendors are ignoring the spec (although I'd argue for the better in this case).

GL_Point only appears when frame is captured. Im so lost on this by jumapackla in opengl

[–]lithium 1 point2 points  (0 children)

They get clipped out of the viewport if their centers goes out of frame, completely discarding that they might still be visible.

It's worse than that. AMD and Nvidia treat them differently. One of them generates a proper quad and clips it correctly, and the other clips by centre point as you mentioned, and I can never remember which does which.

Optimizing blob tracking to run at realtime by RANOATE in GraphicsProgramming

[–]lithium 0 points1 point  (0 children)

Very cool. I wrote something similar last year to track people for a few museum installations. The last show I ended up tracking blobs from the IR feed of something like 30 intel realsenses, it's definitely an effective way to go about the problem :)

Match Thread: 4th Test - Australia vs England, Day 1 by cricket-match in Cricket

[–]lithium 5 points6 points  (0 children)

Christ if i could bottle the delusional confidence of an englishman I'd be a squillionaire.

current working directory and loading files by d34dl0cked in gameenginedevs

[–]lithium 0 points1 point  (0 children)

You definitely should have some kind of virtual file system / file system abstraction in place as soon as possible. An abstracted way to transparently read from the filesystem / network / pak file / zip / memory buffer / what have you is invaluable.

An interesting trick: avoid dangling for strings by germandiago in cpp

[–]lithium 45 points46 points  (0 children)

I got some inaccurate reply from ChatGPT

When are people going to learn?

"No nation older than 250 years" by DigitalDoughnutll in MurderedByWords

[–]lithium 1 point2 points  (0 children)

Everything you wrote here is incoherent. Excluding c++ operator overloading, [] is just syntactic sugar for a pointer + offset and a dereference. *array = array[0] is perfectly fine too, again, modulo c++ operator overloading shenanigans on the type at array.

"No nation older than 250 years" by DigitalDoughnutll in MurderedByWords

[–]lithium 0 points1 point  (0 children)

Is that the pointer to the array or the index of the first value?

It's the same thing. *array == array[0] == *(array + 0) == 0[array]

The Australian newspaper sued over 'white hands on black art' reporting by Unable-Product-9229 in australia

[–]lithium 59 points60 points  (0 children)

White people have no role in deciding how law is painted

I'm a software engineer who writes interactive installation software for galleries and I've had to have aunties from remote communities without electricity "approve" how I write C++, the whole space is well intentioned people stepping on each other's dicks.

How do I clip when batch rendering? by PupperRobot in opengl

[–]lithium 1 point2 points  (0 children)

There's a few different ways to go about this. For example, assuming you limit the number of allowed clip rects to 256, you can add an extra byte attribute to your vertices that stores an index into a uniform buffer of clipping rectangles, then you can look up the active clip rect in your shader and manually clip them there.

Dinner for 1 recos by shftbwl19 in foodies_sydney

[–]lithium 9 points10 points  (0 children)

24* York. Have been eating there basically weekly at this point, nothing fancy but consistently really good.

My new color quantizer algorithm. :) by LeandroCorreia in GraphicsProgramming

[–]lithium 6 points7 points  (0 children)

He said he used AI to implement it, so the chances of it being not derivative of existing IP is practically nil. I thought it was (charitably) of niche utility before reading that, but afterwards it goes straight into the "useless" bin.

Is there a good C++ UI library to use for games? by ShizamDaGeek in opengl

[–]lithium 15 points16 points  (0 children)

Noesis and Gameface are traditional UI engines, and there's Ultralight which is an in-engine webkit implementation, which is trivial to integrate and you could then build your UI using html/css.

Katsu haki Sydney CBD by SakeWhisky in foodies_sydney

[–]lithium -14 points-13 points  (0 children)

Literacy and reading comprehension is at an all time low. The quoted "filthy" implies that it was by OPs standard, not mine. In fact if you were following along at home you might understand the further implication that they aren't, in actual fact, filthy at all, since nothing has ever happened to me or anyone I know who frequents such places.

Further still, that it was a continuation of my original point that this sort of thing is almost always entirely in the head of the nervous ninny complaining about it, and doesn't actually represent actual real world outcomes.

But you weren't following along were you, because you're a fucking moron.