JuryS Mon, 04/05/2010 - 08:11 Forums: Other usage issuesHi, Guys ! I hope this time to me more somebody will carry also will answer. I wish to use the materials. How to appoint Graphic3d_NOM_UserDefined parametres and to include it? Thanks for your help. JuryS Mon, 04/05/2010 - 08:56 It has appeared too simply! Graphic3d_MaterialAspect MyAspect(Graphic3d_NOM_GOLD); prs->SetMaterial(Graphic3d_NOM_UserDefined); prs->GetAIS()->Attributes()->ShadingAspect()->SetMaterial(MyAspect); And It's working cool ! Log in to post comments
Mon, 04/05/2010 - 08:56
It has appeared too simply!
Graphic3d_MaterialAspect MyAspect(Graphic3d_NOM_GOLD);
prs->SetMaterial(Graphic3d_NOM_UserDefined);
prs->GetAIS()->Attributes()->ShadingAspect()->SetMaterial(MyAspect);
And It's working cool !