a_g_paint is called from event handler, not from your code. unless you had called this verb directly.
the viewport is glu_lookat, but I forgot most of it already. Thu, 13 Feb 2020, Brian Schott написал(а): > Bill (et al), > > Can you comment on my initial assumption that shader.ijs is not really > moving the cube but is moving the eye in relation to the cube, (and that a > more common way to move **multiple** objects is to move them, not the eye.) > > Bill, > > Replying to your 3 comments: > 1)I have stopped the timer. > 2)I have alter the paint even so that it receives a y arg. > 3)My revision keeps the projection after the gl_Translate. > So I think I am doing what you intended. > > I also tried changing my gl_Translate line as follows but get the same > result as before. > > mvp=: mvp mp~ gl_Translate 20 3 0 > > Thanks, again, > > > On Thu, Feb 13, 2020 at 10:21 AM bill lam <bbill....@gmail.com> wrote: > > > I think you should stop the timer so as not to interference your code. > > > > handler for paint event (and all events) receive no y argument. > > > > not sure what it looks like if mvp is translate only without projection > > from 3D to 2D. the screen is flat 2D. > > > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm