Hello Christopher, Thanks for taking the time to reply.
They are indeed grids of identical objects (for now circles or rounded and rotated rectangles, in the future perhaps also other shapes) Think about a superposition of one regular 10x10 grid with 100 identical objects, and another 40x50 grid with 200 identical objects (but different from the first 100)). Grids can be hidden/shown selectively (each grid has its own layer). Grids can have missing objects (gaps) too. My intention is to allow the user to select a subset of objects in a grid and allow to mark these as invisible (or edit other properties associated to those objects). I had grouped the objects belonging to one grid under one common group node already, but that's not what you had in mind when you proposed to make a new type of object, not? I think you mean adding a new constructor? Or do you mean using the render_to_surface infrastructure? I'll have to try that out. Thanks for the tip. The 65536 is the theoretical max no of objects that my scene could contain - so I tried with an extreme case. In most realistic cases I probably needn't show more than 400 objects or less (which is still quite slow to add to the canvas - 40 seconds or so, didn't exactly time yet.). I do have examples, however, in my problem domain, that require 60000 objects to be defined, so it's not like I was just stress-testing for fun. Best regards, Stefaan. Christopher Barker wrote: > shi wrote: >> Sorry if this message appears more than once, >> for some reason the previous two attempts didn't seem to arrive. > > I did get it twice... > > Nitro is the one to really answer this, but: > >> To keep a long story short I >> added 60000 objects to the canvas, went to the shop, got back home, >> and then killed the process. > > 60000 is a LOT! What are they -- could you group them into some kind of > a compound object instead? For instance, if you have 2000 points, you > can have pointset object, and you'd only be adding one object to the > canvas for all the points. > > Just a thought, > > -Chris > > > _______________________________________________ FloatCanvas mailing list [email protected] http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
