Take a look at the objective-c implementation of the resetView method, it should set a dirty flag, indicating that the view should re-render.  So you should set that flag, but don't call resetView because that will move the camera back to the default view position.<br>

<br>Pat<br><br><div class="gmail_quote">On Fri, Feb 8, 2013 at 11:54 AM, shamsudheen <span dir="ltr"><<a href="mailto:shamsutk87@gmail.com" target="_blank">shamsutk87@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word"><div>Hi Pat,</div><div><br></div><div>Is there any way to update/display the angle changes <b><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;display:inline!important">

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;display:inline!important"><font face="Helvetica" size="3">on 3D object without calling </font></div>

</div></b><span style="font-family:Menlo;font-size:11px"> <b><font color="#1b0e51">[</font></b></span><b><font color="#1b0e51"><span style="font-family:Menlo;font-size:11px">self</span><span style="font-family:Menlo;font-size:11px">-></span><span style="font-family:Menlo;font-size:11px">glView</span><span style="font-family:Menlo;font-size:11px"> </span><span style="font-family:Menlo;font-size:11px">resetView</span><span style="font-family:Menlo;font-size:11px">];</span></font></b></div>

<div><span style="color:rgb(51,89,93)"><span style="color:rgb(0,0,0)"><br></span></span></div><div><span style="color:rgb(51,89,93)"><span style="color:rgb(0,0,0)">Because the call re-sets the 3D model to the default size when it zoomed out.</span></span></div>

<div><span style="color:rgb(51,89,93);font-family:Menlo;font-size:11px"><span style="color:rgb(0,0,0)"><br></span></span></div><div><span style="color:rgb(51,89,93)"><span style="color:rgb(0,0,0)">Thanks</span></span></div>

<div><div class="h5"><div><br></div><div><br></div><br><div><div>On Feb 7, 2013, at 6:43 PM, shamsudheen wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word"><div>Hi Pat,</div><div><br></div><div>This one rotated fine on Y-axis</div>

<div><br></div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><font color="#372192">   vesKiwiPolyDataRepresentation* polyDataRepresentation =  self->renderer.app->getKiwiPolyDataRepresentation(0);</font></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;min-height:13px"><font color="#372192">     <br></font></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

<font color="#372192">    vesSharedPtr<vesActor> vesActor = polyDataRepresentation->actor();</font></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;min-height:13px">

<font color="#372192"> <br></font></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><font color="#372192">    vesVector3f center = vesActor->center();</font></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;min-height:13px"><font color="#372192">    <br></font></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

<font color="#372192">    vesVector4f angleAxis;</font></div><p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;min-height:13.0px"><font color="#372192">    </font><br></p><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

<font color="#372192">    angleAxis[0] = center[0];</font></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><font color="#372192">    angleAxis[1] = 1;</font></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><font color="#372192">    angleAxis[2] = center[2];</font></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

<font color="#372192">    angleAxis[3] = angle * (M_PI/180.0);</font></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;min-height:13px"><font color="#372192">    <br>

</font></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><font color="#372192">    vesActor->setRotation(angleAxis);</font></div></div><div>

<br></div><div><br></div><div>Then</div><div><br></div><div><blockquote type="cite"><div style="word-wrap:break-word"><div><span style="font-family:Menlo;font-size:11px"><b><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

I have called</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)"><span style="color:rgb(0,0,0)">        [</span><span style="color:rgb(185,51,161)">self</span><span style="color:rgb(0,0,0)">-></span><span style="color:rgb(80,129,134)">glView</span><span style="color:rgb(0,0,0)"> </span>disableRendering<span style="color:rgb(0,0,0)">];</span></div>

</div></b></span></div></div></blockquote><span style="color:rgb(51,89,93);font-family:Menlo;font-size:11px"><span style="color:rgb(0,0,0)">          [</span></span><span style="color:rgb(51,89,93);font-family:Menlo;font-size:11px"><span style="color:rgb(185,51,161)">self</span></span><span style="color:rgb(51,89,93);font-family:Menlo;font-size:11px"><span style="color:rgb(0,0,0)">-></span></span><span style="color:rgb(51,89,93);font-family:Menlo;font-size:11px"><span style="color:rgb(80,129,134)">glView</span></span><span style="color:rgb(51,89,93);font-family:Menlo;font-size:11px"><span style="color:rgb(0,0,0)"> </span></span><span style="color:rgb(51,89,93);font-family:Menlo;font-size:11px">resetView</span><span style="color:rgb(51,89,93);font-family:Menlo;font-size:11px"><span style="color:rgb(0,0,0)">];</span></span><br>

