blonkm / rubiks-cube

WebGL Rubik's Cube
http://goo.gl/uDQH6U
MIT License
39 stars 10 forks source link

Configurable stickers #21

Closed blonkm closed 9 years ago

blonkm commented 9 years ago

Make stickers configurable. Probably it's best to use the exact format of RubikPlayer.

blonkm commented 9 years ago

I have a hunch that this is going to be really hard. The current WebGL code is assuming it can identify a cubie by looking at the color!

tinnywang commented 9 years ago

When you say color, do you mean the color of the sticker or the color attribute in the Cube class? The color attribute isn't rendered to screen and is just used for picking (figuring out which cubie has been selected); its rgb value is independent of the sticker color. The stickers are actually geometry (which is kind of gross), and they have their own color values.

blonkm commented 9 years ago

I mean color of the sticker. Well, that is certainly good news. I'll have less problems implementing it then.

Tiffany Wang notifications@github.com wrote:

When you say color, do you mean the color of the sticker or the color attribute in the Cube class? The color attribute isn't rendered to screen and is just used for picking (figuring out which cubie has been selected); its rgb value is independent of the sticker color. The stickers are actually geometry (which is kind of gross), and they have their own color values.

— Reply to this email directly or view it on GitHub.

bcube2 commented 9 years ago

What color (letter) is for grey? Are there available other colors? See issue no. 39

blonkm commented 9 years ago

Grey is 'x'. You will need exactly 54 color characters like 'rrrrrrrrrggg...' On May 20, 2015 2:30 AM, "bcube2" notifications@github.com wrote:

What color (letter) is for grey? Are there available other colors? See issue no. 39

— Reply to this email directly or view it on GitHub https://github.com/blonkm/rubiks-cube/issues/21#issuecomment-103777993.