Simulation contact sheet tool

   102   1   0
User Avatar
Member
93 posts
Joined: July 2018
Online
I'm trying to update our contact sheet tool into something that can be fully automated so that regardless of how many wedges you start with, the output is organized for easy viewing. As long as I can fit all the wedges in a single mosaic it's easy: I can sort the rendered frames, create a frame number attribute and partition by frame number into imagemagik or OIIO. But I can't figure out how to configure it for a random number of wedges.

Take the case there I'm wedging 2 attributes (A and B) 8 times each with a 100F sim. For the sake of argument let's say I can put 6 renders on a single contact sheet (this number needs to be variable based on the scale of the sim and how big artists and supes need to view them. I'd like a set up that will:

-- Dynamically group the A wedges so that the first 6 are grouped together on one mosaic and the remain 2 are grouped together with 6 empty spaces on a second mosaic. Call this A1&A2. Without some kind of padding, IM will fill in the 6 empty spaces with the next 6 work times.
-- Play down all the A wedges with the first value of B. So in this case it would play A1B1, then A2B1.
-- Then all the A wedge with the second value of B. A1B2, then A2B2
-- Etc until it plays all the A wedges with the last value of B: A1B8 then A2B8.

The middle sorting is easy, but I can't figure out the first and last steps:

-- Getting the wedges to sort themselves into the right number of mosaics with empty spaces if necessary.
-- And then get the frames to be in the right sequence given the original frame numbers have to shift. For instance above, A1B1 now runs x001-100, A1B1 runs x101-200, A1B2, x201-300, A2B2 x301-400, etc.

And pointers in the right direction would be greatly appreciated.
Edited by made-by-geoff - yesterday 09:09:42
madebygeoff.com
User Avatar
Member
93 posts
Joined: July 2018
Online
OK. I think I've mostly got the frame number sorting figured out. I'll just create a new attribute where fadj = frame + (range.1 * wedgenum). This works as long as everything fits on a single mosaic tile. Now I just need to figure out how to chuck in the inputs so that they tile correctly if the number of wedges is greater than what can fit on a single mosaic. Any help is appreciated.
madebygeoff.com
  • Quick Links