<blockquote type="cite"><div style="word-wrap:break-word"><div><span style="font-family:Menlo;font-size:11px"><b><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

<div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">        [<span style="color:rgb(185,51,161)">self</span>.<span style="color:rgb(80,129,134)">glView</span> <span style="color:rgb(51,89,93)">setDiffrentAngle</span>:30];</div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)"><span style="color:rgb(0,0,0)">        [</span><span style="color:rgb(185,51,161)">self</span><span style="color:rgb(0,0,0)">-></span><span style="color:rgb(80,129,134)">glView</span><span style="color:rgb(0,0,0)"> </span>enableRendering<span style="color:rgb(0,0,0)">];</span></div>

</div></b></span></div></div></blockquote></div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><br></div></div><div><br></div><div><br></div>

<div>Thanks for you all effective responds.</div><div><br></div><div><br></div><br><div><div>On Feb 7, 2013, at 5:05 PM, shamsudheen wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word"><div>Hi Pat,</div>

<div><br></div><div>Thanks again,</div><div><br></div><div>As per your replies, I have wrote the code in <span style="font-family:Menlo;font-size:11px"><b>vesKiwiViewerApp</b></span><span style="font-family:Menlo;font-size:11px"> to retrieve</span><span style="font-family:Menlo;font-size:11px"><b> </b></span><span style="font-family:Menlo;font-size:11px"><b>vesKiwiPolyDataRepresentation</b></span></div>

<div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-family:Menlo;font-size:11px">The code is</span></div><div><span style="color:rgb(112,65,167);font-family:Menlo;font-size:11px"><br>

</span></div><div><span style="font-family:Menlo;font-size:11px"><font color="#372192"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">vesKiwiPolyDataRepresentation* vesKiwiViewerApp::getKiwiPolyDataRepresentation(int itemIndex)</div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">{</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

    return dynamic_cast<vesKiwiPolyDataRepresentation*>(this->Internal->DataRepresentations[itemIndex]);</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

}</div></font></span></div><div><br></div><div><br></div><div>and I have wrote the code in <span style="font-family:Menlo;font-size:11px"><b>EAGLView </b>class as </span></div><div><span style="font-family:Menlo;font-size:11px"><b><br>

</b></span></div><div><span style="font-family:Menlo;font-size:11px"><b><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">-(void)setDiffrentAngle:(float)angle</div>

<div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">{</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

    vesKiwiPolyDataRepresentation* polyDataRepresentation =  self->renderer.app->getKiwiPolyDataRepresentation(0);</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;min-height:13px">

    <br></div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">    vesSharedPtr<vesActor> vesActor = polyDataRepresentation->actor();</div>

<div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;min-height:13px">    <br></div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

    vesVector3f center = vesActor->center();</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;min-height:13px">   <br>
</div>
<div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">    vesVector4f angleAxis;</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;min-height:13px">

    <br></div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">    angleAxis[0] = center[0];</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

    angleAxis[1] = center[1];</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">    angleAxis[2] = center[2];</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

    angleAxis[3] = angle * (M_PI/180.0);</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;min-height:13px">    <br></div>
<div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">
    vesActor->setRotation(angleAxis);</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;min-height:13px">    <br></div>
<div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">
}</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><br></div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

then I have called</div><div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)"><span style="color:#000000">        [</span><span style="color:#b933a1">self</span><span style="color:#000000">-></span><span style="color:#508186">glView</span><span style="color:#000000"> </span>disableRendering<span style="color:#000000">];</span></div>

<div style="color:rgb(44,25,116);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">        [<span style="color:#b933a1">self</span>.<span style="color:#508186">glView</span> <span style="color:#33595d">setDiffrentAngle</span>:30];</div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)"><span style="color:#000000">        [</span><span style="color:#b933a1">self</span><span style="color:#000000">-></span><span style="color:#508186">glView</span><span style="color:#000000"> </span>enableRendering<span style="color:#000000">];</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)"><span style="color:#000000"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)">

