Congratulations! You are a March Madness BONUS BUYER!

Enjoy 10% OFF* ALL PURCHASES STOREWIDE or enjoy 30% OFF items with a SKU number lower than 16000 & 30% OFF items from Runtime DNA.

Buy 2 or more Newly Mad new release and get an EXTRA 30% OFF Newly Mad releases.

Offer valid for intended recipient only
* 10% discount DOES apply to Gift Cards and Memberships. **Items must be in cart simultaneously for discount to apply.
[ collapse ]

Create Object Node with selectable surfaces.

talukdar.anirbantalukdar.anirban Posts: 0
edited December 1969 in Daz SDK Developer Discussion

Hi,

I am working on a small plugin on Daz 3d studio. I am stuck with a problem. The problem can be summarized as follows. Lets us create a cube with all six faces be selectable separately. On other sense I will be creating a DzNode which will be attached with a DzFacetMesh which will hold the vertices of the cube. Now I want to add DzMaterialFaceGroup which will make the faces selectable.

I have written some portion of the codes, but it now working. I am not able to select the faces seperately. Please let me know the steps in detail.


Thanks In Advance
Anirban Talukdar

Comments

  • dtammdtamm Posts: 126
    edited December 1969

    Your options are a
    1) DzSelectionSet, but that would only make sense really on a DzFigure or a DzLegacyFigure. It maps Faces to bones
    2) Polygon Selection Tool, then you can select any face you want. Although this is an advanced tool.

    Are you trying to select faces with the Polygons Selection Tool?

    Since you are talking about materials, are you saying that your material groups are not showing up in the Surfaces Pane?


    My guess is that you need to use DzFacetMesh::activateMaterial() when you are building your mesh.

Sign In or Register to comment.