<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 08/30/2013 04:53 PM, Jonathan Wilkes
wrote:<br>
</div>
<blockquote
cite="mid:1377895993.64416.YahooMailNeo@web160306.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">Ok, got it up and
running. Some thoughts:<br>
<br>
Good:<br>
* wow, just click-dragging a single object around is _way_
faster than in an ordinary canvas window!<br>
<div>* nice semi-transparent scrollbars!</div>
<div>* it's shocking how much nicer the anti-aliased lines.</div>
<div>* font seems to look nicer than pd vanilla. not sure
why...</div>
<div>* fontsize in floating point!<br>
</div>
<div>* don't really understand the relationship between ptext
and transformation matrix. it looks like you</div>
<div>can rotate the text, but can you use the matrix to scale
it, too?</div>
<div>* matrix stuff wrt to relative location could greatly
simplify some of the c code. For example, an entire</div>
<div>"Put" menu array is a series of relative locations of
points or path coords...<br>
</div>
</div>
</blockquote>
<br>
Thanks! :-) I will need to look into the whole matrix business.<br>
<br>
<blockquote
cite="mid:1377895993.64416.YahooMailNeo@web160306.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><br>
<span></span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>Bad:</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;">* how do I choose between straight lines
and curved?<br>
</div>
</div>
</blockquote>
<br>
Currently there is no way to do this without editing the code
(staright lines are commented out so it should not be too difficult
to expand this). I wonder however if this is entirely
necessary--03.connections.pd example suggests this may be so but I
wonder if this is because it was originally organized to make things
clear with straight lines. In other words, I tend to think that
bezier cords will work in most cases except for those that have been
explicitly designed to work with straight lines in which case some
adjustment may be necessary.<br>
<blockquote
cite="mid:1377895993.64416.YahooMailNeo@web160306.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;">* in the patch menu, when i move among
the menu titles I get some flickering, whereas with the main
pd window</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;">menu I don't get flickering (debian
wheezy amd_64)<br>
</div>
</div>
</blockquote>
Is the menu flickering or the canvas? I am unfortunately unable to
reproduce either over here (Ubuntu amd_64). If you can send me an
example patch, that would be great.<br>
<br>
<blockquote
cite="mid:1377895993.64416.YahooMailNeo@web160306.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>* I get about a 25% jump when
click-dragging a single [clip] continuously, compared to
about 10% jump</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>in cpu when in pd-0.44</span></div>
</div>
</blockquote>
This is likely since new canvas draws SVG elements as opposed simple
lines, and a such can be more CPU intensive. My hope is that in the
long run we finish/implement the OpenGL backend for tkpath in which
case all this will be for the most part a non-issue.<br>
<br>
pd-l2ork's redrawing logic is much more sophisticated than pd's.
pd-l2ork's vanilla objects and 3rd party gui objects that have been
adapted to take advantage of pd-l2ork's facilities, do not redraw
unless necessary. They are relocated using canvas's move command.<br>
<br>
<blockquote
cite="mid:1377895993.64416.YahooMailNeo@web160306.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>* it's a little strange that
scrollbars inside patch look different than the normal ones.<br>
</span></div>
</div>
</blockquote>
My hope is all scrollbars will eventually look like this :-)<br>
<br>
<blockquote
cite="mid:1377895993.64416.YahooMailNeo@web160306.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>* scrollbars seem to scroll
differently if you change the font size (scrolls slower).<br>
</span></div>
</div>
</blockquote>
<br>
I think I just noticed that myself--should be an easy fix
(hopefully!) :-)<br>
<blockquote
cite="mid:1377895993.64416.YahooMailNeo@web160306.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>* Now that the scrollbars don't
look two decades old, I feel like the cursor should change
to a normal</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>arrow when they have the focus.<br>
</span></div>
</div>
</blockquote>
This may be a bit tricky due to the way canvas hijacks mouse
events... Let me see what I can do...<br>
<br>
<blockquote
cite="mid:1377895993.64416.YahooMailNeo@web160306.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>* If I duplicate [clip] about
twenty times, dragging a selection rectangle gets sluggish
and</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>moving all the [clip]s gets
sluggish, too. Sluggish = obvious latency, and slower than
pd vanilla -0.44</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>which doesn't have dragging latency
even with 40 [clip]s.<br>
</span></div>
</div>
</blockquote>
This is purely CPU overhead of SVG over conventional canvas. Once we
go OpenGL route this will be seen only as a momentary dip in
performance.<br>
<br>
<blockquote
cite="mid:1377895993.64416.YahooMailNeo@web160306.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>* tried tooltips. Hovering over
left inlet of "clip":</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span>unknown option "-outline"<br>
unknown option "-outline"<br>
while executing<br>
"$tkcanvas itemcget [lindex $tags 0] -outline"<br>
(procedure "pdtk_canvas_enteritem_gettags" line 23)<br>
invoked from within<br>
"pdtk_canvas_enteritem_gettags .x1e58d50.c 277 135
.x1e58d50.t1e58010i0"</span></div>
</div>
</blockquote>
This was fixed last night. Thanks for reporting it!<br>
<br>
<blockquote
cite="mid:1377895993.64416.YahooMailNeo@web160306.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><br>
<span></span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;">Anyway, very cool so far!</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;">-Jonathan<br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
arial,helvetica,sans-serif; background-color: transparent;
font-style: normal;"><span><br>
</span></div>
<div><br>
</div>
<div style="font-family: arial, helvetica, sans-serif;
font-size: 12pt;">
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;">
<div dir="ltr">
<hr size="1"> <font size="2" face="Arial"> <b><span
style="font-weight:bold;">From:</span></b> Ivica Ico
Bukvic <a class="moz-txt-link-rfc2396E" href="mailto:ico.bukvic@gmail.com"><ico.bukvic@gmail.com></a><br>
<b><span style="font-weight: bold;">To:</span></b>
Jonathan Wilkes <a class="moz-txt-link-rfc2396E" href="mailto:jancsika@yahoo.com"><jancsika@yahoo.com></a>; l2ork-dev
<a class="moz-txt-link-rfc2396E" href="mailto:l2ork-dev@disis.music.vt.edu"><l2ork-dev@disis.music.vt.edu></a> <br>
<b><span style="font-weight: bold;">Cc:</span></b>
András Murányi <a class="moz-txt-link-rfc2396E" href="mailto:muranyia@gmail.com"><muranyia@gmail.com></a> <br>
<b><span style="font-weight: bold;">Sent:</span></b>
Friday, August 30, 2013 12:23 AM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
Re: [PD] Upcoming pd-l2ork release teaser<br>
</font> </div>
<div class="y_msg_container"><br>
Guys, I think I figured out why there was a problem
building tkpath. Try <br>
latest git commit--it appears that my .gitignore setting
prevented me <br>
from committing some of the tkpath's files and hence the
hiccup. Latest <br>
version also fixes lingering display issues with tkpath,
route <br>
regression (as reported by Andras), as well as a few other
cosmetic fixes.<br>
<br>
Try out the new scrolling algorithm--you can scroll with
scrollbars (as <br>
you could before), they should resize automatically as you
change the <br>
window size and its contents, and perhaps most
importantly, now you can <br>
use middle click anywhere on the canvas to "drag" the
canvas as if you <br>
were to hold paper and drag it around.<br>
<br>
HTH<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
L2Ork-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a>
<a class="moz-txt-link-freetext" href="http://disis.music.vt.edu/listinfo/l2ork-dev">http://disis.music.vt.edu/listinfo/l2ork-dev</a></pre>
</blockquote>
<br>
</body>
</html>