Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21

Thread: Normal and albedo second hit

  1. #16
    Member
    Join Date
    May 2006
    Location
    France
    Posts
    4,102
    I blended the bounced refracted and reflected normal and albedo (not textured)
    but this cost more than 7 seconds to get the result..

    Click image for larger version. 

Name:	blended_bounced_normal.jpg 
Views:	15 
Size:	115.1 KB 
ID:	146451

    Click image for larger version. 

Name:	blended_bounced_albedo.jpg 
Views:	19 
Size:	47.3 KB 
ID:	146452

    the Write Bounced Buffer node is added and connected to Material with a batch script,
    It works only with Material, not with Material Tools,

    Click image for larger version. 

Name:	write_Bounced_Buffer.jpg 
Views:	20 
Size:	87.8 KB 
ID:	146453

    it comes with 19 new bounced buffers, (4 x refracted + 2 x reflected) x (normal + albedo + mask),
    no way to reduce that, because a LW Buffer cannot be edited while rendering,

    Click image for larger version. 

Name:	bounced_buffers.jpg 
Views:	14 
Size:	100.2 KB 
ID:	146454

    blended in the Image Filter node editor with the Get Bounced Buffer node,

    Click image for larger version. 

Name:	Get_Bounced_Buffer.jpg 
Views:	16 
Size:	32.5 KB 
ID:	146455



    Denis.

  2. #17
    Member
    Join Date
    May 2006
    Location
    France
    Posts
    4,102
    I updated DP Filter 2018,
    added the WriteBouncedBuffer and GetBouncedBuffer nodes,
    you can download the Global Bounced Buffer python script just below on the DPFilter page.
    Description and usage on the readme file of the script.

    Not fully tested.


    Denis.

  3. #18
    Member
    Join Date
    May 2006
    Location
    France
    Posts
    4,102
    A note:
    once you add the write bounced buffer nodes with the script,
    setup the image filter node editor with the Get Bounced Buffer node and OIDN,
    you can limit or choose specific bounce manually in the Render/Buffer,
    by unchecking "Render" for some of them,
    but always keeping the matching Mask, like this:
    Bounced_T2_Normal + Bounced_T2_Albedo + Bounced_T2_Mask,

    In my example above, the ball has a front and back side so the background ball
    appears in transparency only at T2.

    By default, there is a double number of refracted bounces (4 against 2),
    because reflection of refraction is just another refraction.


    About the Get Bounced Buffer,
    you don't need to check Normal or Raw Color LWBuffers, neither Bounced Buffers in image node editor,
    this is done internally.

    Denis.
    Last edited by dpont; 12-18-2019 at 11:01 AM.

  4. #19
    Member
    Join Date
    May 2006
    Location
    France
    Posts
    4,102
    I changed the process in Write Bounced Buffer node,
    it is now inserted and connected to Material Root input.
    No more limitation in the surface Material setup,
    including Material Tools.

    Click image for larger version. 

Name:	new_Write_node.jpg 
Views:	16 
Size:	79.4 KB 
ID:	146467

    Available in the last DP Filter 2018,
    so the Global Bounced Buffer python script has been updated too, version 1.1


    Denis.

  5. #20
    Founding member raymondtrace's Avatar
    Join Date
    May 2003
    Location
    Ohio
    Posts
    967
    Quote Originally Posted by dpont View Post
    ...so the Global Bounced Buffer python script has been updated too, version 1.1...
    Many thanks for your work on this but the link on your site to the Global_Bounced_Buffer.zip file seems to go nowhere ("La page que vous demandez est introuvable").
    LW7.5D, 2015, 2018, 2019 running portably on a USB drive on an Amiga 2500 running Wine.

  6. #21
    Member
    Join Date
    May 2006
    Location
    France
    Posts
    4,102
    Quote Originally Posted by raymondtrace View Post
    ...but the link on your site to the Global_Bounced_Buffer.zip file seems to go nowhere.
    I fixed the link, thanks for report.

    Denis.

Page 2 of 2 FirstFirst 12

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
  •