p.s. One wrinkle to the existing view output scheme (which generally works really well) is the case where an intermediate process has to calculate both eyes simultaneously and must cache the results so that subsequent engine() calls can output each view separately. This is the case for certain renderers like Prman & 3Delight which for efficiency's sake produce left/right AOVs at the same time. The caching eats a good deal of memory, so an alternative is to output the extra views as add'l named channels and use a second Op afterwards to direct the left/right channels to the correct views. It's a hack as managing the extra channels is a pain, but this way you can take advantage of Nuke's caching rather than rolling your own.
-jonathan On Apr 16, 2012, at 9:14 AM, Abigail Brady wrote: > Others have answered with what calls you need, but I'll note that the > model here is not that you write an Iop that outputs left and right from > the same call to engine(), but that you write an Iop that can be invoked > in a 'left' context and produce one set of data for engine(), and then > in a 'right' context and produce another set of data for a different > call to engine(), by having multiple actual Iops produced. > > On Sun, 2012-04-15 at 14:48 +0100, Steve3D wrote: >> So.... it's impossible to create a stereo-out operator currently, >> then? >> >> The input is easy; outputting a stereo pair seems to be impossible, >> unless I'm missing something. >> _______________________________________________ >> Nuke-dev mailing list >> Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > > > -- > Abigail Brady > The Foundry, 6th Floor, 48 Leicester Square, London. WC2H 7LT > Tel: +44 20 7968 6828 * Fax: +44 20 7930 8906 > Web: www.thefoundry.co.uk > > The Foundry Visionmongers Ltd > Registered in England and Wales No: 4642027 > > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev _______________________________________________ Nuke-dev mailing list Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev