(no subject)

Aug 11, 2006 at 9:10pm

(no subject)

#27123
Aug 11, 2006 at 9:37pm

Not sure what you mean by this:

the lower left or the lower right corner of the plane, without moving
the plane.

but if you want the rotation to move to a point that isn’t the center
of the plane, you need to call gltranslate begore glrotate and then
translate back before you draw as in this patch

wes

#P window setfont “Lucida Grande” 9.;
#P flonum 285 108 35 9 0 0 0 1024 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont “Lucida Grande” 9.;
#P flonum 255 220 35 9 0 0 0 0 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 249 257 104 9 pak rotate 0. 0. 0. 1.;
#P window linecount 2;
#P message 203 156 284 9 reset , gltranslate -1 -1 0 , glrotate $1
0 0 1 , glcolor 1. 1. 0. , poly_mode 1 1 , shapeslice 10 ,
gltranslate 1 1 0 , plane 0.5;
#P window linecount 1;
#P newex 215 115 48 9 loadbang;
#P newex 206 298 86 9 jit.gl.sketch wow;
#P toggle 74 95 15 0;
#P newex 82 256 157 9 jit.gl.render wow @camera 0 0 4;
#P newex 74 194 55 9 metro 20;
#P newex 74 228 50 9 t b erase;
#P newex 78 286 82 9 jit.window wow;
#P connect 1 0 3 0;
#P connect 1 1 3 0;
#P connect 8 0 5 0;
#P connect 7 0 5 0;
#P connect 10 0 7 0;
#P connect 6 0 7 0;
#P connect 4 0 2 0;
#P connect 9 0 8 1;
#P connect 2 0 1 0;
#P window clipboard copycount 11;

#81796
Aug 11, 2006 at 10:15pm

#81797

You must be logged in to reply to this topic.