0

Material/Texture can't be loaded in HelixViewport3D

Anonymous 5 years ago 0
This discussion was imported from CodePlex

charismatubagus wrote at 2013-01-25 07:50:

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" >
                
     </h:FileModelVisual3D>
</h:HelixViewport3D>
string _3DClothPath = (string)Application.Current.FindResource("3DClothes");
model3D.Source = _3DClothPath;