Posts by dioma@kiwifarms.cc
(DIR) Post #AUzNBdRNFPzq9SNqqm by dioma@kiwifarms.cc
2023-04-24T21:03:00.550624Z
0 likes, 0 repeats
@crunklord420 also as a bonus, once you have a room system you can do easy sound propagation calculations and line of sight stuff for npcs.
(DIR) Post #AUzVEjO6OLlL6AqAr2 by dioma@kiwifarms.cc
2023-04-24T22:32:58.703290Z
1 likes, 0 repeats
@RustyCrab @deprecated_ii according to the rule of 3 you have about 3 weeks without food till you drop dead. Maybe it's a psychological thing if you dread food? Would you eat a little piece of candy?The others are right. Go to a doctor if this continues. Don't starve to death in a land full of morbidly obese people! Don't let them win!
(DIR) Post #AV4Y3KF8oFFta7hZNA by dioma@kiwifarms.cc
2023-04-27T08:58:18.901747Z
0 likes, 0 repeats
@crunklord420 I don't know of any lightweight 3d physics engine, only 2d ones. What do you need physics for? Preventing the player from walking through walls? That's easy enough to implement as long as you stick to only a few basic collisions shapes (aabb, sphere). The hard part is simulating real physics objects with rotations and constrains, but you probably don't need that.Maybe there is a library that only implements the seperation of axis algorithm.
(DIR) Post #AV5Xq0M7dKN7INZinQ by dioma@kiwifarms.cc
2023-04-27T20:30:35.237990Z
0 likes, 0 repeats
@crunklord420 dunno how big your physics time steps will be, but on normal engines with normal movement speed it's usually not a problem.You could also divide the movement into smaller steps and do multiple colission checks on the path.Eh, I don't know too much about custom colission code. I've only implemented one for a voxel engine and that is pretty trivial.
(DIR) Post #AV5YYfTe6egJZZOKSO by dioma@kiwifarms.cc
2023-04-27T20:38:40.767534Z
0 likes, 0 repeats
@crunklord420 have you heard of gjk/epa?Doesn't solve the tunneling issue, but it's a robust algorithm to resolving colission between all kinds of primitives. (every shape that you can write a closest point to algorithm)I've implemented those for my own engine based on these articles before doing something simpler for the voxel engine. The code is all there. Worth checking out. https://blog.winter.dev/2020/gjk-algorithm/https://blog.winter.dev/2020/epa-algorithm/
(DIR) Post #AV5Yod6qg2gcrYL6My by dioma@kiwifarms.cc
2023-04-27T20:41:32.139731Z
0 likes, 0 repeats
@crunklord420 you should. Decoupling framerate from game updates is always a good idea. Your physics engine needs to run at constant simulation ticks. The whole math breaks down if the delta time between ticks changes too widly.
(DIR) Post #AV5ZUu9dh7GrtCnq6a by dioma@kiwifarms.cc
2023-04-27T20:49:13.004467Z
1 likes, 0 repeats
@crunklord420 gjk/epa can be used for any shapes. It's just a neat algorithm that gives you:- collision check- shortest vector to resolve penetrationYou need that latter one to actually know how to resolve the collision. It's not enough to know if two objects overlap. You also need to know how to best resolve that overlapping. (okay for spheres only that is trivial. But spheres and boxes?) Gjk/epa does that.
(DIR) Post #AV5aEMGq0RR47ZqNYu by dioma@kiwifarms.cc
2023-04-27T20:57:24.800489Z
1 likes, 0 repeats
@crunklord420 also once your physics engine is guranteed to run at a certain tick rate, tunneling can only happen when objects move really fast and not because of framerate drops anymore.Then you can just not allow your player to move at the speed of sound and the tunneling problem solves itself.
(DIR) Post #AV5zTZTzfCDAIPLeVs by dioma@kiwifarms.cc
2023-04-28T01:40:18.606721Z
0 likes, 0 repeats
@fartkartDoes ___ still hold up in [current year]?Why ___ was much better than you remember.The most important movie no one has seen. Should you watch _____? ____ might be the worst movie of all time. Why ___is genius. ____: how it went wrong.
(DIR) Post #AV6eFNKK9t8Qf4AuBc by dioma@kiwifarms.cc
2023-04-28T09:17:08.804985Z
1 likes, 0 repeats
@crunklord420>This function only uses basic arithmetic but - and / are not well behaved in a floating point context.Oof, I'm getting shadow volume flashbacks. Precision errors are the absolute fucking worst. I have personally wasted days on those.How big are your boxes? Could help to make em bigger if they are especially small...
(DIR) Post #AV6mfmQEHDpreh2Sbw by dioma@kiwifarms.cc
2023-04-28T10:51:33.019314Z
0 likes, 0 repeats
We have reached the cargo cult phase of ai.https://youtu.be/MnDudvCyWpc"Oh mighty language model, I besiege thee, act like Socrates and teach me how to learn best.Guide me through a visualization excercise to help me internalize the opportunity cost and imagine myself successfully applying irl." Normies wield chatgpt as if it was a magic wand.
(DIR) Post #AVA6ZDNEFoKpm5f6Cu by dioma@kiwifarms.cc
2023-04-30T01:18:36.553925Z
3 likes, 3 repeats
(DIR) Post #AVA6wwVEdBmWOtilPc by dioma@kiwifarms.cc
2023-04-30T01:22:54.171309Z
0 likes, 0 repeats
Having to get used to not having to solve a captcha before every post.I'm not ready this level of trust!
(DIR) Post #AVBxNNxkY1jbrywsXQ by dioma@kiwifarms.cc
2023-04-30T22:45:02.745322Z
1 likes, 0 repeats
@RustyCrab ooh do you know how to draw? Or is it just for getting better at osu!?
(DIR) Post #AVBxbvihpreacWqbJo by dioma@kiwifarms.cc
2023-04-30T22:47:40.385399Z
0 likes, 0 repeats
@RustyCrab don't quite know what that is, but it sounds like a form of drawing?
(DIR) Post #AVByXq7IpIRa2Pxw4e by dioma@kiwifarms.cc
2023-04-30T22:58:08.705831Z
1 likes, 0 repeats
@RustyCrab crab is literally deciding if people live or die as a day job. RespectIm trying to learn how to draw stick figures with muzzles. About half a year in and still struggling hard to use my tablet. Ergh, only 10billion years of practice left to go
(DIR) Post #AVEAps2ryyIYzvAzzc by dioma@kiwifarms.cc
2023-05-02T00:25:16.808453Z
0 likes, 0 repeats
How come that the mentally ill can draw so well? Like, I can't picture one of these gender queer, non binary, perpetually offended people actually sitting down and studying anatomy. What is up with that?
(DIR) Post #AVEDcIHhvbyiBaKnGS by dioma@kiwifarms.cc
2023-05-02T00:56:25.984547Z
0 likes, 0 repeats
@Hagen it's not just repetition. Learning does require self reflection, discipline and cognitive work. And that's the crux of the question. Learning art is hard. Usually people who are into gender stuff are loosers. Loosers aren't known for working hard on anything. (most troons don't even try to pass, alphabet people commonly don't have jobs, etc...)Idk... Either Art is in some way different from everything else, or those good artworks are produced by a less crazy subset of the rainbow people.
(DIR) Post #AVKZh77CFP1EvqsgC0 by dioma@kiwifarms.cc
2023-05-05T02:32:06.085585Z
1 likes, 0 repeats
@NaiJi cool cover art
(DIR) Post #AVLDADwponh4jZuEhE by dioma@kiwifarms.cc
2023-05-05T09:54:20.737834Z
1 likes, 0 repeats
I hate corporate cowardice culture. Stop covering your ass and make a decision without asking 10 people for their opinion on it. I know it's not an original thought but Im just living through it right now.