6 ms·
> A single frame can take more than 24h to render What, really? I was under the impression that pixar had a render farm large enough to render frames in minute
by amelius 11y ago
> A single frame can take more than 24h to render
What, really? I was under the impression that pixar had a render farm large enough to render frames in minutes or even seconds.
- drcode 11y agoI would suspect they can render a frame that's 99% quality in a minute, but then spend a day to get to 100%.
- far33d 11y agoUsually, a frame is rendered on a single processor.
- njloof 11y agoRendering is mostly I/O bound these days due to high complexity models and textures.
- berkut 11y agoThat's somewhat true for VFX in general, but not really for Pixar: They mostly use procedural textures (they use them a lot more than most other VFX studios can) so texture IO is a lot less, and is one of the reasons they can get away with starting to use a GPU preview renderer (i.e. the textures fit in VRAM). Regarding model complexity - that doesn't really matter these days - if you want to raytrace a scene, unless you want to do full-on deferred raybatching and geo paging (like Disney's Hyperion does), you need to fit the scene into memory, so other than at startup/ingestion time, model complexity doesn't really matter in terms of IO. Also, Pixar's base level subd meshes are really rough (compared to what you see in VFX in general - for VFX base levels are probably subdivided down 2/3 times more), so the geo given in in Pixar's case isn't actually that bad.
- tomvbussel 11y agoThere's very little info in the Disney paper on geomapping, do you have any ideas on how they do it? I guess that you don't want to page in full models (as you either need a very large amount of memory per thread, which means smaller ray batches, or you need to have a shared cache, which means waiting on other threads). So you'll probably need something similar to Toro (as described by Pharr et al.), which just doesn't seem very efficient to me (as grids have improved little compared to BVHs).
- berkut 11y agoBy "geomapping" I assume you mean paging geo? Easiest way is to have a two-level BVH, where the lower level just has overall AABBs of every object in the scene which contains a "geometryInstance", each of which then contain another object-space BVH of the triangles (or other primitives). This is trivial to do, but you take a pretty big penalty for not being able to look down to the primitive (microtriangle, microcurve) level for the lower level BVH, so the quality of it isn't as good. So for stuff with hair on skin, you've pretty much got two objects overlapping which sucks for traversal performance. There is a way around this, but it involves storing a pointer to each primitive in the BVH which is expensive and mixed transforms / motion blur get complicated with this. The more complex way of doing it would just be to use the single level BVH and partially build it - given the lengths Disney are going to in order to sort and batch the rays, it sounds like they can constrain stuff such as all rays they send in a batch are going in a similar direction anyway, so you can cull a lot of stuff. These days in VFX we're pretty much just fitting stuff into memory anyway - there's no other option. PRMan does support geometry paging in theory, although Arnold doesn't and VRay only partially does (with VRay meshes), but performance absolutely sucks doing it, so buying more RAM is just the easiest/cheapest solution all round. Disney are only really doing deferring / reordering to such an extent because of their love of PTex which sucks with random access IO, so...
- tomvbussel 11y agoYup, I meant paging geometry. The problem with just doing a two level BVH is that some models can be very large, while others may be much smaller, which makes it hard to reserve memory for the geometry cache (even if it just fits one model per thread). Which means that you can store fewer rays in memory, and I'm not really a fan of constantly writing rays to disk. I was thinking of just cutting off subtrees of the BVH and storing those on disk, which makes it possible to assign just a few megabytes of memory to each thread for caching geometry. Not sure how efficient that would be though, probably a bit faster than rebuilding part of the BVH every time (especially when using high quality BVHs with spatial splits). Shouldn't be too bad with large ray batches, sorting and ray streams. They do mention some tests with "out-of-core rendering of scenes with massive amounts of geometry" in the paper, but there isn't much info on it. AFAIK their patents mention streaming in geometry too. I know that buying more RAM is probably easier, but it would be interesting to render very large scenes on commodity hardware. I guess paging in geometry is just too much of a hassle, you constantly have to stream in geometry to memory; to compute surface derivates, to do subsurface scattering, to sample arbitrary geometry lights, etc.
- tbabb 11y agoNot true.
- deleted 11y ago[deleted]
- rootbear 11y agoTwenty-four hours is not typical. I'm a bit out of date, but I think four hours is more common. On Toy Story, it was more like two. The increase is due mostly to the use of global illumination for nearly all scenes now. Renderman traditionally didn't do ray tracing or any other GI lighting. The modern version does, and it simple takes longer. Higher resolution, and stereo (3D), are also to blame. Toy Story was rendered at less that 1080 HD resolution!
- orbitur 11y agoIs there more info about the TS1 re-releases then? Based on your comment I started looking for info and verified that the original render was 1536x922, but there's no info about the work they put into the 3D version and Blu-Ray release.
- tomvbussel 11y agoSeems like it took them a few minutes per frame to render TS1 in 2011 [1], not sure if that's with the higher resolution. [1] https://www.quora.com/How-much-faster-would-it-be-to-render-Toy-Story-in-2011-compared-to-how-long-it-took-in-1995 https://www.quora.com/How-much-faster-would-it-be-to-render-...
- berkut 11y ago24 hours (wall clock, not CPU time) is a little long, but it's not unheard of. With MC path tracing, the noise you get is pretty difficult to resolve, and a lot of companies are using denoisers afterwards to clean up the renders, as it's just not cost-effective to keep them rendering to that extent as denoising is faster.
- deleted 11y ago[deleted]
- tbabb 11y ago> Twenty-four hours is not typical. [...] four hours is more common. I'm in the industry, and [citation needed]. Four hours is not remotely typical for a final render frame, especially now that path tracers are the de facto standard.
- mendelk 11y agoFrom an answer on that page to a similar question: > Renderman, what we use at Pixar, is also fast but for the quality we strive to achieve is very high, so we we squeeze as much as we can into it until it just becomes too slow. So if the renderer became faster, we would just add more quality, and make it "slow" again.
- a_e_k 11y agoYes. This is known as "Blinn's Law."
- amelius 11y ago> So if the renderer became faster, we would just add more quality, and make it "slow" again. Okay, but reality only has so much quality. There has to be a limit somewhere.
- tbabb 11y agoThere's plenty of room before we get to the quality of reality. ;)
- alxlu 11y agoThey render multiple frames at the same time.