hair C++
anyone can show me a very basic minimal example of creating some hairs on selected object?
actually I am confused about type of the hair, is that mesh? graphit mesh? polylines? some vertexes and edges with no face? thin cylinders? curves?
Post edited by MehdiZangenehBar on

Comments
It can be aby of those things, depending on the hair - you need to be more precise about your intended use/feature set.
so, how many hair types we have in general?
Le'ts say most recent Genesis hairs (Mavick Beard G9M for example)
i am confused, I know the hair is DzGraftingFigureShape, but we can't create some vertex and edges without any facet!
anyone please describe this for me
Hair isn't always the same thing, as I said above.
I told you, the hair for the most recent Genesis figures. I am not looking for older versions. the hair rigging is not my concern, first I want to create a very simple, even single line hair using C++.
it seems the hair is blackboxed, no one want's to describe it. no SDK, no DazScript, no Forum
"The hair for the most recent Genesis figures" can be of many different types.
A few examples, which are all for G9 and recently released, and all using different types of hair:
You can also use the Strand-based Hair editor in DS to generate your own strand-based hair.
Thank you so much for your informations about hair types, Let say I pick Strand Base hair, is it possible to "create" that (or any other types ) from scratch in daz using Editor / DazScript / C++? or all should be imported from other DCC apps?
You can create strand-based hair from scratch using the editor in DS. Here's a video about it for example:
No idea if/how you could do it with code though, I never tried developing for DS.
ok, I found a the polyline coding method, but DzStrandHairNode is not exposed in C++ or DazScript at all