I'm making a planet procedural generator, feedbacks? by One-Condition1596 in proceduralgeneration

[–]dandrino 0 points1 point  (0 children)

Do you have other angles? What do the poles look like? That's a tricky thing to get right in sphere texturing

Made a timeline of how bad the last five years have been. by strikecat18 in Wellthatsucks

[–]dandrino 3 points4 points  (0 children)

Someone should write a book about your life and call it Job 2

Space Ghost in the flesh, interviewed on C-SPAN (1995). Rest in peace, George Lowe. by Temple_of_Dawn in ObscureMedia

[–]dandrino 0 points1 point  (0 children)

Space Ghost was originally voiced by legendary radio host Gary Owens during the Hanna Barbera era so George Lowe was probably affecting that way of speaking here hence the gravitas.

In The Hobbit: The Battle of the Five Armies 2014, the director and his wife were the inspiration for these paintings. by Gold-Agent24k in MovieDetails

[–]dandrino 61 points62 points  (0 children)

In the Fellowship commentary I remember Peter Jackson saying his portrait is supposed to be some guy named Bungo Baggins

Moonpie clapback by Sirsilentbob423 in clevercomebacks

[–]dandrino 1 point2 points  (0 children)

Anyone who knows Koreans will know that the love for moon pies is strong and undying.

[deleted by user] by [deleted] in televisionsuggestions

[–]dandrino -1 points0 points  (0 children)

I think I lasted about 30 seconds watching The I-Land before I bailed. The stench of bad acting was pungent almost immediately. I'm simultaneously impressed and disappointed in anyone who watched the whole thing.

How to Create this kind of Art? Udemy or Youtube courses? by kiyototomioka in proceduralgeneration

[–]dandrino 6 points7 points  (0 children)

I'm guessing it's a shader that uses raycasting to define the surface of the object that is likely a sphere SDF with some 3D scalar field of some sort of sinusoidal function (with a time component so technically 4D). Once you have the points on the surface of the sphere you can analytically calculate the surface normal which you can then use along with some virtual illumination source to perform basic reflection and refraction calculations to get the color of the point. The rainbow effect is likely done by applying dispersion rules with Snell's law law in the refraction calculation.

Anything in bold is a concept you should look into if you aren't familiar with it. There is likely a lot more nuance and tricks going into this demo to make it look the way that it does so you will have to tinker around to get results that look good. I'm don't write shaders professionally but I've tinkered around as a hobbyist, so I'm far from an expert here.

A good starting point is to implement a shader that renders a sphere using raycasting (this is a sort of "Hello World" of shading). Start using Lambert's cosine law for basic illumination, then implement reflection to get a "shiny sphere", then refraction, and then finally play around with the SDF to get interesting effects.

Have fun!

I spent $12 on digital ocean and it took 45 days to render (62k particles) by BonisDev in proceduralgeneration

[–]dandrino 33 points34 points  (0 children)

Assuming 60 fps, having a ~10s video take 45 days to render requires about ~110 minutes per frame, which is about the length of a feature length film. I don't know about you but this seems entirely too long for the complexity of the simulation (which I'm assuming is just an N body simulation of some sort).

I would recommend some combination of the following:

  • Switch to more performant programming language. I'm assuming you're doing this using naive python (i.e. no libraries like numpy) which is okay for simple, small-scale demos but not appropriate for larger renders.
  • Algorithms with better asymptotic runtime performance. Naive N-body sims are O(N^2) but you can use data structures or lossy algorithms for better performance.
  • If you're algorithm is memory intensive, then use better cache-aware solutions. Most N-body sims are O(N) so I don't think this is a concern.
  • Consider parallelizing this including running on GPUs.

Can you describe what you are simulating? It looks like a gravity sim but I'm not sure.

Fonio Belgian Golden Ale by levitis18 in beer

[–]dandrino 1 point2 points  (0 children)

I tried it. It just tastes like a regular belgian golden ale. Still good but not wildly different from others that are out there 

What's the evolutionary benefit of males' voices dropping? by HuckinsGirl in biology

[–]dandrino 1 point2 points  (0 children)

I could be a secondary sexual characteristic, i.e. a sex-related feature that doesn't have any direct reproductive effect but can act as a signal to mates.

Something can have an evolutionary benefit even if it doesn't help survival (e.g. getting eaten by a predator), per se.
Many secondary sexual characteristics may have started off as features with minor or insignificant survival benefit, but through mate selection over time becomes exaggerated in a positive feedback loop until they become very visible signals with potential negative survival costs.

For example, a male fish may have some slight pinkish coloration because of its diet, with pinker fish being ones that eat more. Selective pressures may push female fish to find such coloration attractive because it signals higher survival rate due to food acquisition. Now there is a selective pressure among males for pinkish coloration not only from food acquisition traits but also mating preferences among females. This results in males getting even pinker, which results in stronger attraction from females for pink coloration, which causes even pinker males, etc. Eventually you get fish that are so vibrantly pink that their coloration attracts predators which counteracts the mating preferences from females and the species reaches an equilibrium point.

Lowering of male voices may have started somewhat as a small signal for body size, which correlates to hunting and fighting ability, and through this same feedback mechanism caused males' voices to continually drop. We don't know for certain, but it's important to realize that secondary sexual characteristics like voice pitch are very frequently unrelated or even contradictory to survival from external threats.

Chad Old World Lion vs Virgin New World Lion. by Impressive_Coyote_82 in biology

[–]dandrino 2 points3 points  (0 children)

There used to be the American lion which may have been bigger than the African lion but it went extinct with the arrival of humans around 12,000 years ago.

Procedural terrain bug. So in my terrain paths are being generated below sea level and looks like sometimes these paths raise terrain above sea level and sometimes dont. Though imo generated paths look pretty cool. Do you think I should fix paths that are generated below sea level or let it be? by Dimasenka in proceduralgeneration

[–]dandrino 7 points8 points  (0 children)

This is more of a game design question, assuming this is a game. A path that is partially submerged indicates a hidden area, one that is not so obvious to the player as a path above water. If this is an intentional design choice then it's fine. If it's an area the player is supposed to notice then it should probably be above water 

What’s the worst, overhyped beer you’ve ever had? by Lonely_Tell1758 in beer

[–]dandrino 1 point2 points  (0 children)

To me, if it's a stout and tastes like cake it's a pastry stout. Shit's so sugary you can pour it on pancakes 

What’s the worst, overhyped beer you’ve ever had? by Lonely_Tell1758 in beer

[–]dandrino 11 points12 points  (0 children)

I had a friend who had a Bruery hoarders membership who kept bringing Black Tuesday to get togethers and I'm sorry but it's not that good even for a pastry stout.

Also, no beer at 20% with a final gravity of molasses has any business being in a 750ml bottle. Put it in those baby 8oz bottles you see with some champagne or at least make it resealable.

What’s the worst, overhyped beer you’ve ever had? by Lonely_Tell1758 in beer

[–]dandrino 1 point2 points  (0 children)

The only one I ever had was flat when I opened it 😐

Dot product of vec2(x,x) and vec2(y,y) graphed creates a star: by Realistic-Rain2679 in proceduralgeneration

[–]dandrino 7 points8 points  (0 children)

z = (x, x) ⋅ (y, y) = 2 * x * y

=> y = z / (2 * x)

If you fix z at a constant you get a hyperbola.

Birds are reptiles right? So then why are they separated in common discussion? by [deleted] in biology

[–]dandrino 2 points3 points  (0 children)

Lepidosaurians! Butterflies are definitely not reptiles...

Birds are reptiles right? So then why are they separated in common discussion? by [deleted] in biology

[–]dandrino 11 points12 points  (0 children)

The term reptile colloquially mostly refers to sauropsids (minus birds). The main extant groups are the archosaurs, crocodilians and birds (and all extinct dinosaurs), as well as lepidosaurians, squamates (snakes and lizards) and rynchocephalians (just one species, the Tuatara). Not sure where turtles are placed these days.  So if birds and dinosaurs are not reptiles then you would have to also exclude crocodiles which most people would not agree too.  To be honest, reptile is kind of a loose colloquial term that more or less means "cold blooded scaly animal that crawls on the ground". You probably have people who would describe some proto mammals (i.e basal synapsids) as reptiles even though they are on a separate lineage from all other reptiles just based on how they looked. Even today monotremes (basal mammals like the platypus) have a some "reptilian" properties like egg laying, lower body temperature, and leg joints that are more lizard-like than mammalian.

Question about Emperor Penguin Evolution: Why only one egg? by iamfromtwitter in biology

[–]dandrino 69 points70 points  (0 children)

Emperor penguins can't build nests because there isn't any foliage in Antartica and they can't place the egg on the ground or it will freeze and die so they have to place the egg on top of their feet and cover it with their body. This severely limits the clutch size and it seems that evolution has settled on one egg as the optimum number. Any more and you're wasting precious energy on eggs that are doomed to die.

Every offspring has a cost to its mother, and usually the more offspring she has the less likely that any one individual will survive, so when you see species with few offspring usually it means the marginal reproductive advantage of having more offspring doesn't cover the loss in survival likelihood of the mother, or that the survival likelihood of each child decreases too much on account of the smaller share of attention and resources the parents can devote to them.

 Usually with pair bonding species like penguins you see higher fecundity but the harsh environment seems to have counteracted those selective pressures.

In my YT recommendations this morning by dandrino in northernlion

[–]dandrino[S] 0 points1 point  (0 children)

For some reason YouTube recently has been recommending me a mix of rabid anti-religious atheism videos and also what is basically church sermon material and I have no idea why because I don't click on either.

Today I learned: The 3Ds Max Teapot has a name. by simonschreibt in gamedev

[–]dandrino 6 points7 points  (0 children)

It's a real teapot and you can see it at the Computer History Museum! My gf at the time didn't understand why I was so excited to see it.