Jump to content

detail attributes in .geo files


evouga

Recommended Posts

I'm trying to add a detail attribute to a .geo file, but can't figure out the right heading for the detail attribute dictionary. I've tried "DetailAttrib" as well as "Attrib" (since the number of detail attributes is called "NAttrib") but neither of these work. What's the right format?

Link to comment
Share on other sites

Do you want to create a new attribute? if so, you need to append an AttribCreate sop, and set the class to detail.

I've got a script that's creating a .geo file, which I then load into Houdini for rendering. I want to modify that script to add information to the .geo file that Houdini will then read in as a detail attribute.

For example my script might output

GEOMETRY V5
NPoints 0 NPrims 0
NPointGroups 0 NPrimGroups 0
NPointAttrib 0 NVertexAttrib 0 NPrimAttrib 0 NAttrib 1
Attrib
height 1 float 0.5
beginExtra 
endExtra 

but this doesn't work, because the "Attrib" line here is wrong, and needs to be something else. However the dictionary name for the attribute dictionary is missing from the .geo file format specification at http://www.sidefx.com/docs/houdini9.5/io/formats/geo so I don't know what to put there instead.

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...