alpha masking in external file

Comments

5 comments

  • Avatar
    Erik Kubiňan CR

    Hello dear user,
    I would like to first mention it is not always good to mask your images. Sometimes the background is very useful for alignment.
    Although, if you really want to, then you can do so in the RGB channels of the file with a black, white or any solid color. As solid color cannot get recognized as points in space. 

    0
    Comment actions Permalink
  • Avatar
    tongarich

    Thanks for the reply.
    Is there any naming conventions for the mask file so the program could recognize the mask?
    For example
    DSG5467.jpg
    DSG5467_mask.jpg

    0
    Comment actions Permalink
  • Avatar
    Erik Kubiňan CR

    If you want to use the yourself created mask as a separate file recognised by RC then it should also have the information in Alpha channel. First I thought you wanted to mask the source files directly.

    RealityCapture can automatically detect these types of layers:

    .geometry (equals to image/folder with no layer extension)
    .mask
    .labels
    .depth
    .textureXX
    .texture (equals to .texture1 and .texture01)

    NOTE: Instead of dots (.) in the folder names, you can also use one of these symbols: _ @ # and !. For example: _texture, @texture, #texture or !texture.

    The mask in your case should look as DSG5467.jpg.mask.png

    0
    Comment actions Permalink
  • Avatar
    tongarich

    Wow, thanks, that's the clearest answer I've got so far! Will try it a little later.
    A mask has to be *.png only?

    0
    Comment actions Permalink
  • Avatar
    Erik Kubiňan CR

    Pleasure is mine. I don't think it has to be, but I would recommend you to use it as such, due to .png having low file size and providing the transparency.

    0
    Comment actions Permalink

Please sign in to leave a comment.