Jump to content

Alembic Mantra Stylesheet


Recommended Posts

Hello,

 

I'm trying out JSON stylesheets with Alembic archives. I have a mantra surface at "/shop/mantrasurface" and an Alembic archive at "/obj/alembicarchive" in my HIP. When I look at the Alembic file with "abcecho", I get two objects "/geo1" (the geo node from the original HIP) and "/geo1/merge1" (the merge SOP within the geo node)

{
    "styles" : [
        {
            "target" : { "name" : "geo1"},
            "overrides" : { 
                "material" : { "name" : "op:/shop/mantrasurface" },
                "materialParameters" : {
			"baseColor" : [0.5, 0, 0]
		}
            }
        }
    ]
}

Replacing "geo1" with "merge1" or "geo1/merge1", with or without a root "/" won't work. Trying many hypothetical syntax and nomenclatures for the "material" "name" didn't fix it.

 

Trying it either at object level (with the "Material Style Sheet parameter") or with the -S mantra argument won't work and won't give me any error message even at the highest verbose level so I don't even know which part is not working.

 

How can I generate the simplest style sheet based on the information I get with "abcecho"? And how can I debug a style sheet efficiently?

 

Thanks!

 

Vincent

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...