Material/Texture can't be loaded in HelixViewport3D

Jan 25, 2013 at 7:50 AM
Edited Jan 25, 2013 at 7:55 AM

Hi I am a newbie in HelixToolkit. I would like to load 3D model (.obj and .mtl) into the scene. However, I can only load the object. The material can't be seen.  

This is my code.



<h:HelixViewport3D Canvas.Left="377" Canvas.Top="253" Name="helixViewport3D1" Margin="195,190,185,12">
     <h:FileModelVisual3D x:Name="model3D" >
string _3DClothPath = (string)Application.Current.FindResource("3DClothes");
model3D.Source = _3DClothPath;