Skip to main content
7 events
when toggle format what by license comment
Mar 9, 2022 at 7:50 comment added NatureK Geometry Nodes can't get the material data from input object, he can only get the index, I mean, you have RGB 3 material,GN can only tell which part is 0(R),which is 1(G),but he can't get the material back by number 0,1, the number itself means those material you set in GN, eg,you creat a node set material node and choose B, so the index 0 will find B, if you don't set,he will find nothing. I have a way that if you would like to create the cubes of different colors, not just one cube, I can make what you want.Or we can write a script to get the color from monkey and create cubes.
Mar 9, 2022 at 5:25 comment added Reenuip I'll throw together a project tomorrow to clarify my point in my second post.
Mar 9, 2022 at 5:04 comment added Reenuip It's a bit strange, really. There are a few main functions in my node network. Since I want the blocks to spawn in a perfect grid (as if it were a Minecraft structure), I first create a volume of vertices equally spaced apart. The input model, Suzanne, acts as a selection mask for those vertices in the volume to instance cubes on. The Suzanne model has two materials applied to it. I did this by going into edit mode and selecting the faces of the eyes and gave it a different material on slot 2. I'm looking for a way to transfer the material data for each individual cube instance that touches
Mar 9, 2022 at 3:17 comment added NatureK for 1, could you pls sent me a demo of your project?I want to know the exact ways you place your material,I think may be place the point on diffierent vertice group will help. for 2, I don't quite understand what you mean...
Mar 9, 2022 at 1:55 comment added Reenuip Also, for some reason the instances won't take the material if it's not an existing object in the scene. My node network generates the cubes from a primitive Cube node and that completely breaks the material application.
Mar 9, 2022 at 1:20 comment added Reenuip Sorry, but this doesn't seem to work for my case. I can get a single material to transfer, but the second material doesn't apply to any of the instanced cubes. Does your monkey have multiple materials assigned to different faces?
Mar 8, 2022 at 23:55 history answered NatureK CC BY-SA 4.0