evouga Posted September 8, 2011 Share Posted September 8, 2011 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? Quote Link to comment Share on other sites More sharing options...
ehsan parizi Posted September 8, 2011 Share Posted September 8, 2011 Do you want to create a new attribute? if so, you need to append an AttribCreate sop, and set the class to detail. Quote Link to comment Share on other sites More sharing options...
evouga Posted September 8, 2011 Author Share Posted September 8, 2011 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. Quote Link to comment Share on other sites More sharing options...
Jason Posted September 8, 2011 Share Posted September 8, 2011 Can't you create a .geo file from Houdini with the attribs you need and then look at it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.