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);
Any advice about how to shading the surface is wellcome.