Thread: Nuke Viewer Transparency

Reply to Thread
Results 1 to 10 of 10
  1. #1 Nuke Viewer Transparency 
    Join Date
    Sep 2007
    Location
    Germany, Stuttgart
    Posts
    112
    Hi.

    Since I come from an After Effetcs background, I was so used to see a checkerboard if an element has an alpha channel. I know, i could always do a merge with a Checkerboard, but that gets complicated the more complex the comp gets.

    Is there a way to tell the Nuke Viewer to show transparency not black, but like a checkerboard?

    Thx a lot!
    Reply With Quote  

  2. #2  
    Join Date
    Apr 2009
    Location
    Chepstow, UK
    Posts
    1,328
    Press A to look at the alpha channel? Not sure if that is what you want. If you mouse over the viewer too the pixel values show up in the lower left. (you might have to hit ctrl to sample them, can't remember right now)
    Last edited by Gravy; January 28th, 2010 at 07:00 AM.
    David Gray | Twitter

    "Try to learn something about everything and everything about something." - Thomas H. Huxley


    Reply With Quote  

  3. #3  
    Join Date
    Jul 2003
    Location
    germany
    Posts
    901
    you can also have a "matte overlay" in the viewer. (shortcut for this is "m" in the viewer)
    Reply With Quote  

  4. #4  
    Join Date
    Sep 2007
    Location
    Germany, Stuttgart
    Posts
    112
    Hey thx guys, yes I know the shortcuts and tips you gave me. I thought there was this kind of checkerboard thing for transparent pixels. Like this image, without a merge to the checkerboard.

    Reply With Quote  

  5. #5  
    Join Date
    Apr 2009
    Location
    Chepstow, UK
    Posts
    1,328
    O, I get you now. You mean the viewer background type thing. Pretty sure you can just have black in Nuke.
    David Gray | Twitter

    "Try to learn something about everything and everything about something." - Thomas H. Huxley


    Reply With Quote  

  6. #6  
    Join Date
    Aug 2007
    Location
    Erding / Munich
    Posts
    54
    Hm, I think it may be possible to do the merge with the checkerboard in a viewer_process gizmo or group. So you can allways turn it on and off.
    Digital Artist : Compositor / TD - nuke | shake | after effects - tinitron.de
    Reply With Quote  

  7. #7  
    Join Date
    Aug 2007
    Location
    Erding / Munich
    Posts
    54
    Hallo Claus,
    this is doing what you would like to have. Just put this group in your script and you can turn on the checkerboard in the viewerbackground by activating the IP button in the viewer.

    Code:
    set cut_paste_input [stack 0]
    version 6.0 v1
    push $cut_paste_input
    Group {
     name VIEWER_INPUT
     selected true
     xpos 227
     ypos -9
    }
     CheckerBoard2 {
      inputs 0
      format "1024 1024 0 0 1024 1024 1 square_1K"
      name CheckerBoard1
      xpos 131
      ypos -201
     }
     Reformat {
      type "to box"
      box_width {{Input1.width}}
      box_height {{Input1.height}}
      box_fixed true
      filter Impulse
      name Reformat1
      xpos 131
      ypos -129
     }
     Input {
      inputs 0
      name Input1
      xpos 9
      ypos -129
     }
     Merge2 {
      inputs 2
      operation under
      name Merge1
      xpos 131
      ypos -9
     }
     Output {
      name Output1
      xpos 131
      ypos 39
     }
    end_group
    Greetings to Steffen, Alex and all the others at unexpected!!
    Digital Artist : Compositor / TD - nuke | shake | after effects - tinitron.de
    Reply With Quote  

  8. #8  
    Join Date
    Sep 2007
    Location
    Germany, Stuttgart
    Posts
    112
    Thx a lot Michael

    Und viele Grüße an auch Dich aus Stuggi!
    Last edited by Dezperados; January 29th, 2010 at 04:02 AM.
    Reply With Quote  

  9. #9  
    Join Date
    Aug 2009
    Posts
    25
    Thanks, works like a charm!!!
    Reply With Quote  

  10. #10  
    Join Date
    Jun 2009
    Posts
    47
    Open menu.py,add the following code:
    nuke.ViewerProcess.register("Transparent", nuke.createNode, ("Transparent_v2",))
    http://www.aboutnuke.org/viewthread....extra=#pid8854
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	0.jpg‎
Views:	125
Size:	437.6 KB
ID:	8895   Click image for larger version

Name:	1.jpg‎
Views:	139
Size:	422.4 KB
ID:	8896   Click image for larger version

Name:	2.jpg‎
Views:	100
Size:	380.7 KB
ID:	8897  
    Attached Files
    Reply With Quote  

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Nuke 5.1 v1 Released
    By shot_grable in forum NUKE from The Foundry
    Replies: 36
    Last Post: July 17th, 2010, 01:33 AM
  2. NukeX 6.0 Or Nuke 6.0
    By StudioCg3d in forum NUKE from The Foundry
    Replies: 19
    Last Post: July 10th, 2009, 10:09 AM
  3. How to make Nuke see transparency in a PNG image sequence?
    By LaD in forum NUKE from The Foundry
    Replies: 8
    Last Post: March 31st, 2009, 04:02 PM
  4. how to load 3dlut into Nuke viewer?
    By fxguy in forum NUKE from The Foundry
    Replies: 2
    Last Post: January 19th, 2009, 10:39 AM
Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts