Hello Daniel,
Daniel Wickeroth wrote:
> Hi list,
>
> I would like to know how to get the screen coordinates of some
> geometry I have. What would be the easiest way to get them?
you can combine
void Camera::getWorldToScreen(Matrix &result, const Viewport& port);
with
void Node::getToWorld(Matrix &result);
to get a matrix that transforms local coordinates to screen coordinates.
Hope it helps,
Carsten
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users