
Thu, 10/12/2006 - 16:48
Forums:
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
Fri, 11/03/2006 - 10:37
myAISContext->SetDisplayMode(aShape, AIS_Shaded);