Author Topic: Rendering by selection leaves ugly border  (Read 1589 times)

2019-07-04, 09:48:42

bilko123

  • Active Users
  • **
  • Posts: 14
    • View Profile
Hi all,

I'm rendering carpets with different colours (lots of colours), I want to save out a JPG with each carpet colour, using viewport selection rendering to keep the background the same but just change the carpet. However when doing this there are pixels around the edges that retain the colour of the previous carpet.

There is no displacement at all and I have tried turning image filtering off and denoising off, rendering at 3k px wide.. But the same effect occurs especially from a distance, any one had something similar?

Thanks!


2019-07-04, 11:49:06
Reply #1

rowmanns

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

Are you able to send through your scene?

Instructions on how to do this can be found in my signiture, please don't forget to let me know the name of your file.

Thanks,

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2019-07-04, 20:04:49
Reply #2

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
The problem you are having is trying to comp a darker image over the top of a lighter image, and the anti-aliased pixels around the edges are simply blending from one layer to another layer. I don't think it has anything necessarily to do with Corona.

The proper workflow you should do is to render the background layer with the object you want to change set to not visible to camera, so it will cast shadows. Then you render a white version of the carpet and the red version of the carpet in two different renders and comp them over your background.

But this workflow still won't properly account for the appropriate amount of GI/colour bleed that the surface of the object you are trying to change has on the surrounding geometry.