Custom Material Boen 04 2009


Published on

Custom seamless patterns for rendering in programs like Autodesk Revit 2009

Published in: Design, Art & Photos, Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Custom Material Boen 04 2009

  1. 1. Custom Materials Create custom materials utilizing existing Autodesk Revit Architecture 2009 rendering materials, photographs, and Adobe Photoshop . Presented by Jake Boen [email_address] Southern Arizona Revit Users Group - May 2009
  2. 2. Know or start with existing content. (At least the first time) <ul><li>Locate the existing content at: c:Program FilesProgram FilesRevit Architecture 2009DataRenderingAssetlibrary_base.fbmMaterials </li></ul><ul><li>This example uses the file a few steps in at: C:Program Fil…MaterialsConcretePresetsConcrete.Cast-In-Place.Formwork.Holes.jpg </li></ul>
  3. 3. Learn from precedent: <ul><li>This file is: A Jpg file with a size of 512 x 1024 on the basis that this material is a 4x8 module then: 1024/8 = 128 pixels = 12” </li></ul><ul><li>If starting from scratch I would recommend a minimum of 128 pixels per foot. </li></ul>512pixels = 48” 1024pixels = 96”
  4. 4. Precedent continued: <ul><li>The basis of file was created from a Nikon D1X camera utilizing F2.8 and an exposure of 1/30 of a second. Interesting but doesn’t matter for simple digital manipulation. </li></ul><ul><li>The file size is 200Kb (204,606 bytes) We may want to keep our file about the same size. When finished I saved a Jpg from Photoshop with a quality level of 8 and the images were 256 to 300Kb. This is well within the same range. Images of Megabytes 1024Kb or larger may slow down render times but produce better results. </li></ul>
  5. 5. Start with good images: <ul><li>Start with a decent image: Pieces of this example utilized some not so good images. Not all images will tile the first time, but it does help to start with a nice clean photograph: </li></ul>
  6. 6. Even the “perfect photo” requires photo manipulation to tile correctly =
  7. 7. Photoshop Tools we can use: <ul><li>Undo, Undo, Undo, & History </li></ul><ul><li>Guides </li></ul><ul><li>Layers </li></ul><ul><li>Clone Tool </li></ul><ul><li>Selection </li></ul><ul><li>Feather Selection </li></ul><ul><li>Copy and Paste </li></ul><ul><li>Transform and Free Transform </li></ul><ul><li>Offset </li></ul>
  8. 8. Undo… & History: <ul><li>Learn how to use Undo and History appropriately. Enough said. Refer to the help menu if you don’t know how to use these commands in Photoshop. </li></ul>
  9. 9. Guides: <ul><li>Good for spacing of measurement. Snapping, Alignment, & checking true vertical & Horizontal. </li></ul>Top Ruler Side Ruler Guides To create a guide click on top or side ruler. Then drag down or across while clicking.
  10. 10. Layers <ul><li>Layers allow visual control and movement of images independently. They can be stacked on top of each other and allows for movement forwards, backwards, or to the side. It also allows for independent control of transparency, filters (multiply or difference) and on/off visibility control. </li></ul>Layers in order from top to bottom Visibility (on/off) New layer Trash Layer (drag and drop) Filter Opacity / Transparency
  11. 11. Layers Example: <ul><li>Good for stacking textures </li></ul><ul><li>Good for assembling good and bad pieces together so you’re left with only good pieces. </li></ul><ul><li>Good for special effects. </li></ul><ul><li>And Photo montages. </li></ul>Difference Transparency 50% Multiply
  12. 12. Clone Tool: <ul><li>Set the source for clone tool. </li></ul><ul><li>Size & Set the brush. </li></ul><ul><li>Have fun – this is an ART! </li></ul>Before: After: Source Target painted w/ brush
  13. 13. Clone Tool: <ul><li>Easy Effects: </li></ul>
  14. 14. Selection: <ul><li>Don’t forget you can save selections, add to a selection, subtract from a selection, etc. While selecting use the Shift or Alt Keys to gain additional control. </li></ul><ul><li>Select by Color Range: </li></ul><ul><li>Select Tools: </li></ul>
  15. 15. Feather Selection: <ul><li>The feather command can soften the edges of a selection making it easier to match existing layers. </li></ul>Feathered selection cut & paste to a black background (8 pixles): Standard selection cut & paste to a black background:
  16. 16. Copy and Paste: <ul><li>With your selection you can now copy and paste to turn smaller images into larger ones if needed. </li></ul>
  17. 17. Copy and Paste: <ul><li>Copy & paste w/ Free Transform to create book match pattern. </li></ul>
  18. 18. Transform & Free Transform: <ul><li>Note: If Transform tools are inaccessible duplicate background layer first and then turn visibility of background off or make sure image is set to RGB. </li></ul>Set Guide lines for horizontal and vertical control. (click ruler & Drag to place). Skew photo as required to get a corrected “elevation” image. Use Shift, Ctrl, Alt (Option) keys when grabbing nodes It sometimes helps to zoom out. Transform “Nodes”: (while Free Transform tool is used) Side Ruler: Top ruler:
  19. 19. Transform & Free Transform: Before: After:
  20. 20. Offset: <ul><li>Offset will move the edges of the image inward. This will show where outside edges won’t tile. </li></ul>Before: After: Dark bottom Light Top L/R Edges do not Tile cleanly T/B Edges do not Tile cleanly
  21. 21. Start: <ul><li>Open Original image & stock images that will be used to create new material. </li></ul><ul><li>Fix perspective problems, duplicate any pieces to be used, and make existing pieces work. </li></ul>
  22. 22. The process: <ul><li>Edit original photo: Crop, modify, copy parts, Free transform all as required. </li></ul><ul><li>Offset to bring edges inward. </li></ul><ul><li>Use Clone, Smudge, paint tools as required, Offset, repeat as required. </li></ul><ul><li>Tile image to look for obvious issues. Repeat editing if required. </li></ul><ul><li>Resize & Save file at 128 pixels per foot min. </li></ul>
  23. 23. Original photo <ul><li>Open, add guides if required (for cropping / adjusting) </li></ul>Guides
  24. 24. Free Transform <ul><li>Rotate, skew, adjust to make square, fix perspective, etc. </li></ul>
  25. 25. Crop <ul><li>Adjust guides (to joints) & Crop </li></ul>
  26. 26. Offset edges inward: <ul><li>To see how outside edges match. </li></ul>
  27. 27. Offset results: <ul><li>They almost never match. Zoom in & Fix w/ clone, smudge, brush, etc. </li></ul>
  28. 28. Check with Offset <ul><li>Offset again to make sure edits were clean. </li></ul>
  29. 29. Offset: final <ul><li>Offset last time to put joints back on edge if needed. </li></ul>
  30. 30. Test large scale: <ul><li>Test large scale for repeats: </li></ul><ul><li>Select all. Go to Edit/ Define pattern Name and save. New image: File New – with large canvas. Go to Edit / Fill. Set to “use pattern”. Select pattern just saved. Click Ok. Look for obvious repeating pattern </li></ul>
  31. 31. Look for problems & Fix if required. <ul><li>A good pattern will not repeat. This is not a good pattern because of the dark spot repeats too often. </li></ul>
  32. 32. Resize <ul><li>Resize the image for 128 pixels Per foot min </li></ul>
  33. 33. Gamma Correction <ul><li>Gamma Correction for Mental Ray (MR). If the image was used as-is the rendered output ends up near monochromatic. </li></ul><ul><li>The reason is that MR assumes that the image is provided as a material in full sunlight. MR compensates for everything else. </li></ul><ul><li>Gamma Correction of 0.4545 (the reciprocal of 2.2 gamma) is required. </li></ul>SET GAMMA 0.4545
  34. 34. Import to Revit and test. <ul><li>Settings / Materials – Render appearance Tab. </li></ul><ul><li>Start with a material (shader) which is similar. </li></ul>
  35. 35. <ul><li>Set material and settings: </li></ul><ul><li>Set a custom bump if desired. To create a bump graphic (in Photoshop) convert your material to a grayscale, adjust contrast as desired and save image out. </li></ul>
  36. 36. Render: <ul><li>Once you have set all of your materials it is time to go into the Render dialogue and render your desired view. </li></ul>
  37. 37. Custom Library? <ul><li>All 2009 materials in a Revit project are and remain in the project. </li></ul><ul><li>To maintain a library you may wish to create a material project file and keep it on the server. </li></ul><ul><li>Use Transfer Project Standards to move materials from one project to another. </li></ul>