<div>Hello all, I am trying to do something which should be fairly easy: I am trying to see a circle that let&#39;s through an image that is behind it. (As if through a telescope...) So my attempt so far consists of texturing this image into a circle and compensate changes in translation and size of the circle with the pix_coordinate object. I have managed to do this with rectangles and triangles, but can&#39;t a find a way around circles. The main idea is the next:</div>
<div><br class="webkit-block-placeholder"></div>pix_image<div>|<br><div>pix_texture &nbsp; coordinate-mess</div><div>| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /</div><div>pix_coordinate<br clear="all">|</div><div>rotateXYZ</div><div>|</div><div>translateXYZ</div>
<div>|</div><div>circle</div><div><br class="webkit-block-placeholder"></div><div>The coordinate message has this behaviour:</div><div>-the 1st two floats don&#39;t have any effect.&nbsp;</div><div>-the 3rd one compresses/expands left-right,&nbsp;</div>
<div>-the 4th one compresses/expands up-down,&nbsp;</div><div>-the 5th doesn&#39;t do anything,&nbsp;</div><div>-the 6th one seems to offest the vertical compression/expanssion</div><div>-any succesive floats have no effect.&nbsp;</div>
<div><br class="webkit-block-placeholder"></div><div>So my problem is that without any horixontal offest i can&#39;t compensate for size/transaltion values. If i had that i think i could do some math to do this....</div><div>
<br class="webkit-block-placeholder"></div><div>Anyone has any suggestions? Is this the wrong approach??</div><div><br class="webkit-block-placeholder"></div><div>I am attaching the patch if anyone want&#39;s to test this and I am also attaching an example of how i am compensating this for a polygon 3</div>
<div><br class="webkit-block-placeholder"></div><div>best,</div><div><br class="webkit-block-placeholder"></div><div>J</div><div><br class="webkit-block-placeholder"></div><div><br>-- <br>Jaime E Oliver LR<br><br><a href="mailto:joliverl@ucsd.edu">joliverl@ucsd.edu</a><br>
<a href="http://www.realidadvisual.org/jaimeoliver">www.realidadvisual.org/jaimeoliver</a><br><a href="http://www-crca.ucsd.edu/">www-crca.ucsd.edu/</a><br><a href="http://www.realidadvisual.org">www.realidadvisual.org</a><br>
<br>9168 Regents Rd. Apt. G<br>La Jolla, CA 92037<br>USA
</div></div>