PDA

View Full Version : Question on vertex paint/layered textures



Ryan Roye
08-19-2010, 11:45 AM
Can someone tell me whether its possible to do this?

-Create a flat square plane
-Have 2 textures, (Texture #1 and Texture #2)
-Put texture #1 on top of texture #2
-Use vertex paint, airbrush, or a similar solution to "mask" away texture #1 so that texture #2 shows wherever you paint on top of, basically giving you a smooth transition between the textures.

The reason I ask is that it would really help me diversify my landscapes... I typically work with low-polygon stuff so a lot of the detail of my work comes from textures rather than shapes.

Here's a rough example of what I'm talking about, basically I'd like to do this directly through Lightwave instead of making it in a paint program. I want to be able to do this dynamically... otherwise I'd require gigantic images to cover the landscape in the detail that I want.

http://www.ac.tanadrinestudios.com/Forumpicholder/Maskexample.jpg

Sensei
08-19-2010, 04:56 PM
Open Node Editor, add 2x 2D Textures > Image nodes, and connect with Tools > Mixer. add Vertex Maps > Weight or yet another Image node, and use as Opacity to Mixer node. Output put in Color in Surface node..

Ryan Roye
08-19-2010, 07:46 PM
This is my first time exploring the node editor... from what you've put in this is what I have:

http://www.ac.tanadrinestudios.com/Forumpicholder/Mask1.jpg

I'm just using a sub-divided flat plane as my test subject. I think I messed up somewhere as nothing affects the object visually... and even with experimenting I can't get anything to display on my object, its just gray. Even rendering doesn't show anything but a black mass when I switch to layout. I can see how the Airbrush numeric works with the weightmap, but if I can't see my changes airbrush is useless.

What do I need to fix? Are there hidden options that I can toggle to display changes I make in the node editor in modeler?

Sensei
08-19-2010, 07:49 PM
You should use Weight Map only in Mixer Opacity. Not in Image Opacity..

Also make sure that settings in nodes are correct (double click to open additional window).

Ryan Roye
08-19-2010, 08:12 PM
Got it! Here's the result of your help, thank you very much... I'm gonna have to play with the node editor some more as I keep making stuff.

http://www.ac.tanadrinestudios.com/Forumpicholder/testimage3.jpg

This is definitely going into my next 3d developer's diary video on youtube :)

Sensei
08-19-2010, 08:25 PM
BTW, I have made plugin for processing weight maps any imaginable way called VMapProcessor.
It's part of TrueArt's Modeling Pack http://modelingpack.trueart.eu

Take a look at plugin videos http://www.trueart.eu/?URIType=Directory&URI=Products/Plug-Ins/VMapProcessor#Videos

You can f.e. use turbulence node to generate or modify your hand painted weight maps, giving more realistic randomness, or generate smooth transition using gradient node, like on above videos.