<span style="color:#000000"><br></span></div></div></b></span><font face="Menlo"><span style="font-size:11px"><br></span></font><span style="font-family:Menlo;font-size:11px"><b><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">The changes are not effecting the 3D mode now on the screen.How could I update the angle changes on 3D object ? </div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)"><span style="color:#000000"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)">

<span style="color:#000000"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)"><span style="color:#000000">First I would like to know about my <a href="http://implemntation.is/" target="_blank">implemntation.is</a> it looks perfect ? after apply the code, if I rotate the 3D modal through hand, it seems zoomed in.</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)"><span style="color:#000000"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)">

<span style="color:#000000">Any help on this is appreciated.</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)"><span style="color:#000000"><br>

</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;color:rgb(51,89,93)"><span style="color:#000000"><br></span></div></div></b></span></div>

<div><span style="font-family:Menlo;font-size:11px"><b><br></b></span></div><br><div><div>On Feb 6, 2013, at 4:25 AM, Pat Marion wrote:</div><br><blockquote type="cite">The version of vesKiwiViewerApp in the master branch doesn't provide a way to access the representations that are loaded via the loadDataset(filename) method.  You could modify vesKiwiViewerApp to provide an accessor to the internal representations, or implement your own data loading method.  If you grab the version from the stage/kiwi-update branch then you'll find an accessor method dataRepresentations() that returns the list of reps, but there isn't a mapping from filename to representation object, that logic would be up to you to implement.  I highly recommend deriving your own app class based on vesKiwiViewerApp and implement your own data loading methods so that you have full control over your models, the loadDataset(filename) is useful for a basic app, but once you do something more advanced you definitely want to write your own app class.<br>



<br>Pat<br><br><br><br><div class="gmail_quote">On Wed, Feb 6, 2013 at 8:13 PM, shamsudheen <span dir="ltr"><<a href="mailto:shamsutk87@gmail.com" target="_blank">shamsutk87@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">

<div>Thanks again for the quick reply .</div><div><br></div><div>I think , this is what you mentioned.</div>


<div><br></div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><b><span style="color:#77492d">vesSharedPtr</span><<span style="color:#7041a7">vesActor</span>> actor = vesKiwiPolyDataRepresentationPtr.actor();</b></div>




<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><b>actor->setRotation(angleAxis);</b></div></div><div><br></div><div>However now I'm unable to get <span style="font-family:Menlo;font-size:11px"><b>vesKiwiPolyDataRepresentation</b> pointer.</span></div>




<div><span style="font-family:Menlo;font-size:11px"><br></span></div><div>I have just used <span style="font-family:Menlo;font-size:11px"> </span><span style="font-family:Menlo;font-size:11px"> <b><span style="color:#b933a1">bool</span> loadDataset(<span style="color:#b933a1">const</span> <span style="color:#7041a7">std</span>::<span style="color:#7041a7">string</span>& filename);</b> </span>method to load my 3D file.this is a<b> </b>vesKiwiViewerApp.h class method.</div>




<div><span style="font-family:Menlo;font-size:11px"><br></span></div><div>How can I get the<span style="font-family:Menlo;font-size:11px"> </span><span style="font-family:Menlo;font-size:11px"><b>vesKiwiPolyDataRepresentation</b></span>  pointer ? could you please help on this.</div>




<div><span style="font-family:Menlo;font-size:11px"><br></span></div><div>Thanks again for the quick ,professional and effective responds.</div><div><div><div><span style="font-family:Menlo;font-size:11px"><br>
</span></div><br><div><div>On Feb 6, 2013, at 3:19 AM, Pat Marion wrote:</div><br><blockquote type="cite">Instead of adjusting the camera, you should set a transform on the vesActor object associated with your model.<br>



<br>
You can access the vesActor from the vesKiwiPolyDataRepresentation for your model, if you are using that class in your app.<br>

<br>For example code, please see the implementation of vesKiwiDataRepresentation::setTransformOnActor().<br><br>Pat<br><br><div class="gmail_quote">On Wed, Feb 6, 2013 at 7:10 PM, shamsudheen <span dir="ltr"><<a href="mailto:shamsutk87@gmail.com" target="_blank">shamsutk87@gmail.com</a>></span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><div>






<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px">Hi All,</span></div>






