Author Topic: rebuild final render from passes  (Read 624 times)

0 Members and 1 Guest are viewing this topic.

Offline brizad13

  • Newbie
  • *
  • Posts: 8
    • personal website
rebuild final render from passes
« on: August 21, 2017, 07:23:55 am »
does anyone know if you can rebuild  an rgba final render from all the passes?
what order and blend mode needed for each layer?

Offline Rex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 613
Re: rebuild final render from passes
« Reply #1 on: August 21, 2017, 05:16:57 pm »
According to DriesV you can rebuild a render using the following formula.

Composite = (Direct Lighting + Indirect Lighting + Caustics) x Diffuse + Reflection + Refraction
+ --> Linear Dodge (Add)
x --> Multiply

Offline brizad13

  • Newbie
  • *
  • Posts: 8
    • personal website
Re: rebuild final render from passes
« Reply #2 on: September 12, 2017, 06:07:42 am »
rex,

i have been having some issues with re-building from passes. it seems some materials do not render correctly? can i send you a file to check into it?

Offline Rex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 613
Re: rebuild final render from passes
« Reply #3 on: September 12, 2017, 07:22:54 am »
Yes, please send the .ksp to rex@luxion.com via keyshot.wetransfer.com and I'll have a look at it.

Offline ghostweeble

  • Newbie
  • *
  • Posts: 17
Re: rebuild final render from passes
« Reply #4 on: October 08, 2017, 12:13:49 pm »

Hi! Did this ever get investigated? I'm having trouble figuring out how to rebuild from Keyshot 7's passes as well.

Offline Rex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 613
Re: rebuild final render from passes
« Reply #5 on: October 09, 2017, 12:27:53 pm »
There was an issue with with the sample calculations of plastic materials that caused them to be more dull in the reflection pass. This will be fixed in the next 7.1 update.

Are you experiencing a specific problem ghostweeble?

Offline ghostweeble

  • Newbie
  • *
  • Posts: 17
Re: rebuild final render from passes
« Reply #6 on: October 11, 2017, 09:56:54 am »
Hi Rex,

I'm just having issues parsing how to use the "formula" to recreate a final render. Is there a photoshop file example available anywhere that I could look at?

Thanks!

Offline Esben Oxholm

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 1348
  • esbenoxholm.dk/keyshot-video-course
    • Freelance CG Artist
Re: rebuild final render from passes
« Reply #7 on: October 11, 2017, 11:07:00 am »
I'm just having issues parsing how to use the "formula" to recreate a final render. Is there a photoshop file example available anywhere that I could look at?
I couldn't get something useful from it either. A Photoshop example file is a super good idea!

Offline ghostweeble

  • Newbie
  • *
  • Posts: 17
Re: rebuild final render from passes
« Reply #8 on: October 21, 2017, 11:55:53 am »
Hi Rex,
Any chance we could get a sample .psd with correct layer modes and order for recreating a final render? Thanks!

Offline DriesV

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2152
  • Product Specialist at Luxion
Re: rebuild final render from passes
« Reply #9 on: October 21, 2017, 01:47:34 pm »
Here is a zip archive with a sample scene and PSD file.
I added the tori to have some reflective and refractive surfaces for caustics. :)

Please note that due to some discrepancies with Passes, it is possible that the composite does not match the original rendering exactly.
Also note that this technique of rebuilding the image from passes has limitations. It will not work for recreating "advanced" shaded results like translucency or metallic paint.

Dries
« Last Edit: October 21, 2017, 01:53:03 pm by DriesV »

Offline ghostweeble

  • Newbie
  • *
  • Posts: 17
Re: rebuild final render from passes
« Reply #10 on: October 28, 2017, 02:41:36 pm »
Hi Dries,

Thanks for the file! (and I like the design of the ship!). It's strange to me that you don't even use the shadow pass in your composite. I also notice that the brightness between Keyshot and the photoshop (which very different), is closer if the brightness is raised to 2 in the Image tab of Keyshot. I wonder if there's something a little off in the way that Keyshot is exporting the passes? I don't expect Keyshot renders to be pixel for pixel matches with a composite image, but I would have thought that they would be much closer than this?

I didn't realize that I had to subscribe to this post to be notified but now that I have I'll reply much sooner!

Thanks!

Offline ghostweeble

  • Newbie
  • *
  • Posts: 17
Re: rebuild final render from passes
« Reply #11 on: November 08, 2017, 03:26:45 pm »
Hi all,

Any thoughts on my above questions? I'm  wondering especially why the brightness is so different?

Thanks,

mm

Offline DriesV

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2152
  • Product Specialist at Luxion
Re: rebuild final render from passes
« Reply #12 on: November 09, 2017, 12:39:58 am »
Hi ghostweeble,

Yes, there can be some discrepancies between the composite and the KeyShot beauty image.
We are addressing a bunch of these in the upcoming 7.2 update.

I didn't use the Shadow pass, as shadows are included in the Lighting pass as well. The Shadow pass is meant to accentuate shadows.

Dries

Offline ghostweeble

  • Newbie
  • *
  • Posts: 17
Re: rebuild final render from passes
« Reply #13 on: November 09, 2017, 09:49:47 am »
Thank DriesV,

One thing I noticed that's been updated in Keyshot 7, is that when I import a polypainted model via the bridge from Zbrush, I get a Texture(legacy) node. If I click the 'Upgrade to New Node' button, I now get the ability to turn off the MatCap, and the vertex color is correct between the apps! Previously, to get rid of the MatCap, I had to switch to Vertex Color, then insert a color adjust node to gamma correct the polypaint/vertex color.

This is great! I'm wondering why Keyshot defaults to using this legacy texture node rather than defaulting on the new node?

Honestly, I wish there was a way to make the MatCap turned off as the default. It's really not useful in Keyshot at all.

Thanks,

mm

Offline Rex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 613
Re: rebuild final render from passes
« Reply #14 on: November 09, 2017, 12:40:57 pm »
We are currently working on utilizing the new texture mapping technique on imported textures.