Avatar
Ademan
d4055a426817adebf6a7c1519b73a6c69135f24b24e09e59a6d1dfedebecf0a9
Replying to Avatar mu

pleroma-tan a cute

I’ll never stop being amused by the lengths people go to avoid writing a tiny bit of SQL.

Do you know what the motivation for this over just-using-postgres was? I’m confident you can beat postgres if you’re careful and thoughtful, but I’m also reasonably confident rolling your own system like this is at minimum going to be brittle, and probably have at least as many performance pitfalls at the end of the day.

finally, the perfect stock image!

I’ve held off on watching it cause of the weird stuff, but I’m always drawn to media about exploring something mysterious and dangerous (the zone, the abyss, the ocean, space, etc). If the weird stuff stays unobtrusive I might have to check it out.

The fuck you doin in there dude? 😂

Thanks!

If I’ve got a 100W load (12V DC, no inverters just its own power regulator, this is an estimate but ballpark) and want to charge a battery for night running as long as possible, would a single 250W panel do or do? There’s obviously multiple reasons it needs to be bigger than the nominal wattage of the load

inefficiency (panel inefficiency, actual sun conditions, battery charger/regulator inefficiency)

battery charging during the day

Are there calculators to estimate this sort of thing?

Replying to Avatar binkle

nostr:npub16sz45sngz7k7ha48c9gekuaxc6gntujtynsfukdx6807m6lv7z5sgw378f not yet, although I should do that

I’m willing to bet you’re right and it is the projection, but tbh I have no idea what these glm::ortho() values should be. Right now I’ve got:

glm::mat4 lightProjection = glm::ortho(-1000.0f, 1000.0f, -1000.0f, 1000.0f, 0.0f, 5000.0f);

which should give me a VERY big projection, but that seems necessary since the sun is far away

and

light_view = glm::lookAt(Sun::dir * 900.0f,

glm::vec3(0.0f,0.0f,0.0f),

glm::vec3(0.0f,1.0f,0.0f));

which should give me a view matrix roughly where the sun is currently located, looking in the direction of the center of the map.

do either of those look totally whack?

sorry fighting fires at work

Replying to Avatar binkle

nostr:npub16sz45sngz7k7ha48c9gekuaxc6gntujtynsfukdx6807m6lv7z5sgw378f I'm coloring the shadows red and the results make NO sense to me. They're receding as the sun goes up but they're going the wrong way

https://media.clubcyberia.co/pleroma/4d01f91498fc77be40b8f26ba5ca6d3673ebe7230911ba9d6c1f4d718ebe8989.mkv

have you tried peeking at the shadow map to see if it looks plausible? If I was going to guess I’d say you’re projecting it wrong though.

welcome to the bag! whoever you are

it really is her

rats and cockroaches, but cute

😂 😂 😂

I wonder how truth social boomers would respond to that