Sorry for my English.I meant that those two coords should be corresponding to a
single coordinate system, either local coord system or world coord system or
view coord system would be ok------------------ Original ------------------
From: "Solkar Graphics"<[email protected]>
Date: Wed, Jul 9, 2014 05:49 PM
To: "osg-users"<[email protected]>;
Subject: Re: [osg-users] how to get the real world coordinates(x, y,z) in shader
ttaw wrote:
> The world coord you mentioned is cooresponding to the earth view, but the
> world coord I calculate by osg::computeLocalToWorld function is not for earth
> view.
osg::computeLocalToWorld is about ModelMatrices, not about ViewMatrices.
ttaw wrote:
> For some purpose, I want these two coords should be for a single view
> position.
Please rephrase this; the grammar is not valid.
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=60222#60222
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org