DLR-RM / DLR-RM/BlenderProc

[QUESTION] How add decals to textures

Open
#733 5 comments 0 reactions 0 assignees View on GitHub
enhancement first answer provided question
Dominant language
Python
Stars
3.7k
Forks
518
PR merge metrics
No merged PRs in 30d

Description

Hello,

Thanks for developing this awesome tool.
I was wondering how to add decals to textures in BlenderProc. If there's no way to perform this, I'd like to request this feature.

What I want to achieve is to randomly place dirt or damage decals (also randomly generated) on a model texture to simulate imperfect objects. I'm aware of [MaterialUtility.infuse_texture method,](https://dlr-rm.github.io/BlenderProc/blenderproc.python.types.MaterialUtility.html#blenderproc.python.types.MaterialUtility.Material.infuse_texture) but this rather "blends" two textures together. I'm looking for a method that overlays one or multiple small textures over another texture.

I'd appreciate if you could share any insights on this topic. Thanks in advance!

![VideoScreenshot - YouTube - 2’20”](https://user-images.githubusercontent.com/1145044/195489994-d7eb966f-7fab-4668-ae01-1f6b0a08a0b4.jpg)

Contributor guide

Open the contributing guide

Research direction

Start with the MaterialUtility.infuse_texture method referenced in the issue and review how BlenderProc handles material and texture operations. Determine whether overlaying one or more decal textures is supported; done requires either a clear usage explanation or a scoped feature proposal for randomly placing generated decals.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.