
0
Performance is slow while rotating/moving the model on mouse gesture
Hello,
we have added the 2000 and more object in view port and because of this our model is running slow. When we try to rotate the model , it will move very slowly..
can you suggest, how to improve the performance to running fast and easy?
Please suggest. it's very urgent
Thanks,
Niteen Patil
we have added the 2000 and more object in view port and because of this our model is running slow. When we try to rotate the model , it will move very slowly..
can you suggest, how to improve the performance to running fast and easy?
Please suggest. it's very urgent
Thanks,
Niteen Patil
Customer support service by UserEcho
Example:
MeshBuilder.Append ( yourMesh )
If you do not need to manipulate the separeted models , you can join them.
Thanks for your reply...:)
We have join more Visuals3D in MeshBuilder object. But is there any way to set color for individual MeshBuilder object.
Please suggest. Here is my code.
Dim meshCollection = new MeshBuilder()
Private sub CreateDice(ByVal point3D As Point3D, xLen As Double, yLen As Double, zlen As Double, ByVal color As Color)
diceMesh.AddBox(point3D, xLen, yLen, zlen)
meshCollection .Append(diceMesh )
End Function
public Window_load()
CreateDice(center, XLen, YLen, ZLen, color)
Next
Dim GeometryModel3D = New GeometryModel3D()
GeometryModel3D.Geometry = meshCollection.ToMesh();
GeometryModel3D.Material = MaterialHelper.CreateMaterial(New SolidColorBrush(Colors.Green))
Dim ModelVisual3D = New ModelVisual3D()
ModelVisual3D.Content = GeometryModel3D
viewport.children.add(ModelVisual3D)
End
Thanks and regards,
Niteen Patil