Thanks. qt demo updated. Сб, 27 июн 2015, Raul Miller написал(а): > If we are talking about the shader demo in the qt demos, on my screen, > the color black is adjacent to white, blue and cyan. > > Instead, I believe it should be: > > colorData=: 1&fc , C=: 0 1 2 2 1 3&{"2 ] 6 4 3$ , CC=:0&".@(-.&',') ;._2 [ 0 > : 0 > 0 0 1 > 1 0 1 > 0 1 1 > 1 1 1 > 1 0 1 > 1 0 0 > 1 1 1 > 1 1 0 > 1 0 0 > 0 0 0 > 1 1 0 > 0 1 0 > 0 0 0 > 0 0 1 > 0 1 0 > 0 1 1 > 0 0 0 > 1 0 0 > 0 0 1 > 1 0 1 > 0 1 1 > 1 1 1 > 0 1 0 > 1 1 0 > ) > > Or, more compactly: > > colorData=: 1&fc , #: 0&".;._2]0 :0 > 1 5 3 3 5 7 > 5 4 7 7 4 6 > 4 0 6 6 0 2 > 0 1 2 2 1 3 > 0 4 1 1 4 5 > 3 7 2 2 7 6 > ) > > Note also that vertexData could be specified similarly. For example: > > vertexData=: 1&fc , _1+2* #: 0&".;._2]0 :0 > 1 5 3 3 5 7 > 5 4 7 7 4 6 > 4 0 6 6 0 2 > 0 1 2 2 1 3 > 0 4 1 1 4 5 > 3 7 2 2 7 6 > ) > > Thanks, > > -- > Raul > > On Sat, Jun 27, 2015 at 9:52 PM, bill lam <bbill....@gmail.com> wrote: > > I made an attemp to implement color scheme proposed by Raul and Mike > > in the opengl shader demo of j804 beta. Please update qt addon > > to check if the result agrees with viewmat, and fix shader if > > necessary. F10 is used to start/stop timer. > > > > -- > > regards, > > ==================================================== > > GPG key 1024D/4434BAB3 2008-08-24 > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > 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 --recv-keys 4434BAB3 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm