[Cuis-dev] Let’s change everything

Luciano Notarfrancesco luchiano at gmail.com
Tue Sep 1 21:49:35 PDT 2020


Yes Phil, exactly :)

On Wed, 2 Sep 2020 at 12:17 AM, Phil B <pbpublist at gmail.com> wrote:

> I think he's suggesting something like this:
> https://rantonse.no/content/07-blog/0-2016-05-12/rubik-flat.png
>
> On Tue, Sep 1, 2020 at 1:04 PM Juan Vuletich <juan at jvuletich.org> wrote:
>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> I don't quite get what you say but it sounds intriguing. Can you do
>>
>> a quick drawing on a paper and post a photo so I can understand?
>>
>>
>>
>>
>>
>> Thanks!
>>
>>
>>
>>
>>
>> On 8/31/2020 3:03 AM, Luciano Notarfrancesco via Cuis-dev wrote:
>>
>>
>>
>>
>>
>> Another option would be to avoid 3D all together
>>
>> and do it in 2D. Think of the cube as a cardboard box, cut
>>
>> some sides and lay it flat in the plane. Like a sort of
>>
>> symbolic representation of the cube, could be interesting.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Mon, 31 Aug 2020 at 12:11
>>
>> AM, Phil B via Cuis-dev <cuis-dev at lists.cuis.st>
>>
>> wrote:
>>
>>
>>
>>
>>
>>>
>>> Juan is pointing you in the right direction.
>>>
>>> It mainly depends on your objectives:  Ray tracing will
>>>
>>> result in more lifelike lighting and shadows, at the
>>>
>>> expense of performance (Luciano's implementation will only
>>>
>>> run on a single CPU core).  OpenGL will give you
>>>
>>> performance (taking advantage of your GPU), at the expense
>>>
>>> of realism.  Let's aside the latest gen nVidia cards with
>>>
>>> hardware accelerated ray tracing: OpenGL doesn't support
>>>
>>> it,  it would limit you to a tiny fraction of the GPU
>>>
>>> universe currently and nothing I'm aware of in Cuis or
>>>
>>> even Squeak/Pharo-land will help you with it.
>>>
>>>
>>>
>>>
>>>
>>>
>>> For this application, I would think OpenGL is the way
>>>
>>> to go.  Both from the standpoint of the simplicity of it
>>>
>>> (your scene consists of 26 colored cubes, for a standard
>>>
>>> Rubik's Cube, which can easily be realized with vertex
>>>
>>> shading) and the fact that at some point you'd probably
>>>
>>> want to animate it to 'show' the solution.  Since your
>>>
>>> shading needs are basic, you can also stick with the
>>>
>>> fixed-function pipeline (i.e. OpenGL <=3) to keep
>>>
>>> your life simple which is what most OpenGL tutorials out
>>>
>>> there cover.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> If I were doing something like this, I'd probably do
>>>
>>> it via a web app using WebGL... it would be more than
>>>
>>> capable of handling a scene of this complexity.  This
>>>
>>> may be more than you want to bite off right now, just
>>>
>>> making you aware of the possibility.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Sat, Aug 29, 2020 at
>>>
>>> 9:22 PM Juan Vuletich via Cuis-dev <cuis-dev at lists.cuis.st>
>>>
>>> wrote:
>>>
>>>
>>>
>>>
>>> On 8/29/2020 3:35 AM, Casey
>>>>
>>>> Ransberger via Cuis-dev wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > Hey Juan!
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > You were doing some stuff experimentally with the
>>>>
>>>> video hardware everyone has in their pants now.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Well, I guess you refer to OpenCL. But OpenCL (a C like
>>>>
>>>> language for
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> doing numerical computation) has no relation to OpenGL
>>>>
>>>> (the most common
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> API for 3D graphics).
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > I *really* want to create a sort of holiday for
>>>>
>>>> people who love twisty puzzles, starting with the
>>>>
>>>> classic Rubik’s Cube. Like, I have a few algorithms that
>>>>
>>>> I’m focused on memorizing, but other people should be
>>>>
>>>> able to chase their own algorithms.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > I’d love to help create a dictionary of speedcubing
>>>>
>>>> algorithms and all you have to do if you want access to
>>>>
>>>> a community-built set of hard-earned algorithms, is just
>>>>
>>>> read and participate.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > I want some 3D graphics in Cuis, but we don’t need
>>>>
>>>> much: just enough to make use the platform that every
>>>>
>>>> speedcuber resorts to when everything else has gone to
>>>>
>>>> hell in a hand basket. Just a way to think about what
>>>>
>>>> went wrong while you were landing the world record.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > I know that your focus is vector graphics, but
>>>>
>>>> there are some 3d things I think we need to at least
>>>>
>>>> think about.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > I’m going to be the fiercest human who ever
>>>>
>>>> defended cubing as a legit sport.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > Here comes my name!
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > —Casey
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> I think 3D is very interesting and I'd love to see more
>>>>
>>>> activity on it.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Your idea sonds neat! But I can't really help you. I
>>>>
>>>> never did 3D, and I
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> can't really start studying a new field right now.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> I suggest taking a good look at https://github.com/pbella/Cuis-OpenGL
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> and https://github.com/len/RayTracer
>>>>
>>>> . Phil, Luciano, any comment on
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Casey's project?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Cheers,
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Juan Vuletich
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> www.cuis-smalltalk.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> https://github.com/jvuletich
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> https://www.linkedin.com/in/juan-vuletich-75611b3
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> @JuanVuletich
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Cuis-dev mailing list
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Cuis-dev at lists.cuis.st
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>>
>>> Cuis-dev mailing list
>>>
>>>
>>>
>>>
>>>
>>> Cuis-dev at lists.cuis.st
>>>
>>>
>>>
>>>
>>>
>>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Juan Vuletich
>>
>> www.cuis-smalltalk.org
>>
>> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
>>
>> https://github.com/jvuletich
>>
>> https://www.linkedin.com/in/juan-vuletich-75611b3
>>
>> @JuanVuletich
>>
>>
>>
>>
>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200902/ce35872d/attachment-0001.htm>


More information about the Cuis-dev mailing list