Wich library has the Number3D function? I&#39;m getting an error that It cannot be found...<br><br><div class="gmail_quote">On Mon, Jun 29, 2009 at 1:29 PM, o renken <span dir="ltr">&lt;<a href="mailto:renkster@gmail.com">renkster@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Its mostly done for you :-)<br>A simple way to circle around your object is<br><br>onLoop(){<br>

<br>camera.position = new Number3D(0, 0, 0);  // your &#39;circle center&#39;<br>camera.yaw(1); // your rotation speed around Yaxis<br>
camera.moveBackward(1000); // move camera back 1000 units with its current rotationY<br><br>render()<br>}<br><br><br>try to implement the hoverCamera/ orbit. Its much more fun :-)<br><br>hth<br>olee<br><br><div class="gmail_quote">


2009/6/29 Javier Espaņa | <a href="http://javierespana.com" target="_blank">javierespana.com</a> <span dir="ltr">&lt;<a href="mailto:info@javierespana.com" target="_blank">info@javierespana.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div></div><div class="h5">
Hi there,<br><br>I&#39;m loading a Collada object and using a BitmapFileMaterial to give it texture from a png file. The Collada object loads on x:0, y:0, z:0.<br><br>The thing is that I want to have my camera circle the object all the time just to see the object better and from all angles.<br>




<br>I can&#39;t figure out how to position the camera in a logical way, I just try and change the camera x, y and z to fit my needs...<br><br>Does anyone know a good tutorial or example on camera positions? I suppose the size of the Collada object will be important, how do I take that into account?<br>




<br>Thanks a lot, next step after understanding this will be to apply this <a href="http://pv3d.org/2008/11/19/dragging-mouse-for-camera-orbit/" target="_blank">http://pv3d.org/2008/11/19/dragging-mouse-for-camera-orbit/</a> to my scene...<br>




<br>Thanks,<br><font color="#888888"><br>Javier<br>
</font><br></div></div>_______________________________________________<br>
Papervision3D mailing list<br>
<a href="mailto:Papervision3D@osflash.org" target="_blank">Papervision3D@osflash.org</a><br>
<a href="http://osflash.org/mailman/listinfo/papervision3d_osflash.org" target="_blank">http://osflash.org/mailman/listinfo/papervision3d_osflash.org</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br><a href="http://www.renkster.de/" target="_blank">http://www.renkster.de/</a><br>
<div style="border: 1px solid rgb(0, 67, 179) ! important; margin: 0px ! important; padding: 1px ! important; display: none ! important; height: auto ! important; width: auto; vertical-align: middle ! important; color: rgb(255, 255, 255) ! important; background-color: rgb(0, 0, 0) ! important; font-family: Verdana ! important; font-size: 12px ! important; line-height: normal ! important; font-weight: normal ! important;">


</div>
</font><br>_______________________________________________<br>
Papervision3D mailing list<br>
<a href="mailto:Papervision3D@osflash.org">Papervision3D@osflash.org</a><br>
<a href="http://osflash.org/mailman/listinfo/papervision3d_osflash.org" target="_blank">http://osflash.org/mailman/listinfo/papervision3d_osflash.org</a><br>
<br></blockquote></div><br>