Hi all,<br><br>After I set new RenderWindow size in python script SetSize(640,480), and GetSize(), the actual size is not 640,480.<br>I just want to make sure the 640-by-480 Z-buffer I read should be at the right starting location.<br>
<br>Here are the piece of code segment. Anything thought? Many thanks!<br><br>input to python shell<br>---------------------------------------------<br><span style="font-family:courier new,monospace">RenWin = GetRenderView().GetRenderWindow();</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">new_size = (640,480);</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">RenWin.SetSize(new_size);</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">actual_size = RenWin.GetSize();</span><br>---------------------------------------------<br><br>output<br>---------------------------------------------<br><span style="font-family:&#39;Courier&#39;;font-size:8.25pt;color:#000000">&gt;&gt;&gt; new_size</span>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:&#39;Courier&#39;;font-size:8.25pt;color:#009600">(640, 480)</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:&#39;Courier&#39;;font-size:8.25pt;color:#000000">&gt;&gt;&gt; actual_size</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:&#39;Courier&#39;;font-size:8.25pt;color:#009600">(648, 507)</span></p>---------------------------------------------<br>
<br>Li<br>