<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Sorry, I don'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?<br>
<br>
On 04/30/2010 05:59 PM, koen buys wrote:
<blockquote
 cite="mid:v2obb38481f1004300859i8b57bfd4y93bceb0e3b227b70@mail.gmail.com"
 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 moz-do-not-send="true"
 href="mailto:gilberto.echeverria@laas.fr">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>
&nbsp;&nbsp; matID = VideoTexture.materialID(screen, texture_name)<br>
&nbsp;&nbsp; display = VideoTexture.Texture(screen, matID)<br>
&nbsp;&nbsp; display.source = VideoTexture.ImageRender(scene,camera)<br>
&nbsp;&nbsp; # Define an image size.<br>
&nbsp;&nbsp; display.source.capsize = [Image_Size_X, Image_Size_Y]<br>
    <br>
I haven'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 moz-do-not-send="true"
 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 moz-do-not-send="true"
 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 class="h5"><br>
    <br>
    <br>
On 04/30/2010 10:23 AM, koen buys wrote:
    </div>
    </div>
    <blockquote type="cite">
      <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 moz-do-not-send="true"
 href="mailto:Robotics@blender.org" target="_blank">Robotics@blender.org</a>
<a moz-do-not-send="true"
 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 wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Robotics mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Robotics@blender.org">Robotics@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/robotics">http://lists.blender.org/mailman/listinfo/robotics</a>
  </pre>
</blockquote>
<br>
</body>
</html>