<div dir="ltr"><div><div><div><div><span class="im"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I work with images >5k resolution (and tiling)  :-)<br>
</blockquote></span>
this is still a lot for real time in the CPU.</span><br><br></div>It´s not realtime and it does not have to be realtime. It´s more like a render job for pd/GEM in single buffered mode.<br><span class=""><br></span>you can have 2 array : the unsorted, and the sorted. then interpolate between 2.<span class=""><br>
</span><br></div><span class="im"></span>Yes, I will give it a try. At least it should make sense in a visual way. I dont want tons of colored noisy pixels...<br><br></div>Cheers,<br><br></div>Rainer<br><br><br><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-22 10:09 GMT+02:00 Cyrille Henry <span dir="ltr"><<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><br>
<br>
Le 21/05/2015 23:39, Rainer . a écrit :<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks for the response so far!!!<br>
<br>
1000000 - just a number to make it clear that I want to sort big lists.<br>
<br>
I should have been more precise - in fact I want to sort pixel values, a huge amount of pixel values. I´ve done this already with sort from zexy (with arrays) and it worked pretty well. But it´s either the original or the sorted result. So a animation or a warp or at least 75% between would be nice.<br>
...<br>
<br>
</blockquote></span>
you can have 2 array : the unsorted, and the sorted. then interpolate between 2.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
 >> 1000000 is hard to handle...<br>
 > it's more square than pixel in a 1024x768 screen!<br>
I work with images >5k resolution (and tiling)  :-)<br>
</blockquote></span>
this is still a lot for real time in the CPU.<br>
but if you find a way to store the 2 array in the GPU (using texture), and interpolate with a shader, then you will be fine.<span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
btw. what is the meaning of "invision"???<br>
<br>
</blockquote>
<br></span>
i think Iohannes ask what is a 75% sorted list.<br>
<br>
cheers<br>
c<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Cheers,<br>
<br>
Rainer<br>
<br>
<br>
<br>
2015-05-21 18:52 GMT+02:00 Cyrille Henry <<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> <mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>>>:<span class=""><br>
<br>
<br>
<br>
    Le 21/05/2015 18:13, Py Fave a écrit :<br>
<br>
        you can multiply lists component wise check in (listabs ) in help browser<br>
<br>
        multiply by a fraction then multiply with the goal values<br>
<br>
    for large list, i suggest using array and iem_tab<br>
<br>
    for a fade between A and B, x being the fade factor for 0 to 1, the fade would be :<br>
    A * (1-x) + B * x<br>
<br>
        you should look egregore by chdh (on this list ) for morphing<br>
        and they have a live in one week on the net using the patch<br>
<br>
    thanks for the reminder ;-)<br>
<br>
    we don't have "lot's" of fade involve in egregore, but if you like lot's of particles moving, you should see the next chdh  performance : "morphist"<br></span>
    (2 live in Paris next month, see <a href="http://chdh.net" target="_blank">chdh.net</a> <<a href="http://chdh.net" target="_blank">http://chdh.net</a>> for more informations)<span class=""><br>
<br>
<br>
        1000000 is hard to handle...<br>
<br>
    it's more square than pixel in a 1024x768 screen!<br>
    but with a good computer, 100 000 moving dots should not be a problem.<br>
<br>
    cheers<br>
<br>
    c<br>
<br>
<br></span>
        2015-05-21 16:16 GMT+02:00 Rainer . <<a href="mailto:fundamentalstern@gmail.com" target="_blank">fundamentalstern@gmail.com</a> <mailto:<a href="mailto:fundamentalstern@gmail.com" target="_blank">fundamentalstern@gmail.com</a>>>:<span class=""><br>
<br>
                e.g. what's 75% between "1 6 8 4 3" and "1 3 4 6 8"<br>
<br>
<br>
            Yes, that´s the question. I am thinking of e.g. 1000000 squares [GEM] fading<br>
            from random position to sorted postition.<br>
<br>
            How can I fade lists?<br>
<br>
            Thanks,<br>
<br>
            Rainer<br>
<br></span>
            2015-05-21 15:56 GMT+02:00 IOhannes m zmoelnig <<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a> <mailto:<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>>>:<span class=""><br>
<br>
<br>
                On 2015-05-21 15:47, Rainer . wrote:<br>
<br>
                    Hi,<br>
<br>
                    I´m just playing with the sort object from zexy lib, sorting a bunch of<br>
                    floats. I wonder if there is a way to fade or morph(?) from unsorted to<br>
                    sorted state?<br>
<br>
<br>
                how do you invision that?<br>
                e.g. what's 75% between "1 6 8 4 3" and "1 3 4 6 8"<br>
<br>
                how is your result different from a generic fade between two lists of<br>
                equal lengths?<br>
<br>
                fgsmdr<br>
                IOhannes<br>
<br>
<br>
<br>
                _______________________________________________<br></span>
                <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>> mailing list<span class=""><br>
                UNSUBSCRIBE and account-management -><br>
                <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
<br>
            _______________________________________________<br></span>
            <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>> mailing list<span class=""><br>
            UNSUBSCRIBE and account-management -><br>
            <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
        _______________________________________________<br></span>
        <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>> mailing list<span class=""><br>
        UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</span></blockquote><div class=""><div class="h5">
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div></div></div></div>