How to make different pattern on wall, which is made up of cube

I have bedroom object which is loaded from obj and now when user clicks on bedroom wall,
I want to display a pattern on wall like divide wall by 3 parts. Now when user select texture and put on 1st part it should change, and so on respectively.
Here i have attached reference image, which have pattern where 3 parts are there. I have multiple pattern where checkered pattern in which alternate two colors is show on selecting.
Please guide me how to approach.