Jump to content

How To Access Dop Geometry


Recommended Posts

You can access DOP geometry information using any of the expressions you use to access SOP geometry information like point(), prim(), and so on. All you need to know is how to specify DOP geometry in the first parameter of the expressions (the one that normally specifies the SOP node). To do this, use a string with the format:

dopnet:objname/dataname

dopnet is the path (relative or absolute) to the DOP Network.

objname is a specification of the object you are interested in. This can be an object name or an object id number.

dataname is the path to the geometry data attached to the object. If no dataname is given, "/Geometry" is assumed.

Mark

Link to comment
Share on other sites

Oops. I guess I should have guessed that since this is the HDK forum :)

As Jason says, the ODE Solver code shows how to access the GU_Detail pointer from a DOP Object. The SIM_SolverHair example in the $HFS/toolkit/samples/SIM directory also does this. I'm assuming that once you have a GU_Detail pointer you know how to get what you want? If not, check the HDK documentation relating to geometry ($HFS/toolkit/html/geometry/index.html).

Mark

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