Sat, Oct 5, 8:15 AM CDT

Renderosity Forums / Vue



Welcome to the Vue Forum

Forum Moderators: wheatpenny, TheBryster

Vue F.A.Q (Last Updated: 2024 Sep 26 4:27 pm)



Subject: Second Skins and Displacement Maps in Vue


AboranTouristCouncil ( ) posted Thu, 24 April 2008 at 8:15 AM · edited Sat, 05 October 2024 at 6:15 AM

SVDL has a tutorial on how to create displacement maps in Poser using 2nd Skins. I've been trying, largely without success to replicate something simliar in Vue. The net effect is that he subtracts the base skin texture from the 2nd skin texture to create a displacement map. Works well in Poser, but does not work so well in Vue.
I'm hoping someone can point me in the right direction.
Here's what I've done so far:

  1. I first tried to copy Svdl's method directly in Vue in a single layer to create my bump (displacement) map. Does not work as the displacement affects the entire texture, and not just the clothing areas.
  2. Created a mixed material, using the base texture first, then the new displacement layer as a second layer with the same results as before. (Both textures showing displacement)
  3. Same as 2. above, but created a distribution map using the same process as for the displacement map for the two materials. This had better results, but I am having trouble creating the distribution map in pure black and white.
    Several questions have arisen from playing with this:
    1.) how do you get displacement to affect only certain areas of the texture map? Nothing worse than seeing your figure suddenly swell up as if it were allergic to a bee sting.
    2.) How does one obtain true black and white from color images in the function editor? (I can get gray scale, but I need black and white.)
    I'm attempting to do this without having to create  other texture maps.

I would include images of my settings, but I'm on a Mac, and haven't learned how to do screen captures yet.

...Insert some witty or thought provoking comment here...


Trepz ( ) posted Thu, 24 April 2008 at 9:44 AM

could you add a mesh texture in Photoshop of your skin and then make a pure white copy of it and use that for your displacement in Vue?

"Many are willing to suffer for their art. Few are willing to learn to draw."


AboranTouristCouncil ( ) posted Thu, 24 April 2008 at 11:39 AM

I'm attempting to do this without having to create  additional texture maps.
The end result is that I want to create a texture where a person can input their two texture maps (base texture, then texture with clothing on it (second skin)) and have instant displacement. Much like Silverblade's Dirt mat where one only has to input the texture they want to 'dirty'.
I think I'm on the right track using a distribution map, but can't get true black and white values from the end result of subtracting the two textures. Gray scale is all. And the slightest amount of gray in the distribution gives some pretty wild results...

...Insert some witty or thought provoking comment here...


FrankT ( ) posted Thu, 24 April 2008 at 1:45 PM

can you not run it through one of the clip filters to force it to black and white ?

My Freebies
Buy stuff on RedBubble


AboranTouristCouncil ( ) posted Thu, 24 April 2008 at 2:29 PM

I've tried various combination of filters, but they tend to set different thresholds of where black and white should fall. This results in blank (leaving base texture) areas where cloth textures should be, and often leaves very noticeable artifact around the edges.
(wish I had screen capture on the Mac to show what I've done.)
Not being overly familair with all the filters and how they work, I've just been putting them in various ways and hoping for the best.

...Insert some witty or thought provoking comment here...


thlayli2003 ( ) posted Thu, 24 April 2008 at 10:43 PM

I don't have a MAC but just did a search and found this. 
The basic screen capture is the same for Panther and Leopard.

http://lifehacker.com/341135/leopards-additional-screen-capture-options


AboranTouristCouncil ( ) posted Fri, 25 April 2008 at 6:26 AM

Thanks! Pictures will be forth coming today.

...Insert some witty or thought provoking comment here...


dburdick ( ) posted Fri, 25 April 2008 at 11:27 AM

Well you can indeed use the SVDL method in Vue to create displaced second skins but you are not going to get results as good as using a specific grayscale displacement map.  Here are a couple of pointers however on how to replicate the SVDL method in Vue:

1.  In Poser, Black represents a displacement of zero whereas in Vue it represents a negative displacement.  Zero displacement in Vue (and most other graphic programs) is represented by middle gray.   So you will need to normalize the computed displacement map in Vue by using a "Map" filter to set all black values (-1) to zero (0).  Plug a map filter node into the computed displacement map and set the values as follows:

Input Range Lower : -1
Input Range Upper: +1
Output Range Lower: 0
Input Range Upper: +1

2.  In all likelihood, you are going to get displacement artifacts showing up using SVDL's subtraction method due to jpeg compression pixelation issues.  You can smooth some of this out by using a "Quantize" filter and then playing with the threshold and contrast settings. 


AboranTouristCouncil ( ) posted Fri, 25 April 2008 at 11:32 AM

Thanks! I'll give it a try this afternoon!
And thanks for the tip about artifacts. I hadn't considered JPG compression to  be the culprit.

...Insert some witty or thought provoking comment here...


AboranTouristCouncil ( ) posted Sat, 26 April 2008 at 9:41 PM

file_404973.jpg

After numerous attempts, and using the recommendations by dBurdick, I find that the JPG compression artifacts are too difficult to overcome. In order to get a decent displacement in the render, the figure itself winds up having a very fine orange peel appearance. I get a better result using a standard bump map. So for now I'm going to table this experiment and perhaps I'll find a better solution in the future.

...Insert some witty or thought provoking comment here...


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.