Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 590 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 590 Bytes

ObjLoader

C# library for loading and working with .obj models (extracted from StereoStructure)

string path = "/path/to/obj/file.obj"
Model model = new Model();
model.Load(path); //load .obj model

model.ApplyOperator(new Matrix(OperatorType.ROTATION_3D_X)); //apply rotation operator around axis X
model.Save(path); //save to same file

//After model processing you can display it in HelixToolkit Framework in C# WPF
ObjReader objReader = new ObjReader();
model3d.Content = objReader.Read(path);