Digital Art Zone

 
     
Facial Morph sample?
Posted: 25 November 2012 06:24 AM   [ Ignore ]
New Member
Total Posts:  9
Joined  2010-10-17

Are there any code samples that show how to change Genesis facial expressions using the SDK?

Profile
 
 
Posted: 26 November 2012 10:23 AM   [ Ignore ]   [ # 1 ]
Member
Rank
Total Posts:  89
Joined  2010-12-31

No.  But what are going to want to do is iterate across all the DzPropertys on a node, it’s object, and all the modifiers(if the modifier is a morph and use its valueChannel’s) to find the DzFloatProperty that you want to drive. 

Profile
 
 
Posted: 26 November 2012 02:39 PM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRank
Total Posts:  309
Joined  2003-10-09

Porting the sample scripts located here to compiled C++ that uses the SDK rather than the script API should be fairly easy. The scripts are commented and show which classes are involved.

-Rob

 Signature 

- Documentation Center
- Install Manager
- DAZ Studio 4.x
- DSON Importer
- DSON File Format Specification

Profile