On 5 May 2012 09:39, Martin Drautzburg <[email protected]> wrote: > On Saturday, 5. May 2012 02:38:11 Igor Stasenko wrote: >> On 5 May 2012 01:43, Martin Drautzburg <[email protected]> wrote: >> > On Saturday, 5. May 2012 00:17:09 Igor Stasenko wrote: >> >> may i ask you, what is your plans? >> >> say, you want to implement a particle system which can be animated at >> >> decent frame rate, >> >> or something more complex? >> > >> > No much simpler. All I am doing is some sort of gantt chart. I thought >> > smoth- scrolling would be cool, so I implemented it. But it just doesn't >> > look as smooth as an iPad (but pretty smoth nontheless) >> >> but you can cheat. >> look at ipad/imac zooming interface.. when you zoom in, it doesn't >> redraws the whole >> desktop each frame. it just captures screenshoot and zooms that image >> instead (with nice filtering of course).. and only when you stop >> zooming, it redraws everything at new scale. > > Where would I have to look, when I want to do somehting like this? I had some > hope in CachingMorph and I replaced my smooth scrolling RectangleMorph with a > CachingMorph, but that froze everything, so it is probably not as simple as > that.
i dont think there is something like that. what you need is to create a large Form and then draw your scene there. form := Form extent: ... depth:.. . canvas := form getCanvas. self drawFullSceneOn: canvas then you just use rendered result for drawing on screen: drawOn: canvas canvas drawImage: form at: self origin + scrollamount someething like that. > -- > Martin > -- Best regards, Igor Stasenko.
