OpenEXR / ID Cyril Corvazier Today Isolate part of the image with - - PowerPoint PPT Presentation

openexr id
SMART_READER_LITE
LIVE PREVIEW

OpenEXR / ID Cyril Corvazier Today Isolate part of the image with - - PowerPoint PPT Presentation

OpenEXR / ID Cyril Corvazier Today Isolate part of the image with regexps Unmodified OpenEXR 2.0 Flat images, not deep Support AA, motion blur, DOF, transparency IO C++ library OpenFX plug-in File format for mask


slide-1
SLIDE 1

Cyril Corvazier

OpenEXR / ID

slide-2
SLIDE 2

Today

  • Isolate part of the image with regexps
  • Unmodified OpenEXR 2.0
  • Flat images, not deep
  • Support AA, motion blur, DOF, transparency
  • IO C++ library
  • OpenFX plug-in
slide-3
SLIDE 3

File format for mask

OpenEXR deep slices

A ID Pixel #1 Pixel #2 Pixel #3 Pixel #4

...

24,67,12,34 12,34 31 7,67,12

EXRIdNames attribute, zlib compressed ID #1 : “plane|left_wing” ID #2 : “plane|right_wing” ID #3 : “plane|wheels” ID #4 : “plane|propeller” ...

slide-4
SLIDE 4

File format RGBA

OpenEXR deep slices

R G B A ID Pixel #1 Pixel #2 Pixel #3 Pixel #4

...

24,67,12,34 12,34 31 7,67,12

EXRIdNames attribute, zlib compressed ID #1 : “plane|left_wing” ID #2 : “plane|right_wing” ID #3 : “plane|wheels” ID #4 : “plane|propeller” ...

slide-5
SLIDE 5

Match

Reconstruction

Result IDs path : ID #1 : “plane|left_wing” ID #2 : “plane|right_wing” ID #3 : “plane|wheels” ID #4 : “plane|propeller” RE2 automata Regexp : “wing” IDs state : ID #1 : 1 ID #2 : 1 ID #3 : 0 ID #4 : 0

slide-6
SLIDE 6

Renderer Integration Notes

  • Reconstruction filters

○ Use 3x3 not 5x5

  • Limit ID per pixel, on the fly
  • Compression

○ Limit ID per pixel, afterward ○ Cut lowest contributions

slide-7
SLIDE 7

Tomorrow

  • Nuke plug-in
  • Compression
  • Patch for OpenEXR
  • Deep ID Images
slide-8
SLIDE 8

Open-source

GitHub : github.com/MercenariesEngineering/openexrid Paper :

  • nanimationstudios.com/technology
slide-9
SLIDE 9

Thanks !

Acknowledgments : Alexis Casas - ON Animation Studios Rachid Chikh - ON Animation Studios Benjamin Legros - Mercenaries Engineering