DiscussionsIssue archiveOther usage issues

Archived discussion

display BSplineSurface

Other usage issuesThu, 10/12/2006 - 16:481 reply

Browse this forum
QuestionAuthor

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.

01Commenter-1

myAISContext->SetDisplayMode(aShape, AIS_Shaded);