On 14 April 2016 at 13:50, Ronny Hatteland <ronnyhattel...@gmail.com> wrote:

>
> Thank you for the quick reply! You are right. I fixed the input and now it
> is evident that the difference is in the windowMatrix:
>
>
> Code:
> WindowMatrix
> 3.4.0:
> [0] {960.00000000000000, 0.00000000000000000, 0.00000000000000000,
> 0.00000000000000000}
> [1] {0.00000000000000000, 443.00000000000000, 0.00000000000000000,
> 0.00000000000000000}
> [2] {0.00000000000000000, 0.00000000000000000, 0.50000000000000000,
> 0.00000000000000000}
> [3] {960.00000000000000, 581.00000000000000, 0.50000000000000000,
> 1.0000000000000000}
> 3.2.1
> [0] {960.00000000000000, 0.00000000000000000, 0.00000000000000000,
> 0.00000000000000000}
> [1] {0.00000000000000000, 443.00000000000000, 0.00000000000000000,
> 0.00000000000000000}
> [2] {0.00000000000000000, 0.00000000000000000, 0.50000000000000000,
> 0.00000000000000000}
> [3] {960.00000000000000, 443.00000000000000, 0.50000000000000000,
> 1.0000000000000000}
>
>
>
> Is seems like the difference in value [3][1] is what gives the vertical
> offset on the screen of 138 pixels (between the cursor and the object I
> normally display on the cursor position).
>
> Do you have any suggestion of how I could solve this?
>

I have no suggestions, because you have have said nothing at all about how
you are setting up your viewer - so there is absolutely no clues for us to
go on to why you might be seeing this difference.  All we have to go on is
some unknown application is producing difference results for some reason.

You have access to all the source code to OSG-3.4.0 and OSG-3.2.1, you have
access to your application and your data, you have all the tools available
to put breakpoints into your application code that sets up your viewer and
the OSG.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to