<div dir="ltr"><div>Hi Robert,</div><div><br></div><div>I have an old code, as you
know. Some objects are rendered with OpenGL, but before that the
ViewMatrix is set to identity, as the the objects are having their
position computed as follow:</div><div><br></div><div>ObjectPositionView = ViewMatrix * ObjectPosition + 2D Move Vector(x,y) in view space</div><div><br></div><div>ObjectPositionView already contains the ViewMatrix, so I am feeding it directly to the Open GL.<br></div><div><br></div><div>Those object are some billboards but with the option to be moved in the view space, like a 2D move.</div><div><br></div>If
I give directly the ObjectPosition to OSG, it works fine with
billboards but I don't know how to incorporated the 2D Move Vector, that
vector is in the view space.<br><br>On Thursday, 16 January 2020 10:18:59 UTC+2, Robert Osfield wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi Catalin,<div><br></div><div>Could you explain what you are trying to do with the rendering of this node? What you are attempting to do will guide the best way to implement what you need.</div><div><br></div><div>Robert.</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 16 Jan 2020 at 07:33, Catalin <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="2MOAQt9rCAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">inbo...@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>Is there a way to change the view matrix or projection matrix for a just a specific node in fixed pipeline mode?</div><div><br></div><div><br></div></div>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="2MOAQt9rCAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">osg-...@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="nofollow" target="_blank" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Flists.openscenegraph.org%2Flistinfo.cgi%2Fosg-users-openscenegraph.org\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEhxcobqaKtkSCnaCeBWJ1fFl93mw';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Flists.openscenegraph.org%2Flistinfo.cgi%2Fosg-users-openscenegraph.org\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEhxcobqaKtkSCnaCeBWJ1fFl93mw';return true;">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div>
</blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/2174a736-ca96-4fba-a263-bd4be6d1a8dc%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/2174a736-ca96-4fba-a263-bd4be6d1a8dc%40googlegroups.com</a>.<br />