<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
A-ha! You must use vesUniform not vesProjectionUniform. The projection uniform is more than a nicety, it handles update by replacing the matrix with the desired matrix with the one in render state. Would be nice to know how to just change the render state.
 So if someone knows, please chime in.
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 29. jan. 2015, at 05.59, Cameron Lowell Palmer <<a href="mailto:cameron.palmer@ntnu.no" class="">cameron.palmer@ntnu.no</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="margin: 0px;" class=""><font color="#bb2ca2" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">In order to achieve augmented reality in VES I’ve resorted to bypassing the vesCamera and updating the projection and model
 view of representations directly. I know this value has been updated based upon the subsequent variable, but nothing moves on screen. </span></font></font></div>
<div style="margin: 0px;" class=""><font color="#bb2ca2" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class="">
</span></font></font></div>
<div style="margin: 0px;" class=""><font color="#bb2ca2" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">When using a transform on an actor the calls all end in setBoundsDirty and the object moves. So what needs to change to achieve this
 result?</span></font></font></div>
<div style="margin: 0px;" class=""><font color="#bb2ca2" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class="">
</span></font></font></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(79, 129, 135);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class=""><br class="">
</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(79, 129, 135);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">void</span><span style="" class="">
</span>vesKiwiCameraImagePlaneDataRepresentation<span style="" class="">::setProjectionMatrix(</span><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">const</span><span style="" class="">
</span>vesMatrix4x4f<span style="" class=""> &projectionMatrix)</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">{</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">    <span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">
std</span>::<span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">cout</span> <<
<span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">
std</span>::<span style="font-variant-ligatures: no-common-ligatures; color: #3d1d81" class="">endl</span> <<
<span style="font-variant-ligatures: no-common-ligatures; color: #d12f1b" class="">
"Projection matrix"</span> << <span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">
std</span>::<span style="font-variant-ligatures: no-common-ligatures; color: #3d1d81" class="">endl</span> << projectionMatrix <<
<span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">
std</span>::<span style="font-variant-ligatures: no-common-ligatures; color: #3d1d81" class="">endl</span>;</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">    <span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">
this</span>-><span style="font-variant-ligatures: no-common-ligatures; color: #4f8187" class="">_internal</span>-><span style="font-variant-ligatures: no-common-ligatures; color: #4f8187" class="">_projectionMatrix</span>-><span style="font-variant-ligatures: no-common-ligatures; color: #31595d" class="">set</span>(projectionMatrix);</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">}</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(79, 129, 135);" class="">
<span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">void</span><span style="" class="">
</span>vesKiwiCameraImagePlaneDataRepresentation<span style="" class="">::setModelViewMatrix(</span><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">const</span><span style="" class="">
</span>vesMatrix4x4f<span style="" class=""> &modelViewMatrix)</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">{</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 132, 0);" class="">
//    std::cout << std::endl << "Model view matrix" << std::endl << modelViewMatrix << std::endl;</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 132, 0);" class="">
//</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 132, 0);" class="">
//    vesSharedPtr<vesUniform> currentModelViewMatrixUniform = this->_internal->_modelViewMatrix;</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 132, 0);" class="">
//    vesMatrix4x4f currentModelViewMatrix;</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 132, 0);" class="">
//    currentModelViewMatrixUniform->get(currentModelViewMatrix);</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 132, 0);" class="">
//    vesMatrix4x4f updatedModelViewMatrix;</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 132, 0);" class="">
//    updatedModelViewMatrix = modelViewMatrix * currentModelViewMatrix;</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">    <span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">
this</span>-><span style="font-variant-ligatures: no-common-ligatures; color: #4f8187" class="">_internal</span>-><span style="font-variant-ligatures: no-common-ligatures; color: #4f8187" class="">_modelViewMatrix</span>-><span style="font-variant-ligatures: no-common-ligatures; color: #31595d" class="">set</span>(modelViewMatrix);</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">    <span style="font-variant-ligatures: no-common-ligatures; color: #4f8187" class="">
vesMatrix4x4f</span> subsequent;</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(79, 129, 135);" class="">
<span style="" class="">    </span><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">this</span><span style="" class="">-></span>_internal<span style="" class="">-></span>_modelViewMatrix<span style="" class="">-></span><span style="font-variant-ligatures: no-common-ligatures; color: #31595d" class="">get</span><span style="" class="">(subsequent);</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">    <span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">
std</span>::<span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">cout</span> <<
<span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">
std</span>::<span style="font-variant-ligatures: no-common-ligatures; color: #3d1d81" class="">endl</span> <<
<span style="font-variant-ligatures: no-common-ligatures; color: #d12f1b" class="">
"Model view matrix"</span> << <span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">
std</span>::<span style="font-variant-ligatures: no-common-ligatures; color: #3d1d81" class="">endl</span> << subsequent <<
<span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">
std</span>::<span style="font-variant-ligatures: no-common-ligatures; color: #3d1d81" class="">endl</span>;</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">}</div>
<div class=""><br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>