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