Announcement

Collapse
No announcement yet.

Copy From VFB WITHOUT Alpha?

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

  • #16
    Here's a video recording of me doing these steps with an image completely with alpha (VraySky), going from Max 2022 - Vray 6 to Slack. CLICK
    A.

    ---------------------
    www.digitaltwins.be

    Comment


    • #17
      Originally posted by Vizioen View Post
      Here's a video recording of me doing these steps with an image completely with alpha (VraySky), going from Max 2022 - Vray 6 to Slack. CLICK
      That looked like it was working correctly, no?

      I use the dark theme on Slack. I wonder if that matters.

      Comment


      • #18
        Originally posted by Joelaff View Post

        That looked like it was working correctly, no?

        I use the dark theme on Slack. I wonder if that matters.
        It worked correctly indeed. That's why it's odd you have this problem. I tried with dark theme, doesn't make a difference. He does upload a PNG file though. So maybe there's something in the background running applying alpha to PNG files? Although Vladimir says that it copies as a JPG.
        A.

        ---------------------
        www.digitaltwins.be

        Comment


        • #19
          ​Click image for larger version  Name:	image.png Views:	0 Size:	750.5 KB ID:	1167191
          Click image for larger version  Name:	image.png Views:	0 Size:	63.7 KB ID:	1167192​

          Click image for larger version  Name:	image.png Views:	0 Size:	306.6 KB ID:	1167193​
          Top is RGB, Middle is the Alpha. Bottom is what I get in Slack when "Copy Current Channel to Clipboard" is pasted.

          You can see Slack even calls it image.png, as it reads the data as a PNG, including the alpha.

          When I paste the same buffer into Photoshop the alpha is ignored completely (it does not become transparency or anything).

          Ideally we would be able to copy with or without the alpha so that we could choose to keep the alpha and paste (even into Photoshop-- as layer transparency, like a PNG does). But I usually want to disable the alpha for Slack, as it knocks it out and ruins the image.

          FYI: Disabling the Filmic Tone Map has no effect.

          Max 2021 / Windows 10 Pro 64bit
          Last edited by Joelaff; 06-12-2022, 10:57 AM.

          Comment


          • #20
            Hi, tested again with the same result. On my setup the image pastes with background, looking the same as in VFB. I will try to find more details on how the copy to clipboard works with VFB.
            Vladimir Krastev | chaos.com
            Chaos Support Representative | contact us

            Comment


            • #21
              Are you pasting into Slack, or into Photoshop? It works like you describe in photoshop, but for some reason Slack reads the alpha info.

              Comment


              • #22
                Is this a new behavior in Vray 6? In Vray 5 for Maya it works the way you're requesting....I get a solid image copied, with no alpha, as if it were a jpg being copy - pasted, no matter where I paste it, Slack included....

                and to add, I hope it stays this way, or can be reverted to if this is the new behavior in Vray 6. I do get why it would be useful to copy - paste an image with an alpha, but I also very much need the option to copy - paste a solid image also.
                Website
                https://mangobeard.com/
                Behance
                https://www.behance.net/seandunderdale

                Comment


                • #23
                  Black RGB, an alpha.
                  Click image for larger version  Name:	image.png Views:	0 Size:	42.1 KB ID:	1167803​

                  ​
                  Lele
                  Trouble Stirrer in RnD @ Chaos
                  ----------------------
                  emanuele.lecchi@chaos.com

                  Disclaimer:
                  The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                  Comment


                  • #24
                    Are you pasting into Slack, or into Photoshop?
                    I tested multiple applications including Slack and everywhere the image after paste looks the same as in VFB. Testing with latest V-Ray 6 and 3ds Max 2023.
                    Vladimir Krastev | chaos.com
                    Chaos Support Representative | contact us

                    Comment


                    • #25
                      Huh. Well the data is getting onto the clipboard somehow. I wonder what we are doing differently. I've been having this issue with multiple versions of VRay6 (since before hotfix 2 at a minimum, and up until a stable from a few days ago). And Vray has been reinstalled multiple times (at least re-installed with new versions).

                      IN case I didn't mention.. Windows 10 Pro Max 2021
                      Last edited by Joelaff; 13-12-2022, 02:52 PM.

                      Comment


                      • #26
                        Super odd.
                        Any more bits of info you find, shoot.
                        Lele
                        Trouble Stirrer in RnD @ Chaos
                        ----------------------
                        emanuele.lecchi@chaos.com

                        Disclaimer:
                        The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                        Comment


                        • #27
                          Originally posted by Joelaff View Post
                          Huh. Well the data is getting onto the clipboard somehow...
                          Do you have any windows clipboard tools installed that might be interfering?

                          Website
                          https://mangobeard.com/
                          Behance
                          https://www.behance.net/seandunderdale

                          Comment


                          • #28
                            Originally posted by seandunderdale View Post

                            Do you have any windows clipboard tools installed that might be interfering?
                            Nope. It is literally copying the alpha, so this MUST be in Chaos' code. It's not just a screenshot.

                            Comment


                            • #29
                              There must be indeed something in the code that considers the alpha. As Joelaff experiences with pasting into Slack, and as I sometimes notice when pasting into photoshop (after some back and forward copy-paste between photoshop and VFB).
                              Last edited by Vizioen; 17-12-2022, 04:45 AM.
                              A.

                              ---------------------
                              www.digitaltwins.be

                              Comment


                              • #30
                                OK. I figured out why you guys are not seeing the issue... Because I am using the One True Browser (Firefox). It does not paste the alpha in Edge. I refuse to use Google's turd-child (but Edge uses Chrome's rendering engine).

                                So please try it out in the OTB, and you can see the issue for debugging. Thanks.

                                Though Edge and Chrome may ignore the alpha data, it is clearly on the clipboard, or Firefox would not be able to read it.

                                Comment

                                Working...
                                X