Hi,
Interesting chunk of code. Just give me a bit of time to go throught it.
My app can work on screens (14'',15'',17'',19'',21'',25'',27'',32''); default resolution is 1024x768, but can be bigger/smaller.
Any other code/explanations appreciated.
Correct me if I am wrong, but these are the sample results:
Ok. Let's say I map view's PV(x1,y1) and get as the result scene coordinates PS(x2,y2). At some point PS(x2,y2) are not correct(not precise), then I should calculate the PS using the code above?* Screen Res: 1024x768, Diagonal Size: 19", Pixel size: 0.377mm
* Screen Res: 800x600, Diagonal Size: 17", Pixel size: 0.4318mm
* Screen Res: 640x480, Diagonal Size: 15", Pixel size: 0.4763mm
So the faktor has to be more than 1.1 and that's why you define as fallows:
I am not 100% sure if totally understand the idea.#define _FAKTOR_PIX_POINT_ 1.3
THanks.
Kacper
Bookmarks