myAISContext->SetDisplayMode(aShape, AIS_Shaded);
Archived discussion
display BSplineSurface
Hi,
I create a BSpineSurface and display it. But i don't known how to shading it.
the code is bellow:
Handle(Geom_BSplineSurface) pBSplSurface = ...;
TopoDS_Face aFace = BRepBuilderAPI_MakeFace(pBSplSurface);
TopoDS_Shape aShape = new AIS_Shape(aFace);
myAISContext->Display(aShape, false);
Any advice about how to shading the surface is wellcome.
Regards,
Bai Xiaoliang
Discussion
1 archived reply
Posts are displayed in their archived order.