1
$\begingroup$

enter image description hereenter image description hereI downloaded the .obj result from this tool: https://huggingface.co/spaces/TencentARC/InstantMesh

When I open it in blender I have to switch to viewport shading/ color/ attribute to see the shade. Is there a way to convert the attribute to a blender material ? Thanks

$\endgroup$
0

1 Answer 1

0
$\begingroup$

In the object's material, you should be able to add either a Color Attribute Node or an Attribute Node, pick the attribute you want to use, and use it in your material in any way you want.

enter image description here

The Color Attribute node only works with "color attributes", whereas the Attribute node works with any type of attribute (E.G. from geonodes). Because the Color Attribute node only works with color attributes, it is able to give you a drop-down list of available color attributes in the current object, whereas the Attribute Node requires searching your attributes in the Properties Editor:

enter image description here

Any of these nodes work and do the job, use whichever you feel more comfortable with.
But remember that, since it's a material, you will be able to see these only in Material Preview or Rendered viewport shadings.

$\endgroup$
6
  • 1
    $\begingroup$ Do you mean this ? I added the images in the first post. You can see the attribute in the solid view but in preview everything is black. Am I missing something ? $\endgroup$
    – darkon11
    Commented Apr 16 at 16:28
  • 1
    $\begingroup$ Type "Color" in the Attribute Name Field (or whatever attribute you want to see in preview) $\endgroup$ Commented Apr 16 at 18:48
  • 1
    $\begingroup$ Finally! Thanks everybody. $\endgroup$
    – darkon11
    Commented Apr 16 at 19:11
  • $\begingroup$ I updated my answer to give more information. Please don't forget to upvote and click the checkmark icon in the top left corner. $\endgroup$
    – Lauloque
    Commented Apr 17 at 16:53
  • 1
    $\begingroup$ About the upvote: "Thanks for the feedback! You need at least 15 reputation to cast a vote, but your feedback has been recorded.". I can only thank you in comments for now. $\endgroup$
    – darkon11
    Commented May 10 at 8:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .