Skip Navigation

Posts
3
Comments
310
Joined
3 yr. ago

  • that's how it's implemented, mostly, but sometimes dice "stop" while they're still tilted and standing on a corner (and then roll back down, possibly going back more than 1 face) so there's also that.

  • XD I am! And it was a complete nightmare. hahaha

  • lol but it's not finished and everyone will see how stupid my code (and brain) is D:

  • I can easily check for when motion stops, but checking for when any particular face is both parallel to the floor and at the same level can be computationally expensive, particularly in the dice with more sides. What you're suggesting is likely a good idea, but I wouldn't know how to get probabilities without doing what I just mentioned. I'm sure there's an optimization i can do with this that I can't think of rn.

  • Thank you! haha

  • hahaha you seem to be familiar with the issues I ran across

  • Jebus I don't even know how long I've been working on this. It started out as a way to teach myself bash, combined with my long obsession with rendering platonic solids. I previously coded a huge galaxy of hundreds of thousands of polyhedra you could fly across in python with opengl shaders and got to reuse/translate a lot of that code. The quaternion stuff I was grateful to not have to rethink that much again. haha. And yes, integer-only! Some params are "floating point" but i just parse them and add a bunch of zeroes so i can later do all the operations with equally blown up values of pi and trig stuff from "lookup tables" (case matching).

  • the final resolution stage was a huge headache and as you can see, one I didn't fully solve. Basically when the dice finally settle, particularly those with more sides, lots and lots of micro collisions happen in close sequence, each one having to apply friction and bounce back. As velocities come close to be rounded to 0, the bounce back effect and force of gravity no longer provide movement, but the final angle of the bottom face may not be fully settled on the floor. So basically if i don't ignore all these tiny collisions I get the frame rate drop you see and if I do, I can arrive at not fully settled states which can become ambiguous result-wise in, say, the 20-sided die.

  • heh yeah, was just making a joke.

    I've definitely seen several examples of the stereotypes you pointed out in your previous post, too, so no argument here.

    The 1800s must have definitely been a wild ride. Interesting study case too. New forms of mass media running wild, automation generating a handful of people unimaginable wealth. Yep yep. Definitely worth looking into.

    Thanks for taking the time to share. :)

  • I play Deep Rock Galactic, a game where you're a dwarf in space and are enslaved by a dystopian mining corporation with no hopes of escape. The game is a survival horror mission thing where you go into mines, shoot the hostile wild life and get minerals so the mining corporation can profit. I wonder what that says about me...

  • Isn't that gravity though

  • That's the neat part. It doesn't! We have a 2 party system under a highly centralized government with some elected regional positions with no real relevant regional power. They're mostly considered "gift positions" political parties choose people to run for as favor exchanges. Municipalities and city/neighborhood level gov institutions are elected and do hold actual power to change the well being of their neighborhoods, but they are notorious for being toxic dens of corruption and thievery. There have been a few good mayors that have done wonders regarding crime, green areas or sports and whatnot in their neighborhoods, and when they do it's common for them to later run as presidents or senators. Our senators and congressmen basically never go to the briefings or even votes. There have been innumerable critically important issues and cries for useful regulation in many regard, particularly the last few decades, and if there are no serious votes or money in play, nothing gets passed... or worse, no one reads what gets passed leaving our legislative corpus plagued with loopholes born out of both incompetence and ill will. Our ignorant population keeps providing these people with power, only to see them sell off our critical natural resources, ecosystem, rights and well being to foreign interests. The right wing's in bed with the US and the left has been in bed with China for a while, formerly Spain. They set their abusive companies up, take all our money for basic services and critical infrastructure, and what do you know? Regulation is always incredibly convenient for them, and a very small amount of politicians and/or business types get rich by helping them destroy our society.

    If I see someone that's worth voting for, I'll vote for them. This has just has not happened so far.

  • That 's why I don't believe in politics.

  • Healthy right wing politics often promote the possibilities of small businesses to thrive in ethical ways, not the defense of unholy monopolies or abusive employment conditions. They are also more traditionally concerned with individual freedoms and right to privacy. What we are seeing now in US and global politics is not a balanced representation of right wing any more than pol pot is a fair representation of the left. It's a full blown authoritarian police state kleptocracy, and as us in the third world can testify, these can come from either side.

  • Cabron

    Jump
  • You might need to see them, but I assure you, you don't want to.

  • It's very safe to assume you're better informed about him than I am. There was definitely a smudging campaign that we caught a lot of here, and I don't remember the charges he did time for other than them vaguely being about 'corruption'. I think it's pretty safe to assume he was taking more than a little something on the side, as it would be with the vast majority of our presidents, but I won't hold that against him. I vaguely recall something about money laundering and a luxurious apartment. But anyway, that's not my issue with him. He had close ties with Christina Kirchner, which is well known to have had people killed for investigating her, and i remember something about him and her wanting to make some kind of latin american alliance thing which I consider a terrifying idea. There were also stuff about political persecution of the bolsonaro nutjob proteters but I'll take that with a big pinch of salt.

    Anyway, I'll take your word over mine and edit my post.

  • I mean I get what you're saying. You want a revolution? Go nuts. Just don't come whining to me when it gets cooped by the same people or the same degree of scumbags that caused it.

    The problem was never about what we or others have or don't have in the external word.... I would expect a firewitch to understand this

  • You seem to be under the impression that my country's form of government and electoral system works like the USAs