![]() |
【转帖】vectorization Problem Only A Subarea Is Vectorized
vectorization problem: only a subarea is vectorized
vectorization problem: only a subarea is vectorized hi, while loading some dwg files (but not all) the vectorization is generating only information for objects inside a small rectangular area. loading the drawings using the free dwg viewer shows all the drawing. any idea of why i'm reading only a part but not all the drawing? my code is based on the vectorization example. the main difference is that i don't transform the coordinates to screen coordinates. what i do is: void exsimpleview::update() { ... odgematrix3d eye2screen(geteyetoworldtransform()); ... i set also a dummy onsize as: odgsdcrect screenrect(odgsdcpoint( 0.0, 0.0 ), odgsdcpoint( 10000.0, 10000.0 )); pdevice->onsize(screenrect); thanks, david dear david, exsimpleview::update() contains some code, illustrating dd vector viewport clipping. probably you need to comment these lines: code: pushclipboundary(&m_eyeclip); popclipboundary(); sincerely yours, george udov you are right. thanks a lot ! david quote: originally posted by george udov dear david, exsimpleview::update() contains some code, illustrating dd vector viewport clipping. probably you need to comment these lines: code: pushclipboundary(&m_eyeclip); popclipboundary(); |
所有的时间均为北京时间。 现在的时间是 05:19 PM. |