Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Capturing Real-World Materials for Real-Time Development - Unite LA

1,260 views

Published on

Two Unity 3D content-creation experts will demonstrate how to capture real-world materials, such as leather, fabrics, plastics, rubber and non-reflective metals, using low-cost, easily-accessible photography equipment and the photometric stereo technique, and then bring them into Unity for developing automotive applications.

Published in: Software
  • Be the first to comment

Capturing Real-World Materials for Real-Time Development - Unite LA

  1. 1. 1
  2. 2. GenerativeArt–MadewithUnity Capturing Real-World Materials for Real-Time DevelopmentAn Introduction to photometric stereo processing Luc Vo Van Solution’s engineer, Unity Montreal luc@unity3d.com Camille Rail Photometry artist, Unity Montreal camiller@unity3d.com
  3. 3. Why and the advantages -  Easy material creation -  Inexpensive -  Artist friendly -  Complete control over the process -  HDRP learning tool
  4. 4. Automotive Material Library Coming out 2018.3 for free on the Asset Store Over 120 materials/variations such as car paint, caliper, leather, etc.
  5. 5. Subsection title 5
  6. 6. Create realistic looking materials in Unity using photometric stereo processing Our solution
  7. 7. What is photometric stereo processing?
  8. 8. OUR PHOTOMETRIC STEREO PROCESSING WORKFLOW
  9. 9. THE MANUAL PART
  10. 10. What you’ll need Tripod Manfrotto 190x Aluminium AmazonBasics Tripod Aflash Photonics plastic polarizing film + Cardboard + Tape Canon 6D with a 50mm lens + Hoya 49mm Circular Polarizing and UV HRT Filter Canon ST-E3-RT Speedlite Transmitter Canon Speedlight 600 EX-RT Flash with a 7cm carboard taped on top X-Rite ColorChecker Passport Photo + Chrome balls Material samples Spare batteries and chargers Tape iPad with Canon Camera app installed
  11. 11. At what cost? INSERT PRICE $$$
  12. 12. STEP 1 SETTING UP THE ROOM
  13. 13. Room setup ≈ 100 – 120 cm
  14. 14. Make sure your environment isn’t reflecting too much
  15. 15. STEP 2 POLARIZER SET UP
  16. 16. What’s a polarizing filter? A filter that supresses polarized light. It is used in photography to reduce or remove reflections.
  17. 17. Why is it useful? By capturing images with and without reflection, we can easily isolate the light information and create a base color map and smoothness map
  18. 18. Using the polarizing filter
  19. 19. Polarizing UV HRT Filter Making sure the polarizing UV filter arrow is at the top
  20. 20. Finding the right angle
  21. 21. Using the polarizing filter
  22. 22. Room setup ≈ 100 – 120 cm
  23. 23. 1 2 3 4 5 6 7 8
  24. 24. STEP 3 FLASH AND CAMERA SETTINGS
  25. 25. Setting up the flashes
  26. 26. 29 Setting up the flashes
  27. 27. Lower the exposure until the ColorChecker is dark Using the remote control app
  28. 28. STEP 4 CAPTURE
  29. 29. Chrome ball Color checker Put down the color checker and the chrome ball
  30. 30. For a result of 18 photos -  1 photo of the color checker with reflection -  1 photo of the color checker without reflection -  8 photos of the material with reflection -  8 photos of the material without reflection
  31. 31. THE DIGITAL PART
  32. 32. What you’ll need Photoshop Batch file to convert raw images to TIFF Dabarti Capture Unity Tiling Tool Knald (Or any sotfware that can generate maps from a normal map) Unity with HDRender Pipeline
  33. 33. STEP 5 COLOR CORRECTION
  34. 34. No color correction With color correction Color correction
  35. 35. STEP 6 AVERAGE ALBEDO AND SMOOTHNESS
  36. 36. Smoothness Average no reflection Average with reflection - = Isolating light information to get a smoothness map
  37. 37. STEP 7 GENERATING NORMAL MAP
  38. 38. What is photometric stereo processing?
  39. 39. Dabarti light capture
  40. 40. Dabarti normal computation Dabarti flatten normal Flattening the normal map
  41. 41. STEP 8 TEXTURE TILING
  42. 42. Unity Tiling Tool Settings
  43. 43. Rotation
  44. 44. Additional Rotation
  45. 45. Cancel Gradient
  46. 46. Border Size H
  47. 47. Offset H
  48. 48. Mask Continuity H
  49. 49. Fade Mask Border H
  50. 50. Separate Frequencies H
  51. 51. STEP 9 INTEGRATING WITH UNITY
  52. 52. Integration with Unity
  53. 53. Integration with Unity
  54. 54. QUESTIONS?
  55. 55. GenerativeArt–MadewithUnity Thank you!

×