Page 1 of 10 123 ... LastLast
Results 1 to 20 of 190
  1. #1

    Chroma Key Nodes Test-Windows & Linux Builds (27 AUG 06)

    I've updated my difference patch to be a little faster (not much, but some is always better than nothing). The spill suppression has also been "enhanced" a bit. The big change is I also added a new chroma keyer. It's a true chroma keyer instead of a difference keyer and functions slightly differently and will be explained in a later post. It also is capable (marginally) at pulling keys with thier shadows and working with translucent materials. I removed the dialate/erode node from my patch since it's commited to CVS and is included with this build. I also removed the info overlay node since I was for the plumineros guys and they went with something else. If anybody wants it, there is a patch for it in the patch tracker.


    Current patch has:
    -matte node menu group
    -Difference matte node
    -Chroma key matte
    -YUV color space seperator node
    -YUV<->RGB conversion functions
    -YCbCr color space seperator node
    -YCbCr<->RGB conversion functions
    -RGB spill correction

    Cheers,

    Bob

    Updated Link (27 AUG 06-2315 EST):
    http://scourage.servebeer.com/art/matte.patch

    Latest (VS7.1)Windows build (12 AUG 06-1830 EST)
    http://scourage.servebeer.com/art/blender_matte.zip

    Latest (32 bit) Linux build (27 AUG 06-2315 EST)
    http://scourage.servebeer.com/art/blender_matte.tar.gz
    Last edited by bob_holcomb; 27-Aug-06 at 22:16.
    Halfway down the trail to Hell....



  2. #2
    After a bit of research, I've come up with 5 other Matte generation nodes that I'm going to try and implement:

    -A much better chroma key matte
    -luminence matte
    -YUV matte (I already wrote a seperate to YUV node as well)
    -color difference
    -difference (not color difference)

    Each has thier strengths for pulling mattes from images, I guess it's just a mix to get a good matte for compositing images. If anybody has some test images that I could play with/use for examples please let me know.

    Cheers,

    Bob
    Halfway down the trail to Hell....



  3. #3
    Member mattebb's Avatar
    Join Date
    Feb 2003
    Location
    Sydney, AU
    Posts
    2,869
    Oh, nice one! I was going to have a play with this sort of thing, but I know next to nothing about it myself.

    Brecht already coded a dilate/erode node which I have the source for here, I can make a patch for it soon.

    Also Primatte has some information about their process here if it interests you:
    http://primatte.com/p_whitepapers.cfm

    And this one's interesting too http://www.cs.toronto.edu/~arnold/32...mith-SIG96.pdf
    Last edited by mattebb; 17-Jul-06 at 02:46.



  4. #4
    Member
    Join Date
    Jul 2002
    Posts
    1,560
    why not make a "plugin" system for nodes? aka "nodeplugs"?

    so there would be bread/butter nodes supplied, and other would be plugins?
    (eh, I know, I have just written myself in history ... blah-blah ... )
    Last edited by tedi; 17-Jul-06 at 05:52.



  5. #5
    Member mattebb's Avatar
    Join Date
    Feb 2003
    Location
    Sydney, AU
    Posts
    2,869
    Well, some reasons to the contrary are that blender is open source, and that there's less need for a separate plugin system. Nodes are incredibly easy to code in the blender source A simple node would only take you about 20 minutes. There's also a lot more flexibility in having it built in, since you can do custom and well organised UIs etc. Witness the nightmare UIs of current sequence plugins. It also makes things more difficult to change/mutate/fix if there's an API specification that should be kept compatible, and with the compositor in such an early stage, this may hamper it's growth. Anyway, I don't think anyone would be against a C node plugin API, but I'm not sure there's a huge priority to develop one at this stage either.



  6. #6
    Broken,

    Thanks for the papers they should help a lot. I was thinking that I could make a new menu item under the add menu for mattes and put the nodes there. It took me 30 minutes to add a YUV conversion node last night. Now that I have the basics down, I expect that a couple of these might only take a little bit longer to build. The dialate/erode tool would work great with some matte nodes. If you can send me a patch, I'll add it to my tree and create a big patch of all the new nodes/menu for the patch tracker.

    Cheers,

    Bob
    Halfway down the trail to Hell....



  7. #7
    ...and just how do I get this into blender? Do I need to get a C++ compiler?



  8. #8
    you'll need a C++ compiler and the source. I use linux (64 bit), so scons works great for me. you will need to patch the source tree with this patch, then build. I've actually done a bit more work today on a couple of new nodes (YUV keying) and a menu bar. Maybe some kind soul would do a build for windows?

    Cheers,

    Bob
    Last edited by bob_holcomb; 17-Jul-06 at 12:13.
    Halfway down the trail to Hell....



  9. #9

    updated patch

    For those wishing to patch thier source and try this out, here is an updated patch that adds the following (I think I finally got my terms right):

    -matte node menu group
    -RGB difference matte node
    -YUV difference matte node (also called luminence matte?)
    -YUV color space seperator node
    -YUV<->RGB conversion functions
    -YCbCr difference matte node (chroma key)
    -YCbCr color space seperator node
    -YCbCr<->RGB conversion functions
    -Blue spill correction
    -Green spill correction

    I'd love to have some feedback. Also posted in the patch tracker.

    Cheers,

    Bob

    http://scourage.servebeer.com/art/matte.patch
    Last edited by bob_holcomb; 18-Jul-06 at 01:07.
    Halfway down the trail to Hell....



  10. #10

    Pics of it in action

    Just a couple of the nodes in action:

    Click image for larger version. 

Name:	snapshot4.jpg 
Views:	1034 
Size:	42.8 KB 
ID:	7857

    Click image for larger version. 

Name:	snapshot3.png 
Views:	1250 
Size:	237.9 KB 
ID:	7858

    Cheers,

    Bob
    Halfway down the trail to Hell....



  11. #11
    Member mattebb's Avatar
    Join Date
    Feb 2003
    Location
    Sydney, AU
    Posts
    2,869
    Awesome! I'm a bit busy atm so that dilate/eroade patch may be a couple of days in the making. I also see a reasonable amount of green reflection in that pic, how about some kind of tolerance options in the spill node? (and probably condensing the blue and green ones into a single node with an option for which colour would be nicer)



  12. #12
    Broken,

    I'm still thinking of how to best add a user input to the spill suppressing nodes. Combining them is probably smart, they're virtually the same code. I may get to that tomorrow.

    Cheers,

    Bob
    Halfway down the trail to Hell....



  13. #13
    Time for a new patch (follow link in first post). Combined color spills into one node. Changed algorithm a little to allow user to enhance the spill above and beyond the normal calculation. I've started a tutorial for how to do garbage matte+green screen+compositing.

    Cheers,

    bob
    Last edited by bob_holcomb; 18-Jul-06 at 12:36.
    Halfway down the trail to Hell....



  14. #14
    Member POWER 3D's Avatar
    Join Date
    May 2006
    Location
    3.14159265358979323846264338327950, PI circle, Math, Virginia
    Posts
    307
    Looks good, I have not tested it yet, but this looks like it will help with what I am doing. I cant compile it right now, so I may just wait until someone compiles a version that I can download.
    Last edited by POWER 3D; 18-Jul-06 at 13:37.
    The Powerful Magic of Cigam Power...



  15. #15
    Member Rangel's Avatar
    Join Date
    Sep 2003
    Location
    Brasilia - DF - Brasil
    Posts
    1,061
    Bob, thank you very much! Those keyers are very useful...
    Since I donīt compile, Iīm looking foward to using them!



  16. #16
    Member POWER 3D's Avatar
    Join Date
    May 2006
    Location
    3.14159265358979323846264338327950, PI circle, Math, Virginia
    Posts
    307
    So is recompiling blender the only way to add these patches to blender? or how do I add them?
    The Powerful Magic of Cigam Power...



  17. #17
    Power 3d-
    Recompiling blender is the only way because there isn't a node plug-in system (maybe in the future).

    Rangel-
    I can also post a link to my binary, but it is a dynamic link 64-bit linux version. I might be able to make a windows(/spit) build tonight.
    EDIT: I have the windows source patched and once I get the prebuilt libs from blender CVS (tonight) I will build a windows binary. I also found a bug and fixed it, the patch at the top of the page is current.

    Also, I noticed the link at the top referenced the old patch, so that's been corrected.

    Cheers,

    bob
    Last edited by bob_holcomb; 18-Jul-06 at 14:54.
    Halfway down the trail to Hell....



  18. #18
    Member rexprime's Avatar
    Join Date
    Aug 2004
    Location
    floriduh
    Posts
    782
    this looks promising



  19. #19
    Member mattebb's Avatar
    Join Date
    Feb 2003
    Location
    Sydney, AU
    Posts
    2,869
    Hi bob, here's my patch. I was lazy and just included all my changes so you get Combine RGBA too Credits go to Brecht for Dilate/Erode.

    https://projects.blender.org/tracker..._id=9&atid=127

    Was thinking a median node might be useful for cleaning up leftover noise/grain from a key too. Should be easy, but need time.

    cheers

    Matt



  20. #20
    so....what am I looking for here? a .dll?

    I'm so confused....(non compiler guy here).



Page 1 of 10 123 ... LastLast

Similar Threads

  1. Node test - bottom of page
    By Daniel8488 in forum Blender Tests
    Replies: 2
    Last Post: 15-Jul-06, 13:07
  2. vBulletin test site
    By Timothy in forum Blender and CG Discussions
    Replies: 40
    Last Post: 21-Feb-06, 14:51
  3. new mat. nodes...what the heck ?
    By nehpets in forum Blender and CG Discussions
    Replies: 202
    Last Post: 26-Jan-06, 13:48
  4. Personality Test
    By JordanAU in forum Off-topic Chat
    Replies: 33
    Last Post: 05-Apr-05, 05:41
  5. CGAI V.1.1.1 Beta Test
    By Prince in forum Finished Projects
    Replies: 7
    Last Post: 28-Nov-04, 17:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •