c# - Improve WPF rendering performance using Helix Toolkit -
i rendering large number of meshes loaded stl , added viewport helixviewport3d object. meshes static in environment.
// in mainwindow.xaml <helixtoolkit:helixviewport3d x:name ="viewport" zoomextentswhenloaded="true" margin="250,-15,0,15"> // in mainwindow.cs constructor this.viewport = new helixviewport3d(); foreach(string path in meshpaths){ modelvisual3d meshmodel = loadmesh(path); viewport.children.add(meshmodel); }
since number of meshes high, rendering performance quite low (it freezes during rotations, hard zoom in...). how can make scene easier rotate , manipulate?
Comments
Post a Comment