Re: help with speedy graphics

2004-07-21 Thread Richard Gaskin
Alex Tweedly wrote: Taking positions and colours from an actual data structure (rather than generating random points) I still get draw times for (10k points) under 20 ticks - feels very fast, but not instantaneous. Compared to other vector programs that's pretty good. Try displaying that many o

Re: help with speedy graphics

2004-07-21 Thread Alex Tweedly
At 03:52 21/07/2004 -0700, Geoff Canyon wrote: After doing this: set the markerPoints of grc 2 to 0,0 & cr & 5,0 & cr & 5,5 & cr & 0,5 & cr & 0,0 This takes about 10 ticks to create 2500 boxes on my machine: [snip] Using ten graphics, it takes about 10 ticks to create 10,000 boxes using 10 gra

Re: help with speedy graphics

2004-07-21 Thread Geoff Canyon
After doing this: set the markerPoints of grc 2 to 0,0 & cr & 5,0 & cr & 5,5 & cr & 0,5 & cr & 0,0 This takes about 10 ticks to create 2500 boxes on my machine: on mouseUp put ticks() into t put empty into tPoints repeat 2500 put random(300)+410 into x put random(400)+50 into y

RE: help with speedy graphics

2004-07-14 Thread Alex Tweedly
At 13:19 14/07/2004 -0700, Jan Schenkel wrote: --- Alex Tweedly <[EMAIL PROTECTED]> wrote: > Someone pointed out earlier that these polygon > schemes limit me to a single > colour. That is indeed the very opposite of what I > need - the visualization > I want is done by colours. However, I'll have

RE: help with speedy graphics

2004-07-14 Thread Jan Schenkel
--- Alex Tweedly <[EMAIL PROTECTED]> wrote: > At 11:31 14/07/2004 +0930, Monte Goulding wrote: > > >Just out of interest have you tried using a single > polygon graphic with > >markers and no line and just setting the points. > That should be very fast. > > Nope - had no idea until 5 minutes ago

RE: help with speedy graphics

2004-07-13 Thread Alex Tweedly
At 11:31 14/07/2004 +0930, Monte Goulding wrote: Just out of interest have you tried using a single polygon graphic with markers and no line and just setting the points. That should be very fast. Nope - had no idea until 5 minutes ago that that might be possible. Thanks to Richard and Dar, I am tr

Re: help with speedy graphics

2004-07-13 Thread Chipp Walters
Alex, If you're in 'debug mode', the lockscreen has no effect, Chipp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: help with speedy graphics

2004-07-13 Thread Alex Tweedly
At 19:02 13/07/2004 -0600, Dar Scott wrote: I hear it is possible to put a shape at each corner of a polygon. Now, if those lines were transparent... But you can (at least in theory - my coding in Transcript is still kind of slow and tentative, so I haven't got it tried and working yet) -

RE: help with speedy graphics

2004-07-13 Thread Monte Goulding
>On Jul 13, 2004, at 6:48 PM, Alex Tweedly wrote: >> Thanks Trevor, but that made only a marginal difference - it reduced >> the time for drawing a 5000 point dataset (with 4x4 pixel rectangles) >> from 690 ticks to 670 ticks (still over 10 seconds elapsed time). > >As Scott mentioned, this is a l

Re: help with speedy graphics

2004-07-13 Thread Trevor DeVore
On Jul 13, 2004, at 6:52 PM, Trevor DeVore wrote: On Jul 13, 2004, at 6:48 PM, Alex Tweedly wrote: Thanks Trevor, but that made only a marginal difference - it reduced the time for drawing a 5000 point dataset (with 4x4 pixel rectangles) from 690 ticks to 670 ticks (still over 10 seconds elapsed

Re: help with speedy graphics

2004-07-13 Thread Trevor DeVore
On Jul 13, 2004, at 6:48 PM, Alex Tweedly wrote: Thanks Trevor, but that made only a marginal difference - it reduced the time for drawing a 5000 point dataset (with 4x4 pixel rectangles) from 690 ticks to 670 ticks (still over 10 seconds elapsed time). As Scott mentioned, this is a lot of objec

Re: help with speedy graphics

2004-07-13 Thread Alex Tweedly
At 17:42 13/07/2004 -0700, Trevor DeVore wrote: On Jul 13, 2004, at 5:39 PM, Alex Tweedly wrote: But even with this improvement, it's un-usably slow. I'll go play with painted graphics and see what they do ... I'd be grateful for any pointers to sample scripts that use painted graphics (or other

Re: help with speedy graphics

2004-07-13 Thread Scott Rossi
Recently, "Richard Gaskin" wrote: The script (see below) uses (tries to use) templateGraphic to set the size and colour, but this doesn't seem to have any effect. It also uses lockscreen - but I see each rectangle being drawn one-by-one - I had expected that with lockscreen se

Re: help with speedy graphics

2004-07-13 Thread Dar Scott
On Jul 13, 2004, at 5:45 PM, Alex Tweedly wrote: Any suggestions on the best way to do this ? I hear it is possible to put a shape at each corner of a polygon. Now, if those lines were transparent... Dar Scott ___ use-revolution mailing list [EMAIL PRO

Re: help with speedy graphics

2004-07-13 Thread Richard Gaskin
Alex Tweedly wrote: At 16:47 13/07/2004 -0700, Richard Gaskin wrote: Alex Tweedly wrote: The script (see below) uses (tries to use) templateGraphic to set the size and colour, but this doesn't seem to have any effect. It also uses lockscreen - but I see each rectangle being drawn one-by-one - I

Re: help with speedy graphics

2004-07-13 Thread Trevor DeVore
On Jul 13, 2004, at 5:39 PM, Alex Tweedly wrote: Cool - thanks. Adding the lock messages made this script OK - all the rectangles appear at the same time; but the clean-up script that deletes all these graphics when I'm done with them is problematic, even with lock screen and lock messages. Susp

Re: help with speedy graphics

2004-07-13 Thread Alex Tweedly
At 16:47 13/07/2004 -0700, Richard Gaskin wrote: Alex Tweedly wrote: The script (see below) uses (tries to use) templateGraphic to set the size and colour, but this doesn't seem to have any effect. It also uses lockscreen - but I see each rectangle being drawn one-by-one - I had expected that w

Re: help with speedy graphics

2004-07-13 Thread Richard Gaskin
Alex Tweedly wrote: The script (see below) uses (tries to use) templateGraphic to set the size and colour, but this doesn't seem to have any effect. It also uses lockscreen - but I see each rectangle being drawn one-by-one - I had expected that with lockscreen set, I would see nothing until all

help with speedy graphics

2004-07-13 Thread Alex Tweedly
There's a big question and a small question. Big one: I want to create a large number of shapes (probably rectangles) on the screen (somewhere in the 5-10,000 range) for a visualization application. Each rectangle represents one point in my dataset, they will all be the same size, but each will