View Issue Details

IDProjectCategoryView StatusLast Update
0000112Open CASCADEOCCT:Visualizationpublic2006-06-29 09:15
Reporterbugmaster Assigned Tobugmaster  
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version5.0.0 
Summary0000112: BUC60956. When restoring a TopoDS_Shape containing a valid Meshing (computed for display) the meshing is computed again when dis
DescriptionWhen shading an AIS_Shape for the first time, meshing is computing and stored in
the contained TopoDS_Shape. If I store this TopoDS_Shape (brep file), restore it
and display it (in an AIS_Shape), THE MESHING IS COMPUTED AGAIN.


    I investegated on this problem, the source is in StdPrs_ShadedShape (generic
class based on Prs3d_ShadedShape.gxx), in the method GetDeflection. The
deflection value is finest when the shape already contain a meshing (because
it's based on bounding box which use the meshing). So, when the deflection value
is finest than the current one, the meshing is computed again. To avoid this
problem, we should make the getdeflection method return the same value if the
shape contain or not a meshing.


    Please send this bug to GG.
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2002-03-14 13:54 bugmaster Status new => verified
2002-07-22 18:10 bugmaster Status verified => closed
2002-07-22 18:10 bugmaster Resolution @0@ => fixed
2004-05-26 12:00 vtn Customer => Open CASCADE
2004-05-26 12:00 vtn Product Version 4.0 => dev
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization