Displacement Roof Surfaces

119 votes
Version: 
1.0
Date Updated: 
12/14/2010
Author Name: 
DigitalXModels.com

See "Additional Info" for the latest version history.

Displacement Roof Surfaces is a Free MaxScript that will take your existing roof geometry and properly apply UV Mapping coordinates to each roof plane and then apply convincing materials and displacement modifiers to the geometry.

Our goal is to eliminate the need for filling your 3d scenes with millions of polygons of roof tile geometry, thus keeping your viewports moving quickly and saving you hours of tedious work.

Simply choose your existing roof geometry, select the edges that represent ridges, hips, and gables, and click "Create!". After the script runs, you can quickly adjust the color, variation, and tile size in the viewport and in real time.

In future releases we will add additional roof tile profiles, asphalt shingles, metal seamed roofs, and corrugated metal. If you have a specific type of roof surface you'd like us add, please contact us via email.

Additional Info: 

Version History:

v1.0 - 10/20/10
-added menu for choosing multiple roof types
-added 2 Flat Concrete Tile types
-added ability to create multiple roof types within the same file
-added support for metric units
-added options for Creating UVs, Materials, and Ridge Geometry
-added tooltips
-fixed rotation of ridge tiles existing on horizontal edges with only 1 face

v.90 - 8/10/10
-1st Public Release

Version Requirement: 
2010, 2011
Video URL: 

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
3dlands's picture

Problem to run the script

Compile error problem on max 2011 x64.

Impossible to open with any winrar or winzip....

Please help

Rox

AttachmentSize
roof_error.png 212.86 KB
assaultzero's picture

How would I download this? is

How would I download this? is it not free anymore?....

1rv's picture

Sorry if I'm missin'

Sorry if I'm missin' something..
How would I download this? With add to cart button and then
a huge form of 1 mile long?

digitalx3d's picture

Hi Trixian, When I post an

Hi Trixian,
When I post an update I will definitely list the changes made. I just haven't had time to update this script yet.

digitalx3d's picture

Justin, Are you working in

Justin,
Are you working in Metric? I haven't had time yet to add in 'native' support for metric units. In any case, it sounds like your system scale is in something other than inches. Until I can update the script, you'll need to convert your units to inches and then everything should scale properly.

Concerning the flat color on the tiles, is this a displacement issue? Or a diffuse color issue? If you have Vray installed, and you check the Vray displacement option, it should automatically add the Vray displacement modifier. Although... I think one other option I planned to add later is a control for the displacement amount in the DRS UI. Since your system scale seems to be larger(?), a displacement amount of 3 inches might be so small that it's not really visible. You may need to crank this up (which you can just do manually in the modifiers for the main roof tile and the ridge tile objects (each has a unique modifier since they use different maps).

Let me know if this info helps. Also, I can get back to you faster if you send me email through support @ digitalxmodels.com.

trixian's picture

Would it be possible to have

Would it be possible to have a change log in your main post so one can see what you have added\fixed?

I'm interested in seeing if you have added any new shingle\tile types, and maybe made it handle real world coordinates properly like someone mentioned earlier.

justin101's picture

Thanks guys. I got it

Thanks guys. I got it installed, but I just cant get the same result as in the two video tutorials. The way I create my roof is by using the line tool to create the various roof faces, then I convert them into an editable mesh and attach all the roof faces into one mesh. Then I weld the corner verticies together. At this stage my roof is ready to apply the script to. I follow all the steps in the video tutorials but there are a few problems after I hit the step 3 "create roof tile".

- The ridges in my scene are so thin that they are not even visible where as in the video tutorial, they are quite wide as they would be in real life.

- When I hit render, my roof is just a flat colour. No roof tiles are visible and no ridges visible. So Im kind stuck here.

I'm sure I must be doing something wrong along the way as the result in the two video tutorials looks amazing. Any further help would be much appreciated.

digitalx3d's picture

Ok, so hopefully I can

Ok, so hopefully I can clarify how to install the .mzp file. There are 2 simple ways.

1. Drag the .mzp file from any Windows Explorer window onto a Max viewport. The script will run automatically. However, this method does not add the script into the Customize UI commands list. What has happened though, is that the script files have been extracted to a new folder located in the Max\scripts folder. The folder will be \scripts\xScripts\DRS\. In order to have the script show up in the Customize UI commands list, you'll need to run the DRS_Macro.mcr macroscript. Or you can just run the Displacement_Roof_Surfaces.mse file anytime you want.

the much easier way...

2. is to choose "Run Script" from the maxscript menu and point it to wherever you saved the .mzp file when you downloaded it. This will place the script in the Customize UI commands list and you can then add it to a toolbar or menu. Or run it manually as described above.

Also, .mzp files are basically the same thing as a .zip file and will open with WinRar or WinZip, etc... All the script files need to be together though in order for the script to function properly.

Michele71's picture

It 'a file. Mzp! Open this

It 'a file. Mzp! Open this file as .Rar !!

Click right on the file > Open > choose winrar as program to open it and extract the contents into a new folder named "xScripts" Ok?

justin101's picture

Thanks Michele71, but the

Thanks Michele71, but the file that I downloaded is called "MX1010390-max.mzp" and is not a rar file so Im still not sure what to do with it to get this great script working.

Any help would be much appreciated people.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.