60002192 Some hatches drawn as solid in 3D OpeGL render modes

Article 60002192
Type Wish
Product Engine
Version 6027
Date Added 12/20/2015 12:00:00 AM
Fixed 6.6028.1.12 (12/20/2015 12:00:00 AM)
Submitted by Wayne Romer

Summary

Some hatches drawn as solid in 3D OpeGL render modes

Solution

There is a limit that controls the hatching calculations and memory that can be used for hatches.

In version 6028.1.12  this limit is is control by the following global properties:
 VectorDraw.DrawElements.grHatch.TotalClipCountours and VectorDraw.DrawElements.grHatch.TotalCountourSegments 

 VectorDraw.DrawElements.grHatch.TotalClipCountours
        Represents the maximun number of PolyCurves of a vdPolyHatch that can use the cliping region calculation to produce the filled sub-curves.
        Default value is 32.
        If the number of PolyCurves is bigger than this value then
          in Wire2d render mode the vdPolyHatch object uses vdRender.HatchingMethod.Linear method to draw the hatch. 
          and in OpenGL 3d render mode  hatches are drawn as solid in order to save memory

 VectorDraw.DrawElements.grHatch.TotalCountourSegments 
        Represents the maximun number of segments that each countour can contains.
        Default value is 4096.
        If at least a countour contains more segments than this value then
           in Wire2d render mode the vdPolyHatch object uses vdRender.HatchingMethod.Linear method to draw the hatch. 
           and in OpenGL 3d render mode  hatches are drawn as solid in order to save memory

For example ghange the above values to bigger depend of the hatches that are used in your drawings
VectorDraw.DrawElements.grHatch.TotalClipCountours = 200
VectorDraw.DrawElements.grHatch.TotalCountourSegments = 8192


Send comments on this topic.