[Openmcl-devel] opengl rubix example

Hamilton Link hamlink at cs.unm.edu
Mon May 2 19:36:29 UTC 2005


Have you tried to right-click/drag on the faces? The initial solved 
cube will look like it has solid faces, yeah. But the six faces will 
rotate independently. Possibly a screen shot is in order...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openmcl-opengl-rubix.tiff
Type: application/applefile
Size: 60995 bytes
Desc: not available
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20050502/1bd32710/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openmcl-opengl-rubix.tiff
Type: image/tiff
Size: 255408 bytes
Desc: not available
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20050502/1bd32710/attachment.tiff>
-------------- next part --------------

I've thought about making it more perfectly rubix-cubelike but it 
wasn't worth the effort, getting quaternions and picking & selection 
etc in an NSOpenGLView were the objectives.

And yes, there was only one tiny little change, in blocks.lisp

h

On May 2, 2005, at 1:11 PM, Lawrence E. Bakst wrote:

> Hi Hamilton,
>
> I'm not sure it's still working right on my laptop. I assume I am 
> supposed to see an array of 3x3 squares on each face of the cube? I 
> don't see that I see 6 solid color faces.
>
> Also, you only changed the file "blocks.lisp", correct? CVS showed the 
> other files all 9 months old.
>
> Best,
>
> leb
>
> At 11:24 AM -0600 5/2/05, Hamilton Link wrote:
>> In the process of toying with the idea of making stand-alone-app 
>> versions of the two opengl examples, I discovered that the rubix cube 
>> example had a picking and selection bug. It now works properly. 
>> Left-mouse/drag will rotate the cube, and right-mouse/drag on a face 
>> will turn a face clockwise or ccw.
>>
>> The bug made right-mousing do picking and selection in the viewable 
>> buffer for some reason (and never switch the camera back), so if you 
>> tried it before and wondered if it was working properly, no it 
>> wasn't.
>>
>> h
>
>
>
> -- 
> Lawrence E. Bakst
> leb at iridescent.org


More information about the Openmcl-devel mailing list