You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello dear friends!
Can you please tell me if I can get the vertices of the "Sphere" primitive and control their position in space? If this is possible, how?
private void LoadSphere()
{
Sphere sphere = new Sphere(); // this sphere needs to control the position of individual vertices or quads
sphere.QuadricDrawStyle = DrawStyle.Line;
sphere.Transformation.ScaleX = 4f;
sphere.Transformation.ScaleY = 4f;
sphere.Transformation.ScaleZ = 6f;
sphere.AddEffect(arcBallEffect);
//int stacks = sphere.Stacks;
//sphere.Material = aMaterial;
sceneControl.Scene.SceneContainer.AddChild(sphere);
}
The text was updated successfully, but these errors were encountered:
Hello dear friends!
Can you please tell me if I can get the vertices of the "Sphere" primitive and control their position in space? If this is possible, how?
The text was updated successfully, but these errors were encountered: