how to get the model space point to screen point ?
how to get the model space point to screen point ?
hello
i want calculate the model coordinate to screen coordinate
opendwg have three kinds of matrix (screenmatrix, worldtodevicematrix, viewingmatrix)
how to use the three kinds of matrix for get the screen coordinate from model coordinate.
inverse case calcuate from screen coordinate to model coordinate is like this
wcspt.transformby((pview->screenmatrix() * pview->projectionmatrix()).inverse());
wcspt.transformby(odabstractviewpeptr(pview)->eyetoworld(pview));
i want calcuate from model coordinate fff">to screen coordinatefff">.
i confuse the matrix calculation.
help me.
last edited by cat12; 8th december 2006 at 01:09 amfff">.
hi,
odgsview:

bjecttodevicematrix();
odgsview::worldtodevicematrix();