Hi Gilberto, Severin,<br><br>Thanks for the help, my problem seems now solved.<br><br>Koen<br><br><div class="gmail_quote">On 30 April 2010 18:04, 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">
Sorry, I don&#39;t understand your question. What do you mean by copying
files?<br>
The way we have setup the resolution of cameras in the MORSE simulator
is by defining the X and Y sizes as properties of our camera object.
Then the size is applied by an external python module. So the actual
code to set the resolution is not inside a blender file. So I guess
copying files would not affect us.<br>
What sort of copy are you trying to do?<div><div></div><div class="h5"><br>
<br>
On 04/30/2010 05:59 PM, koen buys wrote:
<blockquote type="cite">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" target="_blank">gilberto.echeverria@laas.fr</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;">
    <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><br>
    <br>
    <br>
On 04/30/2010 10:23 AM, koen buys wrote:
    </div>
    </div>
    <blockquote type="cite">
      <div>
      <div>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><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>
  <pre><fieldset></fieldset>
_______________________________________________
Robotics mailing list
<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>
  </pre>
</blockquote>
<br>
</div></div></div>

</blockquote></div><br>