Jump to content

How do you use the new displacement mapping feature in 2014?


Eric Nickerson

Recommended Posts

  • Vectorworks, Inc Employee

Hello Lealaps:

All Bump shaders have a displacement parameter that adds displacement to the bumps.

Custom RW Options has a new option to turn on Displacement Mapping in the rendering, and Final Quality has it on by default. There is a Quality setting for it in the Custom RW Options too.

The Detail setting in the bump shaders is there to control the amount of detail shown for that texture to start with, the combination of Detail and Quality sets the amount of subdividing that will be done on the object in order to show the displaced bumps. For example some textures might need High Detail all the time (little bumps to simulate grass is one example), others can be OK with Detail set to Low all the time.

Using the Noise shader can produce cleaner bumps than using an image.

Attached is an example of using the Very High detail setting with the Noise bump shader to approximate grass. Very High detail should be reserved for close objects - displacement mapping can take awhile to pre-process and render.

Link to comment
  • Vectorworks, Inc Employee

You can find the latest iteration of the manuals inside the Vectorworks installation folder, under:

Mac:

/Applications/Vectorworks 2014/VWHelp/Additional Documentation

Windows:

Program Files (Or Program Files x86)/Vectorworks 2014/VWHelp/Additional Documentation

I am not sure if they describe the creation of Displacement Mapped textures, but we will definitely be adding a few 101s on that and the Image Brick textures to the Vectorworks Service Select video library soon.

Link to comment
  • 3 months later...
  • Vectorworks, Inc Employee

As long as you have or can make a proper displacement map, yes, you would be able to show siding fairly well.

There are a couple places you can get highly detailed pre-configured image based textured paired with their bump or displacement maps already, like this one:

http://resources.maxwellrender.com/search.php#page=1&mode=1&search=siding&v1=0&v2=0&tipo=

Not sure exactly when on the VSS content but it may be awhile, I know videos on Worksheets and a few other things are coming first.

Edited by JimW
Link to comment
  • Vectorworks, Inc Employee

Thanks Jim. Good to know that Displacement Maps are further down in the VSS 101 queue.

I'll poke around to see if I can find a good board & batten texture & bump map. If I don't find out, at least it would be one of the easier kinds to practice making.

-Neil

Link to comment
  • 1 month later...
  • 3 months later...

Dave (or anyone else) -

I checked out your grass displacement file and it looks awesome!!

To implement it in my file, I tried first to mimic your texture's settings, and made sure my viewport had displacement mapping checked. When it didn't work, I copied the 3d polygon from your file and placed it in space in mine. When rendered in the same viewport, that 3d polygon shows correct displacement, but my ground surface (with the same texture) does not. Since my ground surface is an extrude, I tried fiddling with the map type in the extrude's OIP but to no avail. Any idea why the texture would render with displacement on one object and without on another?

Thanks!!

So excited by the prospect of attractive grass in our renderings!

Amelia

VW 2014

Link to comment
  • Vectorworks, Inc Employee

This isnt functioning properly. It appears to reduce the intensity of the displacement relative to the size of the object, which should not be the case.

You should be able to see this if you reduce the size of the ground extrude significantly. When I create a new extrude just larger than the 3d poly and the test cube, it has significantly more displacement, but still not the identical displacement to the 3d poly, which it should.

It also appears to be affected by the shape of the ground extrude, over near the small rectangular notch along one edge, the displacement seems much stronger.

I do not believe you have done anything wrong here, I will submit this as an issue now and see if it can be sorted out.

Link to comment
  • Vectorworks, Inc Employee

Confirmed, the intensity of the displacement mapping is being affected by the size of the plane it is mapped to. this should not be the case. I will post if there are any updates.

This example image shows the intersection of 4 rectangular 3d polygons, all with the same texture and mapping settings, the only difference being the size of the 3d polys. As you can see, the displacement become less intense on the larger ones.

Link to comment
  • Vectorworks, Inc Employee

I think for the larger object you could work around it for the time being by splitting the large surface up into multiple small squares.

For instance, you could take the small 3D poly that works properly and duplicate it in an array to create the "ground", then just group all of the pieces together for easy movement.

This should have the same visual appearance without having to mess with special versions of the texture for each size of object.

Link to comment
  • 9 months later...
Confirmed, the intensity of the displacement mapping is being affected by the size of the plane it is mapped to. this should not be the case. I will post if there are any updates.

This example image shows the intersection of 4 rectangular 3d polygons, all with the same texture and mapping settings, the only difference being the size of the 3d polys. As you can see, the displacement become less intense on the larger ones.

Isn't that related general to the way textures are mapped to faces ?

As I miss the simple texture by size mapping mode.

F.e. if I set a texture size according to an image, f.e. a masonry photo

with 4 bricks in size, to 1 m length and tiling on.

If that would be possible for images in VW,

that would solve the problem above with a displacement texture too.

Edited by zoomer
Link to comment

I always set the size in the material editor for any reasons,

but when I rendered it size was ignored, at least not in scale.

I think the elements were solids, not meshes (?)

I tried then to go to the object settings and change from given

to any other texture mapping mode that could respect my

material size but was not successful.

Link to comment
  • 4 weeks later...

Hi,

I had trouble finding out how to do the displacement mapping so I have toyed with it and the attached my result which gives a bit of an overview in the first video and the second shows you how I did it.

Have fun

This one shows how I created the maps

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...