![]() |
【转帖】hatch vectorization
hatch vectorization
hatch vectorization hello forum, i have got some hatches that are processed through odgiconveyorgeometrydumper::shellproc during vectorization. if i look at the "const odint32* facelist" parameter, it contains many triangles. i expected, in this facelist, the outer bound and the inner bounds. 1) is there anything i can do to receive the vectorized hatch bounds in the facelist rather than triangles ? 2) how can set the hatch vectorization tolerance ? (i would like to receive less vertices !) you may sometimes make the hatch to produce less triangles by specifying larger deviation in your odgiworlddraw::deviation(kodgimaxdevforcurve, ) overload. it won't help if the hatch boundary is polyline with many vertices - polylines are not resampled depending on deviation. note also that if the hatch was once rendered with small deviation, it won't reevaluate itself with larger deviation, unless evaluatehatch() is called manually. vladimir thank you for your answer to the second question. have you got any answer to the first question : 1) is there anything i can do to receive the vectorized hatch bounds in the facelist rather than triangles ? i fear there are no "vectorized hatch bounds" in our vectorizer. you may probably handle the hatch yourself, by checking currentdrawable() in your rendering device, but it is not trivial. vladimir for my problem, i will perform some treatment in the shellproc function. but i would like to know wether shellproc always receives triangles or wether is sometimes receives datas as described in your dwgdirect documentation ? |
所有的时间均为北京时间。 现在的时间是 01:23 PM. |