Live data from Hacker News

Interstellar movie black hole implemented with Einstein's equations in C++

twitter.com

41–50 of 109 posts

Re: Interstellar movie black hole implemented with Einstein's equations in C++

#41

It is a pity they didn't spend comparable effort on the story. I thought it was a really disappointing film, especially after they banged on so much about how good the physics in it was (apart from the black hole rendering, it wasn't).

We're talking about a movie in which a space agency builds an enormous rocket entirely in secret and without any suppliers; then enrolls the astronaut at the head of the mission on the same day of the departure; and finally launches the rocket from inside its office halls. ¯\_(ツ)_/¯

https://www.youtube.com/watch?v=x9xFRch7N5o

Re: Interstellar movie black hole implemented with Einstein's equations in C++

#42

It is a pity they didn't spend comparable effort on the story. I thought it was a really disappointing film, especially after they banged on so much about how good the physics in it was (apart from the black hole rendering, it wasn't).

Incredible soundtrack, though.

Re: Interstellar movie black hole implemented with Einstein's equations in C++

#43

Earlier quoted context omitted.

It’s the one where Matt Damon gets stuck on another planet. No not that one. Not that one either.

New Fermi estimation interview question just dropped: are there more movies where Matt Damon is stuck on a planet, or movies where Tom Hanks plays a captain?

You could ask Daniel Defoe or the cast of Gilligan's Island.

Re: Interstellar movie black hole implemented with Einstein's equations in C++

#44
post #28

If you want to avoid opening Twitter (now known as X), here is the link to the paper: https://arxiv.org/pdf/1502.03808 TLDR “A typical IMAX image has 23 million pixels, and for Interstellar we had to generate many thousand images, so DNGR had to be very efficient. It has 40,000 lines of C++ code and runs across Double Negative’s Linux-based render-farm. Depending on the degree of gravitational lensing in an image, it…

How fast could this run in a modern CPU with a modern GPU?

Its a particle simulation, so a lot of it is memory management.

I can't remember the actual size of the simulation in terms of number of particles, but it was using something like 2 150TB fileservers to store it on.

With NVME and cheap ram, it would probably at the point where it'd be useful on a GPU.

Re: Interstellar movie black hole implemented with Einstein's equations in C++

#45
post #11

Interstellar blackhole VFX implemented in 40k lines of C++ Would be a better title

Implemented using semi-realistic Einstein equations. They do talk about implementing a fully realistic version in the paper, but the director deemed it visually too confusing for the audience, so you only get to see a dumbed-down version in the movie.

Is there a visualization of the fully realistic version available somewhere?

Re: Interstellar movie black hole implemented with Einstein's equations in C++

#46
post #20

[possible spoiler alert] Is Intersetllar the movie where Matthew McConaughey turned into a bookcase?

It’s the one where Matt Damon gets stuck on another planet. No not that one. Not that one either.

Is the third movie supposed to be Elysium?

Re: Interstellar movie black hole implemented with Einstein's equations in C++

#47

Earlier quoted context omitted.

The whole premise is bogus and explained by Michael Caine in only a few sentences. We have a plague on Earth and doing an interstellar travel is the solution? I was very disappointed. I’m OK with a few plot holes, but this is so fundamental to the story that the movie can’t stand on its own.

Yeah, they could've used something simpler and less hand-wavy. Irreversible climate change or a freaking asteroid on a collision course with earth and they needed the black hole data to build something to deviate it. Literally anything else would've worked better.

I think the blight was chosen as a metaphor for the virus of defeatism and anti-scientific attitude. To which the movie proposes (and arguably wants to be) a cure, made of optimistic sci-fi, cool science and, of course, love.

The issue on the literal level of the narrative is that if you have no way to control the infection on earth, there's no reason to suppose you won't bring it with you to the next planet.

Re: Interstellar movie black hole implemented with Einstein's equations in C++

#48
I worked on this movie, I was at DNEG at the time. One of the standout things that I remember is that this particular simulation was toxic to the fileserver that it was being stored on.

From what I recall, I don't think that it was running on that many machines at once. Mainly because it required the high memory nodes that were expensive. I think it was only running on ~10 possibly 50 machines concurrently. But I could be wrong.

What it did have was at least one dedicated fileserver though. Each of the file servers at the time were some dual proc dell 1u thing with as much ram as you could stuff in them at the time (384 gigs I think). They were attached by SAS to a single 60 drive 4u raid array. (Dell PowerVault MD3460 or something along those lines. They are rebadged by Dell and were the first practical hotswap enclosure that took normal 3.5" SAS drives, that didn't cost the earth)

The array was formatted into 4 raid6 groups, and LVM'd together on the server. it was then shared out by NFS over bonded 10gig links.

Anyway. That simulation totally fucked the disks in the array. By the time it finished (I think it was a 2 week run time) it had eaten something like 14 hard drives. Every time a new disk was inserted, another would start to fail. It was so close to fucking up the whole time.

I had thought that the simulation was a plugin for houdini, or one of the other fluid simulation engines we had kicking around, rather than a custom 40k C++ program.

Post reply on HN