Hi Nathan, I'll be working on a planetarium show that is going be distributed to other domes, each with differing projection setups. We have a command line tool that can already do the projection transformation and output multiple images. I want to bring this into Nuke where at the end of the script I have a node that does this and could ideally offer multiple outputs, but since this is currently impossible I wanted to consider the idea of using views instead, as this is how we're processing our multiple render views anyways. But I can see why both options are difficult to make work in Nuke. Since this is the case I will probably just have the node offer to pick which projection view to output, and simply duplicate the node as many times as I need to output an image.
-Jon On Wed, Jul 25, 2012 at 4:48 PM, Nathan Rusch <[email protected]> wrote: > You can add views to a script using OutputContext::create_view(viewname). > However, in agreement with Steve, any motivations for doing this in the > context of an operator sound suspect suspect at best. The one exception that > comes to mind is a file reader, and in fact, the exrReader source code is a > good example of altering script layers/channels/views dynamically, if at > least to get your head around what is involved. > > If you're leaning toward a separate view for your alternate output(s), it > sounds like you may want to consider some extra layers instead. What kind of > extra data are you wanting to output? > > -Nathan > > -----Original Message----- From: Steve Booth > Sent: Wednesday, July 25, 2012 1:30 PM > > To: 'Nuke plug-in development discussion' > Subject: RE: AW: [Nuke-dev] multiple outputs? > > > The number of views is a project-level property that is set in the > project-settings property panel. It doesn't necessarily have to be set > prior to designing the SDG, but when changed will fundamentally alter the > data structures created by the various nodes in your script. > > To my knowledge, there is no way to alter the project definitions from > inside a single node (as it will affect all other nodes in the script), nor > would it, It think, be a good idea, although it might actually be possible > by executing some Python code. > > Not advisable, imho. > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of jon parker > Sent: Wednesday, July 25, 2012 1:20 PM > To: Nuke plug-in development discussion > Subject: Re: AW: [Nuke-dev] multiple outputs? > > Okay, thanks for the info. Do views have to be already defined in order for > a node to write to them, or can nodes create new views? > > On Wed, Jul 25, 2012 at 9:42 AM, Steve Booth <[email protected]> wrote: >> >> Although technically true, realize that in a multi-view environment, > > multiple instances of your Op will be instantiated, one for each defined > view, for every use of the base node in the SDG. Utilizing static storage, > it is possible for your node to be aware, and potentially communicate with > other versions of itself servicing those other view outputs. >> >> >> Sent from my iPad >> >> On Jul 25, 2012, at 12:27 AM, Thorsten Kaufmann > > <[email protected]> wrote: >> >> >>> You cannot have multiple outputs, but you can output to as many > > layers/channels as needed. >>> >>> >>> Regards, >>> Thorsten >>> >>> >>> Thorsten Kaufmann >>> Head of Production >>> ____________________________________ >>> >>> Mackevision Medien Design GmbH >>> Forststraße 7 >>> D-70174 Stuttgart >>> >>> T +49 711 93 30 48 31 >>> F +49 711 93 30 48 90 >>> M +49 151 19 55 55 02 >>> >>> [email protected] >>> http://www.mackevision.de >>> >>> Geschäftsführer: Armin Pohl, Joachim Lincke, Karin Suttheimer HRB >>> 243735 Amtsgericht Stuttgart >>>>> >>>>> -----Ursprüngliche Nachricht----- >>>>> Von: [email protected] [mailto:nuke-dev- >>>>> [email protected]] Im Auftrag von jon parker >>>>> Gesendet: Mittwoch, 25. Juli 2012 01:05 >>>>> An: [email protected] >>>>> Betreff: [Nuke-dev] multiple outputs? >>>>> >>>>> Greetings, >>>>> I'm new to this list (and NDK development) so this might already be > > answered. >>>>> >>>>> Is it possible to create a node that provides multiple outputs? >>>>> >>>>> Cheers, >>>>> Jon >>>>> _______________________________________________ >>>>> Nuke-dev mailing list >>>>> [email protected], http://forums.thefoundry.co.uk/ >>>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev >>> >>> _______________________________________________ >>> Nuke-dev mailing list >>> [email protected], http://forums.thefoundry.co.uk/ >>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev >> >> _______________________________________________ >> Nuke-dev mailing list >> [email protected], http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > > _______________________________________________ > Nuke-dev mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > > _______________________________________________ > Nuke-dev mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > _______________________________________________ > Nuke-dev mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev _______________________________________________ Nuke-dev mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
