Announcement

Collapse
No announcement yet.

Animated object visibility doesn't work with decals

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Animated object visibility doesn't work with decals

    Hi,
    It looks like the animate object visibility does not work with decals from my testing, (I am doing so via LiveLink) this would be really helpful so we can animate things like footprints etc.

    It works in Vray GPU and CPU.

    Thanks

    EDIT: I can get a version of it working as long as you go from 0.0 visibility to 1 in a single frame. When it is over multiple frame you get the attached image/
    Attached Files
    Last edited by rita_sobral; 30-08-2024, 06:06 AM.

  • #2
    It works in Vray GPU and CPU.​
    Are you sure about this ?
    The setup I have works in V-Ray GPU, but not in V-Ray CPU.
    The visibility of the decal object is completely ignored it seems in the CPU version.

    As a workaround you can use a VRayColor texture connected to the Mask slot of the Decal object and animate its RGB multiplier.
    The cutout texture of the decal goes in the opacity slot of the decal's material.
    This works in V-Ray CPU/GPU and Vantage.

    See attached example file.

    I will log the issue about the object visibility of decals in Vantage.

    Greetings,
    Vladimir Nedev
    Attached Files
    Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

    Comment


    • #3
      Originally posted by vladimir.nedev View Post
      I will log the issue about the object visibility of decals in Vantage.
      I think I fixed it.
      If you could send me an example scene, I can use it to confirm the fix works with your exact setup.

      Greetings,
      Vladimir Nedev


      Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

      Comment


      • #4
        Originally posted by vladimir.nedev View Post
        Are you sure about this ?
        The setup I have works in V-Ray GPU, but not in V-Ray CPU.
        The visibility of the decal object is completely ignored it seems in the CPU version.
        Apologies, yes I thought I switched to CPU as well, but just double-checked and CPU it is ignored.

        Originally posted by vladimir.nedev View Post
        As a workaround you can use a VRayColor texture connected to the Mask slot of the Decal object and animate its RGB multiplier.
        The cutout texture of the decal goes in the opacity slot of the decal's material.​
        Took me a while to get this working! I didn't realise that you were NOT animating the visibility as well. After leaving visibility at 1, it works perfectly with the color in the mask slot and animating the multiplier. However, in my case animating the multiplier to 2 instead of 1 made it look correct, 1 it was still only semi-transparent.
        My decal setup had a proper mask in the opacity slot of the decals material already.

        Thanks for the workaround
        Attached Files
        Last edited by rita_sobral; 31-08-2024, 03:12 AM.

        Comment


        • #5
          Originally posted by vladimir.nedev View Post
          I think I fixed it.
          If you could send me an example scene, I can use it to confirm the fix works with your exact setup.

          Greetings,
          Vladimir Nedev
          The scene is super heavy but this was the original setup
          Attached Files

          Comment


          • #6
            However, in my case animating the multiplier to 2 instead of 1 made it look correct, 1 it was still only semi-transparent.
            I guess it's because the Red, Green and Blue components of the VRayColor texture are 0.5 by default, I set them to 1 first.

            Greetings,
            Vladimir Nedev
            Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

            Comment

            Working...
            X