Did you also had some problems of changes in exported resolutions when you copy blender files?<br><br><div class="gmail_quote">On 30 April 2010 17:41, Gilberto Echeverria <span dir="ltr">&lt;<a href="mailto:gilberto.echeverria@laas.fr">gilberto.echeverria@laas.fr</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  

<div text="#000000" bgcolor="#ffffff">
Hi Koen,<br>
<br>
I assume your question is regarding a camera in the Game Engine.<br>
As Severin said, we are using the VideoTexure module to simulate the
cameras. It is indeed possible to change the resolution of the images
produced. To do so, you can follow this procedure:<br>
<br>
   matID = VideoTexture.materialID(screen, texture_name)<br>
   display = VideoTexture.Texture(screen, matID)<br>
   display.source = VideoTexture.ImageRender(scene,camera)<br>
   # Define an image size.<br>
   display.source.capsize = [Image_Size_X, Image_Size_Y]<br>
<br>
I haven&#39;t made enough tests, but I think using an arbitrary resolution
can reduce the framerate. It is advisable to use power of two sizes for
the resolution.<br>
<br>
You can find some more information about the VideoTexture module here:<br>
<a href="http://wiki.blender.org/index.php/Doc:Manual/Game_Engine/Python_API/VideoTexture" target="_blank">http://wiki.blender.org/index.php/Doc:Manual/Game_Engine/Python_API/VideoTexture</a><br>
<a href="http://lists.blender.org/pipermail/bf-blender-cvs/2008-November/016793.html" target="_blank">http://lists.blender.org/pipermail/bf-blender-cvs/2008-November/016793.html</a><br>
<br>
Hope this helps.<br>
<br>
Gilberto<div><div></div><div class="h5"><br>
<br>
<br>
On 04/30/2010 10:23 AM, koen buys wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">Hi all, <br>
  <br>
Did one of you already try to set the resolution of a virtual camera to
a custom resolution?<br>
  <br>
Best regards,<br>
  <br>
Koen<br>
  </div></div><pre><fieldset></fieldset>
_______________________________________________
Robotics mailing list
<div class="im"><a href="mailto:Robotics@blender.org" target="_blank">Robotics@blender.org</a>
<a href="http://lists.blender.org/mailman/listinfo/robotics" target="_blank">http://lists.blender.org/mailman/listinfo/robotics</a>
  </div></pre>
</blockquote>
<br>
</div>

</blockquote></div><br>