<div class="prettyprint" style="background-color: rgb(250, 250, 250); border-color: rgb(187, 187, 187); border-style: solid; border-width: 1px; overflow-wrap: break-word;"><code class="prettyprint"><div class="subprettyprint"><div class="subprettyprint"><span style="white-space:pre">  </span>osg::Uniform* modelViewProjectionMatrix = new osg::Uniform(osg::Uniform::FLOAT_MAT4, "MVP");<br>        osg::Matrixd  model = osg::Matrixd::identity();</div><div class="subprettyprint"><span style="white-space:pre">        </span>osg::Matrix mat = <span style="font-family: Arial, Helvetica, sans-serif;">model</span><span style="font-family: Arial, Helvetica, sans-serif;">  * </span><span style="font-family: Arial, Helvetica, sans-serif;">viewCamera->getViewMatrix() * viewCamera->getProjectionMatrix() ;</span></div><div class="subprettyprint"><span style="white-space:pre">      </span>modelViewProjectionMatrix->set(mat);</div></div></code></div><br><br>

<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/9374c5d2-f8cc-41f5-ace3-09a91d6208e7o%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/9374c5d2-f8cc-41f5-ace3-09a91d6208e7o%40googlegroups.com</a>.<br />