Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1

    Default Blender - Displacement Maps

    Normally, when we map a texture onto a plane (for example), depending on the texture, it can look quite flat. We might increase the textured look of the object with bump maps or normal maps, however, the geometry is still flat...the texturing, a simulation.

    On the other hand, if we have a displacement map for our texture, then we can subdivide the original object and apply the displacement map. This will actually alter the geometry of the object and therefore, looks much more realistic. [Note: When using a bump/normal map, the shadows cast from the object are still the exact shape of the object. A sphere with bump/normal map will cast a circular/oval shadow with no alterations where the texture of the sphere is concerned. With the displacement map, there will be accurate shadows cast. In the above example, the sphere could be casting a very different shadow, depending on the displacement map.]


    Below is a plane with Texture and Normal map applied...

    Click image for larger version. 

Name:	MAP2_TextureNormSpec.jpg 
Views:	315 
Size:	125.9 KB 
ID:	84686

    Below is the same plane with Texture and Displacement map applied... (exaggerated for obvious effect)

    Click image for larger version. 

Name:	MAP2_TextureDisp.jpg 
Views:	353 
Size:	131.2 KB 
ID:	84687

    Below is a cube with repetitive brick Texture and Normal map...

    Click image for larger version. 

Name:	MAP_TextureNormalSpec.jpg 
Views:	324 
Size:	93.4 KB 
ID:	84688

    Below is the same cube, but with Displacement instead of Normal map... (slightly exaggerated to show effect)

    Click image for larger version. 

Name:	MAP_TextureDisp.jpg 
Views:	438 
Size:	98.2 KB 
ID:	84689

    So...what do you need in order to use Displacement Maps?

    Well, first, the map. [Some texture libraries also have Displacement maps for their textures, so they're worth picking up at the same time.]

    Second, your object will likely need to be subdivided considerably (to give it a fine enough area to displace). [I usually subdivide and set it to "10" and then subdivide once more as the starting point.]

    Then, you must add a texture channel and select your map image. Uncheck Color influence and check Displace and season the amount to taste.

    Note: You can also create your own Displacement maps in Xara! Use grayscale and make white the closest to you and black, the furthest. {Frances, I just know you'd be able to use this idea for a cool effect.}

    Here is (a converted jpg of) the displacement map used for the 2nd image above...

    Click image for larger version. 

Name:	sto010_DISP.jpg 
Views:	1157 
Size:	131.6 KB 
ID:	84690

    Have fun!

    James

  2. #2

    Default Re: Blender - Displacement Maps

    Displacement maps work best with a bit of smooth transitioning. (blurring a bit sometimes helps this)

    However; below, I just took a simple contour from our favorite graphics program, Designer Pro 7, and used it as a Displacement map applied to a simple plane. (so, technically, NO ADDITIONAL MODELING)

    Click image for larger version. 

Name:	XaraContourDispMap.png 
Views:	235 
Size:	4.1 KB 
ID:	84692

    Below you can see the simple plane with various levels of Displacement (as shown in the graphic filename)...

    Click image for larger version. 

Name:	XaraCntrDisp_0.1_.jpg 
Views:	207 
Size:	22.5 KB 
ID:	84691

    Click image for larger version. 

Name:	XaraCntrDisp_0.2_.jpg 
Views:	234 
Size:	27.4 KB 
ID:	84693

    Click image for larger version. 

Name:	XaraCntrDisp_0.4_.jpg 
Views:	205 
Size:	24.1 KB 
ID:	84694

    Or, even negative displacements...

    Click image for larger version. 

Name:	XaraCntrDisp_-0.6_.jpg 
Views:	212 
Size:	24.3 KB 
ID:	84695

    Have fun!

    James

  3. #3

    Default Re: Blender - Displacement Maps

    Here is the same idea, but applied to a sphere. (remember, there was no additional modeling... only a sphere with a texture channel applied)

    Click image for larger version. 

Name:	XaraCntrDispSphere1.jpg 
Views:	230 
Size:	28.0 KB 
ID:	84697

    Click image for larger version. 

Name:	XaraCntrDispSphere2.jpg 
Views:	212 
Size:	37.3 KB 
ID:	84698

    James

  4. #4
    Join Date
    Sep 2008
    Location
    Antwerp, Belgium
    Posts
    410

    Default Re: Blender - Displacement Maps

    A while ago, I posted this picture - the two balls in front are done with displacement, the yellow one positive and the green one a negative displacement.

    Click image for larger version. 

Name:	spelen met materialen.jpg 
Views:	258 
Size:	84.0 KB 
ID:	84713

    James, you commented you liked the other two better
    Guy -

    I love these tools

  5. #5

    Default Re: Blender - Displacement Maps

    Hello Guy,

    Re: "James, you commented you liked the other two better."

    Which is not to say that I didn't like all of them. [pardon the double negative]

    Here is another example... a field of rocks.

    The first is the rock plane with bump map: (not bad, but too flat)

    Click image for larger version. 

Name:	Rocks_Bump.jpg 
Views:	273 
Size:	56.0 KB 
ID:	84714

    And now, the same rock plane but with displacement map: (much better, anything but flat)

    Click image for larger version. 

Name:	Rocks_Disp.jpg 
Views:	308 
Size:	58.3 KB 
ID:	84715

    Though a comparison could be made, there's really no comparison.

    You can see in this "rock room" that shows the same texture/displacement from various angles, that the texture really is 3-dimensional. ie. the displacement map made it come alive

    Click image for larger version. 

Name:	RocksRoom_Disp_4.jpg 
Views:	302 
Size:	155.8 KB 
ID:	84719

    Peace

    James
    Last edited by ODdOnLifeItself; 16 October 2011 at 10:49 AM.

  6. #6

    Default Re: Blender - Displacement Maps

    Here is a (surely recognizable) Xara shape that was used "as is" as a displacement map.

    Think how long it would take to model it as compared to the 10 mins it took in Xara and Blender to accomplish basically the same thing...



    Peace

    James

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •