Long story short: I want to check if there is a white pixel inside a face on the texture. If it does have one -> subdivide it. If it does not contain white pixels -> leave it the same.

Is it possible to do it using geometry nodes?

B&W picture: enter image description here

Expect mesh: enter image description here

  • $\begingroup$ I think you'll need some image-processing , after UV map definition.. maybe some Python. Would it help to ask what this is for , in case there is another way? $\endgroup$
    – Robin Betts
    Commented May 16 at 14:09
  • 2
    $\begingroup$ Sure, i want to create adaptive subdiv modifier for displacement maps, i will mark places i want to be more detailed with white color, but with default tools color attribute it shows only color of pixel at exact face coordinates $\endgroup$ Commented May 16 at 14:22
  • $\begingroup$ Could the detection of regions requiring more subduv. be automated in some way.. do they share some characteristic, or is it a purely human decision? $\endgroup$
    – Robin Betts
    Commented May 16 at 14:40
  • 1
    $\begingroup$ Could you provide a Blender file using blend-exchange.com including an image, a mesh and a texture associated ? And add to your question a picture illustrating the "face" you would like to subdivide ? It does not have to be your real case. A manufactured one, but representative, is fine. $\endgroup$ Commented May 16 at 16:03
  • 1
    $\begingroup$ Mesh is actually a simple plane, so i am not sure if you really need a file. Let's say we have a black and white image with some picture at the center, i want to subdivide all the faces, where white pixel is "inside" the face we check. In the perfect algorithm i should start with only one face, that's the actual problem ATM drive.google.com/file/d/1yKisZGT__HWUNmh0aJur9RPKE8U1ZOz7/… drive.google.com/file/d/16Oc4MhgerInOkpGE6P0V-3l32u5kORh6/… Here is screenshot of example though $\endgroup$ Commented May 16 at 16:16


You must log in to answer this question.

Browse other questions tagged .