![]() |
【转帖】hatch rendering problem
hatch rendering problem
hatch rendering problem hi! i have a problem rendering hatches with the odgs classes. i "intercept" the geometry using the polylineproc(), prolygonproc() and shellproc() callbacks and i draw everything in my home-made viewer. it seems like the vertices are not in the right order, is there a way to sort them properly ? is it a bug ? i attached a file with 2 red squares side by side. both are non-associative hatches. in version 1.12 : * right square : looks like 2 triangles. (bug?) * left square : looks like a triangle. (bug?) in an earlier version (1.10 or 1.11 i think, not sure) : * right square : looks like a square, ok. * left square : looks like a triangle. (bug?) what can i do to make them both look like squares, like autocad does. thank you! mat attached files hello, only thing i can reproduce in odamfcapp is rendering of right one hatch. odamfcapp renders triangle instead square because hatch boundary data is invalid. in case solid hatch all loops must be closed. maybe we'll fix this in future, but i'm not sure. i'll appreciate if you tell me, using which product this file was created. sincerely yours, george udov |
所有的时间均为北京时间。 现在的时间是 04:09 PM. |