ej bonitos
thanks for the variety of possible solutions - it helped a lot!
best ø
On 11/15/2011 08:14 PM, Mathieu Bouchard wrote:
Le 2011-11-15 à 17:43:00, Max a écrit :
i guess you are using 03-camera.pd in Bewegungsmelder. The point is that the students realize it is 3d. use [rectangle -4 3] to flip the rectangle and look at it from the other side - thus the pixels textured on it are in reverse order. m.
This particular trick would work even if [rectangle] were part of a 2D toolkit. But otherwise, it's true that it's a good trick. It takes less CPU than [pix_flip].
There are two ways to flip coordinates of a 2D thing : reflexion in 2D, such as [scaleXYZ -1 1 1] or [scaleXYZ 1 -1 1] or rotation in 3D, such as [rotateXYZ 180 0 0] or [rotateXYZ 0 180 0]. Picking the size of a rectangle is the same as $1 $2 of scaleXYZ.
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC