English


Profile Picture

Baffled: getting a black box around what should be masked out

Posted By esemgee 5 Years Ago
You don't have permission to rate!
1
2

Baffled: getting a black box around what should be masked out

Author
Message
esemgee
esemgee
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 168, Visits: 469
@4u2ges. Thanks. I presumed the label was part of the bottle, or something, so for me it was an error, or misjudgement, by the creators. Who wants to do all that unnecessary work when you should be able to just simply change the image, no metallic and roughness and so on! The bottle I used was $1 and is quite close to the proper bottle, so I am happy.
4u2ges
4u2ges
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)Distinguished Member (22.3K reputation)

Group: Forum Members
Last Active: Last Week
Posts: 5.3K, Visits: 16.7K
The reason you cannot achieve what you want is, that the label is part of the bottle mesh. If you use opacity map, it does hide the bottle mesh. It you remove opacity map, iClone cannot handle PNG transparency.

There is a way though:

Apply a color diffuse map to the bottle material and a black map to its opacity channel. Set opacity slider to 100.
Apply your png texture to the label material and remove it.
Save generated opacity map.
Edit your png texture and apply background color same as bottle diffuse map.
Apply edited texture to label material. and replace opacity map with the one you've previously saved.
Make sure the roughness and metallic maps for label and bottle materials are in sync.
For both bottle and label decrease the opacity map strength to the desired level (must be the same for both).

75% of original size (was 669x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/08ed1890-ab77-47a1-be77-0c14.jpg

... or take it to Blender and separate labels mesh ;)

PS: Thanks for the bottle thebiz :)




esemgee
esemgee
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 168, Visits: 469
@thebiz.movies and @Postfrosch. Thanks so much for your time in this, it is genuine help and I appreciate it enormously, however, you rather missed what I was trying to do: A smaller, shaped label - not just replacing the one that was there - on a see-through beer bottle, with a 'blurb' label on reverse and a circular one on neck.  What I want I can do with other bottles, no problem, just this particular one, as it was free, became a challenge. The bottle is the error, not what I (and everyone offering support) was doing, which is 100% correct.

I would suggest you save your time but if you want to try again I have attached the original image I used for the label.  I have also enclosed a photo of the offending bottle with their label deleted - note there is a white square instead, this should just be 'glass' and I presume is the reason for the error. Alongside is what I wanted, but with a better designed prop, so I am ready to go. Again: thanks everybody!
Attachments
bottles.jpg (47 views, 89.00 KB)
OR-PumpClip-cutout-big.png (38 views, 153.00 KB)
thebiz.movies
thebiz.movies
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (14.4K reputation)Distinguished Member (14.4K reputation)Distinguished Member (14.4K reputation)Distinguished Member (14.4K reputation)Distinguished Member (14.4K reputation)Distinguished Member (14.4K reputation)Distinguished Member (14.4K reputation)Distinguished Member (14.4K reputation)Distinguished Member (14.4K reputation)

Group: Forum Members
Last Active: Last Month
Posts: 2.1K, Visits: 42.3K
Hi Garry, just saw this post this morning.  As postfrosch shows the image can be easily changed (at least in my case). The original file was a jpg and had no opacity map.   If you want to remove the label simply use the paint material tool and apply the bottle texture to the label areas.  Please post an image of the black box and perhaps someone can figure this out.

Heres the asset if anyone wants to take a look: https://marketplace.reallusion.com/bottlecap


Postfrosch
Postfrosch
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (39.0K reputation)Distinguished Member (39.0K reputation)Distinguished Member (39.0K reputation)Distinguished Member (39.0K reputation)Distinguished Member (39.0K reputation)Distinguished Member (39.0K reputation)Distinguished Member (39.0K reputation)Distinguished Member (39.0K reputation)Distinguished Member (39.0K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 6.9K, Visits: 18.4K
Hi Garry,
look this Clip. It works fine with jpg-File

Take no png-File.
Greets Postfrosch



--------------------------------------------------------------
75% of original size (was 669x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/cd9c9a06-21a5-44c5-9f67-6810.jpg
mark
mark
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (12.8K reputation)Distinguished Member (12.8K reputation)Distinguished Member (12.8K reputation)Distinguished Member (12.8K reputation)Distinguished Member (12.8K reputation)Distinguished Member (12.8K reputation)Distinguished Member (12.8K reputation)Distinguished Member (12.8K reputation)Distinguished Member (12.8K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 4.9K, Visits: 16.7K
Might be nice to see a screen shot of the issue as well.;)


PROMO-BACK2
Click here to go to my YouTube Channel filled with iClone Tutes and Silly Stuff

Visit ANIMATED PROJECTIONS Powered by iCLONE

Intel Core i7 3960X @ 3300MHz Overclocked to 4999.7 MHz Sandy Bridge 24.0GB DDR3 @ 833MHz Graphic Display HP ZR30w 
GeForce GTX 980Ti 6GB  Microsoft Windows 7 Professional 64-bit SP1 ASUSTeK COMPUTER INC. P9X79 WS (LGA2011)



justaviking
justaviking
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 8.2K, Visits: 26.5K
Reaching way back into the dusty archives of my brain...

Several years ago I struggled with some lettering similar to what the OP described there.  Eventually I found out my "black" background was not pure black.  What should have been 0,0,0 (RGB) was something like 0,2,0.  I had used a color wheel or something like it to pick the black background, and my mouse must have slipped away from the pure-black corner.

Sorry I can't recall more details than that, but it's one more area to investigate.



iClone 7... Character Creator... Substance Designer/Painter... Blender... Audacity...
Desktop (homebuilt) - Windows 10, Ryzen 9 3900x CPU, GTX 1080 GPU (8GB), 32GB RAM, Asus X570 Pro motherboard, 2TB SSD, terabytes of disk space, dual  monitors.
Laptop - Windows 10, MSI GS63VR STEALTH-252, 16GB RAM, GTX 1060 (6GB), 256GB SSD and 1TB HDD

esemgee
esemgee
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 168, Visits: 469
I have given up, spending too much time trying to solve it - obviously the creators of this (bottle and cap) were learning! There are more bottles after all and what I wanted worked reasonably easily - just some resizing.  Thanks for your help, and, if you ever get bored, there is a little puzzle for you...
esemgee
esemgee
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)Distinguished Member (2.2K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 168, Visits: 469
@amperfox, @Lord Ashes and @mark. Thanks for your responses. The original image I am using to replace the label is png, and after a slight tweak in Photoshop was saved as png - I have also tried it using jpg with a mask. The png created its own opacity file. Now, everything TELLS me it is png but if I use the opacity the image goes, leaving a black or opaque square. This would appear to be a ghost of the label I am replacing. If I delete the label then the bottle has a totally see-through square, so somehow the bottle was made with this square in it (??Why??), yet I can see no method of how the bottle was made, how to fill this square in etc. So, basically, I am putting on the label correctly, your help confirmed it, but now there is this oddity of a square that should not be there!

Something else that is strange: as far as I can find out this is the ONLY beer bottle in the whole of RL Marketplace. It is free (beer bottle with top) so if you want to have look at it please let me know if there is a way round the problem.
Amper Sand
Amper Sand
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 731, Visits: 5.2K
Me I had the following tricky issue :)
I had a prop and I wanted to edit only the Diffuse image, which was a JPG - so I saved it, I edited it, then I dragged it back into the Diffuse. But something somehow looked different: looking carefully, I observed that when I dropped it, iClone automatically replaced the old Opacity with a new one, auto-generated from the modified Diffuse, which was fully opaque so what should have been transparent become black. So, I redo the whole process, but I also saved the original Opacity image; after dragging the new Diffuse, i also dragged the old Opacity and everything went OK.

______________________________________________________________________________
Software developer. iClone hobbyist since January 11, 2020. Best work so far: Robots among us: The Lab and The sad end of a legend
In progress: Black Mamba
AMD Ryzen 3950X 16C/32T 4.2 GHz, 64GB RAM, RTX2080 11GB, 2TB Samsung 970 Pro SSD, 8TB Seagate BarraCuda HDD, Win11 64-bit, iClone 8.12


1
2



Reading This Topic

0 active, 0 guests, 0 members, 0 anonymous.
No members currently viewing this topic!