Contributor ajz3d Posted February 17, 2013 Contributor Report Share Posted February 17, 2013 Imagine that you have a surface with baked normals (separate layer). You create a new layer, paint color, depth and specularity on it. Then you create another layer on top of the first layer and again: paint color, depth and specularity information. The depth from both layers, that have been created, accumulates in areas they intersect each other. How to prevent it? How to force 3D Coat to use depth information from the second layer only (in areas where both layers meet), and at the same time include normals from the baked normal map layer? Layers: - NormalMap - secondLayer - firstLayer Quote Link to comment Share on other sites More sharing options...
Contributor Tony Nemo Posted February 17, 2013 Contributor Report Share Posted February 17, 2013 Your concept would benefit from some images.You can choose between "additive" and "non-additive" when painting depth. 1 Quote Link to comment Share on other sites More sharing options...
Contributor ajz3d Posted February 17, 2013 Author Contributor Report Share Posted February 17, 2013 Sure. Here's an exemplary image. There are two layers: 70 and 71. 70 has dots as depth information, 71 those other shapes. I'd like the depth of layer 70 be completely replaced by depth of layer 71. There's always an eraser tool I can use to remove depth from layer 70 in the areas both layers share, but I really want to avoid it, because I have a lot of such places and it would take a long time to clean them up by hand. Quote Link to comment Share on other sites More sharing options...
Contributor Tony Nemo Posted February 18, 2013 Contributor Report Share Posted February 18, 2013 I f you delete layer 70. all that will remain is the depth information in layer 71, thus "I'd like the depth of layer 70 be completely replaced by depth of layer 71" is brought about with one click. Perhaps you want the bumps to survive where there is no '71' depth, in which case, you would need to mask for layer 70 where you didn't want bumps. Quote Link to comment Share on other sites More sharing options...
Contributor ajz3d Posted February 19, 2013 Author Contributor Report Share Posted February 19, 2013 I want the bumps to survive where there is no "71" depth. Mask for 70? You mean Blending->Linked layer? Quote Link to comment Share on other sites More sharing options...
Advanced Member bisenberger Posted February 19, 2013 Advanced Member Report Share Posted February 19, 2013 You might try unchecking Additive painting under the normal icon pulldown. Here is an example of a line painted over another line with Additive painting checked on and another with Additive painting checked off Quote Link to comment Share on other sites More sharing options...
Contributor ajz3d Posted February 19, 2013 Author Contributor Report Share Posted February 19, 2013 "When it is disabled(...) In case of ambiguity, the highest or the deepest stroke is chosen." So unfortunately, this wouldn't work because if layer 70 had greater depth values in areas it shares with 71, 70's depth would be preserved. Also, this works only while painting and I have depth already painted. I thought about "freezing painted pixels" of layer 70, inverting the freeze and simply deleting all depth information of the layer 70, but I have only depth information on both layers (no color or specular) and 3D Coat doesn't treat depth as "painted pixels". Quote Link to comment Share on other sites More sharing options...
Advanced Member puntoit Posted February 19, 2013 Advanced Member Report Share Posted February 19, 2013 maybe you can trick it to be a painted layer. Turn off all the layers you don´t want as a freeze/mask and then export the normals. You might have to turn off the "fill empty areas". Import the normals again as a diffuse layer and use it as freeze. This is only a theory as my 3d-coat is blocked due to combining voxel layers at the moment. (While re-reading it before sending it. Isn´t the normal coverage the same as the color coverage of that layer?) Quote Link to comment Share on other sites More sharing options...
Advanced Member bisenberger Posted February 19, 2013 Advanced Member Report Share Posted February 19, 2013 I don't know if this will help, but you can right click on a layer and choose Set Height to Zero. Quote Link to comment Share on other sites More sharing options...
Javis Posted February 19, 2013 Report Share Posted February 19, 2013 I think the best way is to use layer linking (as suggested above). If you paint colour at the same time as your depth it makes it easier, either way though, you can use it to mask the depth on another layer. I did a video on it not that long ago actually, maybe you'll find it helpful for what you're trying to do. https://vimeo.com/57107123 Quote Link to comment Share on other sites More sharing options...
Contributor ajz3d Posted February 20, 2013 Author Contributor Report Share Posted February 20, 2013 maybe you can trick it to be a painted layer. Turn off all the layers you don´t want as a freeze/mask and then export the normals. You might have to turn off the "fill empty areas". Import the normals again as a diffuse layer and use it as freeze. This is only a theory as my 3d-coat is blocked due to combining voxel layers at the moment. (While re-reading it before sending it. Isn´t the normal coverage the same as the color coverage of that layer?) This is interesting, although I'm afraid it doesn't work in practice. The problem is that the Normal Map exports without an alpha channel. What it means, is that if I use it as a freeze mask, it will freeze everything. However, you've put me on the right tracks (see the end of this post). I don't know if this will help, but you can right click on a layer and choose Set Height to Zero. Thanks Bisenberger, but this would remove all Layer 70 depth information from places I want it to remain. I think the best way is to use layer linking (as suggested above). If you paint colour at the same time as your depth it makes it easier, either way though, you can use it to mask the depth on another layer. I did a video on it not that long ago actually, maybe you'll find it helpful for what you're trying to do. https://vimeo.com/57107123 Javis, very interesting video. Thanks for posting it. If 3D Coat would treat depth information as painted pixels, I think this would do the trick. Okay, I followed Puntoit's advice, but in a slightly different way. In the layers menu, I found this command called "Copy channels". I have created a new, temporary layer to be used as destination in a copying operation, then I've set it's Red channel as destination, Layer's 71 Depth channel as source and Replace as copy method. Now, in theory it should work, resulting in the temporary layer painted in red, only in places where Layer 71 has depth information. However, I think there seems to be a bug in the Copy Channels command, because this is what it returned (note the black-squared outline). Still, this is as close as I can get without manually erasing the depth from Layer 70. Do you think I should report it to Mantis? P.S. I've noticed that Expand/Contract Frozen Area doesn't seem to work. Can someone confirm this? Quote Link to comment Share on other sites More sharing options...
Reputable Contributor Solution digman Posted February 21, 2013 Reputable Contributor Solution Report Share Posted February 21, 2013 First, a color that is painted on a layer will freeze even depth in all layers by using the "Freeze Painted Pixels" in that color's layer drop down list. Create a Layer. You can paint your design or area to freeze by color. (I do not paint any depth as I just want my design created first.) Personal choice there, you may choose different of course. I will give you my way and then you can adjust it as you so desire. After painting color, freeze the color by right clicking on that layer in the Layers Panel and choosing "freeze painted pixels" Create a new layer for your depth work. A mask works through all layers. Paint your depth brush selection in the unfrozen part. You made also paint your color and spec as well, your choice... Note: Turning off the color that you froze will not turn off the mask. Important for the below... Ctrl-Shift-I to reverse the freeze. Paint your new depth brush selection in the unfrozen part. The two painted depths will not intersect, no build up but of course the mask will prevent you from painting over the area that you froze. The above is a simple use of the method and not limited to what I just wrote. I just gave you one depth layer example but you can use more than one layer for painting your depth of course. Also you can have more than one layer for creating masks. Explore and have fun as there are many ways of doing the above... This might not be want you want but it is good for creating designs. Also the above method is not meant as a replacement for the mask layer option in the blending panel but just as just another workflow... The image is shown not for quality but shows depth in the design by different kind of brushes but not intersecting each other... On the right is the color I used to create the mask by freezing the color before painting any depth... 1 Quote Link to comment Share on other sites More sharing options...
Contributor ajz3d Posted February 21, 2013 Author Contributor Report Share Posted February 21, 2013 Thank you. I'm going to try this. By the way, a slightly different question: why can't I paint 0% specularity on a layer that is above a layer that already has some specularity? Quote Link to comment Share on other sites More sharing options...
New Member wander76 Posted March 15, 2016 New Member Report Share Posted March 15, 2016 I have the same problem. I have model with two layers with two different materials (lower layer -Kevlar, upper layer - Paint). Now lower layer affects on upper layer (displace, specular). (Picture 1) But I want lower layer shouldn't affect upper layer at all where two layers have intersections. Upper layer must look like (Picture 2). I got the result I need (Picture 3) with freezing/masking upper layer, but I want to know, may be for the last three years appeared a simple way to paint one layer over another without any interference? Sorry for my bad English. Thanks for the help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.