<div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><br>






</span></div>I have successfully built the </span><b style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">VES</span>/Kiwi</b><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"> and have rendered one 3D obj  in to my</span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><b> iPad</b></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"> application from a </span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><b>.obj</b></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"> file.</span><div>






<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><br>






</span></div><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px">Im using </span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><b>vesKiwiViewerApp</b></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"> in my application.</span></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px">The Gestures are working and the 3D model is rotating well.</span></div>






<div><font color="#222222" face="arial, sans-serif"><span style="font-size:13px"><br></span></font></div><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><b><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px">Now I would like to rotate my </span></span></span><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px">3D modal/object through programmatically.</span></span></b></span></div>






<div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><br>






</span></span></span></div><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px">I have  to rotate </span></span></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="font-style:normal;color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px">my </span></span></span><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px">3D object to the following angles,, </span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><i>30º,60º,90º,120º,150º,180º,210º,240º,270º,300º,330º,360º</i></span></span></span></div>






<div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><br>






</span></span></span></div><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px">So I have wrote the code as below to rotate the  </span></span></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px">3D object in to 30º</span></span></span></div>






<div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><br>






</span></span></span></div><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">






<span style="color:#7041a7">    vesVector3f</span> cameraPosition (30, 0, 1);</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">    <span style="color:#b933a1">self</span>-><span style="color:#508186">renderer</span>.<span style="color:#508186">app</span>-><span style="color:#3d227f">setCameraPosition</span>(cameraPosition);</div>






<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><br></div></span></span></span><font color="#222222" face="arial, sans-serif"><span style="font-size:13px">Its rotated.However not exactly to the 30º and the 3D model is zoomed out.</span></font></div>






<div><font color="#222222" face="arial, sans-serif"><span style="font-size:13px"><br></span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="font-size:13px">My screen size is </span></font><span style="font-family:Menlo;font-size:11px"><b>(400, 400).</b>So the console window displayed the following when 3D model renderes</span></div>






<div><span style="font-family:Menlo;font-size:11px"><b><br></b></span></div><div><span style="font-family:Menlo;font-size:11px"><div style="font-weight:bold;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">






<b>resize(400, 399)</b></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><div style="font-weight:bold;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">






<b>x:0.000000 y:0.000000 z:-1.000000</b></div><div style="font-weight:bold;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><b>x:0.000000 y:0.000000 z:-439.917145</b></div>






<div style="font-weight:bold;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><b><br></b></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">






So I have set the camera position as </div></div></span><span style="font-family:Menlo;font-size:11px"><b><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo;display:inline!important">






 </div></b></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">






<span style="color:rgb(112,65,167)">    vesVector3f</span> cameraPosition (30, 0,-439.917145);</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">






    <span style="color:rgb(185,51,161)">self</span>-><span style="color:rgb(80,129,134)">renderer</span>.<span style="color:rgb(80,129,134)">app</span>-><span style="color:rgb(61,34,127)">setCameraPosition</span>(cameraPosition);</div>






<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">






Now the zoom is correct and the 3D model is rotated.However not exactly to 30.</div></span></span></span><span style="font-family:Menlo;font-size:11px"><b></b></span></div><div><font color="#222222" face="arial, sans-serif"><span style="font-size:13px"><br>






</span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="font-size:13px"><b>My target is to rotate the object in different angles.how can achieve this?</b></span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="font-size:13px"><br>






</span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="font-size:13px">Is it possible to access the rendered 3D object and set the positions instead of using the camera ?</span></font></div>





<div>
<font color="#222222" face="arial, sans-serif"><span style="font-size:13px"><br></span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="font-size:13px">Any help on this is appreciated.</span></font></div>






<div><font color="#222222" face="arial, sans-serif"><span style="font-size:13px"><br></span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="font-size:13px">Thanks<br></span></font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">






<br></div></span></span></span></div><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;display:inline!important;font-weight:normal;line-height:normal;color:rgb(34,34,34);text-transform:none;font-size:13px;white-space:normal;font-family:arial,sans-serif;word-spacing:0px"> </span></span></span></div>






</div></blockquote></div><br>
</blockquote></div><br></div></div></div></blockquote></div><br>
</blockquote></div><br></div></blockquote></div><br></div></blockquote></div><br></div></div></div></blockquote></div><br>