You can press F10 to stop timer and then rotate the cube manually using key x y z, so that hypothetically you can control the sequence. Notice the angle displayed.
I am not sure what did you mean by 125 cubes. or infinite cubes, the opengl model only need to specify the vertices of each 6 squares and the color of these 24 vertices. Color of pixels on surface are done by interpolation inside hardware rendering pipeline. You can press a or s to zoom in/out the cube. Вс, 28 июн 2015, Linda Alvord написал(а): > Your shader looks good! Maybe if you started the sequence that Raul suggested > you could get a better look athe the "black" corner. Iand the white one) The > idea of No light to blue, red and green light helps the model helps to show > that when they are all on in the diagonally opposite corner there is full > light. > > In the "little model" with the pattern, if you focus on the fact that it > "contains 125 cubes of solid color, your infinite model "contains" 16,777,216 > little cubes - all different. > > Linda > -----Original Message----- > From: programming-boun...@forums.jsoftware.com > [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of bill lam > Sent: Sunday, June 28, 2015 12:00 AM > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Trouble making patter for a color cube > > 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 > > ---------------------------------------------------------------------- > 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