Hacker News new | ask | show | jobs
by Tomte 778 days ago
Let's say I want to "texturize" an existing brick wall of a building.

I make high-quality photos, but then what? How do I create bump maps and so on? Do I need a stereoscopic setup? Do I need polarizing filters or something like that? What software is used?

2 comments

IF you want to make it high-quality, there is a technic called photogrammetry. You need to take hundreds of photos under same light, without shadow or reflection. Then you create the 3D model of the facade using photogrammetry software like metashape or realitycapture. After you have the 3D model, you need to transfer 3D data to 2D texture. It's called baking. After baking is done you endup with basecolor(diffuse/color), height(displacement), normal and ao(ambient occlusion) maps.

If you are looking for a basic way, just take one clean photo(without visible shadows or reflections) There is method called Bitmap to material. Basically, you grayscale your image and using that grayscale data to create other maps like bump, roughness height etc. If you've experience in that area you can make them in Photoshop. Adobe Substance Sample(Substance Alchemist) has great abilities to generate using that method + AI.

To clear reflections you need circular polarization filters. You can also use cross-polarization method to clear all unwanted reflections. But It require addinational light source and linear polarization filter.

Thank you, these are great keywords to google.
If all you need is normal and bump maps, then https://github.com/azagaya/laigter is pretty good for quick creation. (Free)

Spriteilluminator is not bad also https://www.codeandweb.com/spriteilluminator (Free for general use / viewing, but not save without money.)

Texturelab is also pretty decent for a node-based texture design software. (also Free) Only issue is it hasn't been update much, yet relatively feature complete. https://www.texturelab.io/

Most can guess the paralax, bump maps, ect...

Example using the above methods (took longer to upload than make)

32x32 pixel roses (found online) texture: https://i.imgur.com/uanHc0e.png

32x32 pixel rose normal map (took ~5 minutes, Laigter): https://i.imgur.com/QX0EygO.png

32x32 pixel roses rendered (Spriteilluminator): https://i.imgur.com/VYTcFuQ.png

32x32 pixel roses side-by-side: https://i.imgur.com/uKA2Su8.png