Re: canvas notes

2005-11-01 Thread Juhana Sadeharju
Hello. I did read this nearly two months old discussion. It would be nice to have one scenegraph. Such scenegraph can handle both 3D and 2D. See modern game engines how they handle 3D and 2D renderings. GTK already has a some sort of scenegraph built-in, because one can trace all widgets startin

Re: canvas notes

2005-09-12 Thread Alexander Larsson
On Sat, 2005-09-10 at 13:03 +1000, Russell Shaw wrote: > Havoc Pennington wrote: > > On Fri, 2005-09-09 at 09:53 +0200, Alexander Larsson wrote: > > > >>* OpenGL > > > > Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be > > able to mix OpenGL and Cairo at will, but it isn't c

Re: canvas notes

2005-09-12 Thread Alexander Larsson
On Fri, 2005-09-09 at 20:23 -0400, Havoc Pennington wrote: > On Fri, 2005-09-09 at 09:53 +0200, Alexander Larsson wrote: > > * OpenGL > > Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be > able to mix OpenGL and Cairo at will, but it isn't clear to me what that > really means

Re: canvas notes

2005-09-10 Thread Benoit Carpentier
Hi, That's what I think also about 3D and printing too. [For my own needs I develop a GtkPrinter widget (because it does not exist on GTK+) for Windows 32. Several developers use it, even if it has few functions for the moment. I dream about a such GtkPrinter for GTK+, for Win 32 and, also Linux/U

Re: canvas notes

2005-09-10 Thread Havoc Pennington
On Sat, 2005-09-10 at 10:29 +0100, Damon Chaplin wrote: > On Fri, 2005-09-09 at 20:23 -0400, Havoc Pennington wrote: > > On Fri, 2005-09-09 at 09:53 +0200, Alexander Larsson wrote: > > > * OpenGL > > > > Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be > > able to mix OpenGL

Re: canvas notes

2005-09-10 Thread Gustavo J. A. M. Carneiro
On Sat, 2005-09-10 at 10:29 +0100, Damon Chaplin wrote: > On Fri, 2005-09-09 at 20:23 -0400, Havoc Pennington wrote: > > On Fri, 2005-09-09 at 09:53 +0200, Alexander Larsson wrote: > > > * OpenGL > > > > Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be > > able to mix OpenGL

Re: canvas notes

2005-09-10 Thread Jean Bréfort
Le samedi 10 septembre 2005 à 10:29 +0100, Damon Chaplin a écrit : > On Fri, 2005-09-09 at 20:23 -0400, Havoc Pennington wrote: > > On Fri, 2005-09-09 at 09:53 +0200, Alexander Larsson wrote: > > > * OpenGL > > > > Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be > > able to

Re: canvas notes

2005-09-10 Thread Damon Chaplin
On Fri, 2005-09-09 at 20:23 -0400, Havoc Pennington wrote: > On Fri, 2005-09-09 at 09:53 +0200, Alexander Larsson wrote: > > * OpenGL > > Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be > able to mix OpenGL and Cairo at will, but it isn't clear to me what that > really means

Re: canvas notes

2005-09-09 Thread david . bellot
>> >> Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be >> able to mix OpenGL and Cairo at will, but it isn't clear to me what that >> really means. > 3d scenegraphs are still another problem. I'm not sure one wants to have 3d and 2d capabilities in the same framework. I kno

Re: canvas notes

2005-09-09 Thread Russell Shaw
Havoc Pennington wrote: On Fri, 2005-09-09 at 09:53 +0200, Alexander Larsson wrote: * OpenGL Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be able to mix OpenGL and Cairo at will, but it isn't clear to me what that really means. Kind of a similar question to is a compos

Re: canvas notes

2005-09-09 Thread Havoc Pennington
On Fri, 2005-09-09 at 09:53 +0200, Alexander Larsson wrote: > * OpenGL Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be able to mix OpenGL and Cairo at will, but it isn't clear to me what that really means. Kind of a similar question to is a compositing manager best done wit

Re: canvas notes

2005-09-09 Thread Alexander Larsson
On Thu, 2005-09-08 at 19:51 +0100, Roger Leigh wrote: > > I think the point is that the simple approach doesn't deal with arbitrary > > transformations. > > Now GTK+ is using Cairo for drawing, couldn't the widgets themselves > be turned into canvas items? That would be awesome. I'm not sure exa

Re: canvas notes [zoom dependent container]

2005-09-09 Thread Alexander Larsson
On Thu, 2005-09-08 at 14:35 -0400, Havoc Pennington wrote: > Piccolo does have this feature, so it might be interesting to look at > that. Also one of their demos has a "lens" item, where some items are > only visible if they are intersecting the "lens" ; not sure how that > demo works, but it seem

Re: canvas notes [zoom dependent container]

2005-09-09 Thread Alexander Larsson
On Thu, 2005-09-08 at 20:49 +0200, Øyvind Kolås wrote: > On 9/8/05, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> wrote: > > The way I see it, you would always have only one item, which just > > happens to draw more stuff if zoom level allows it. Or you could have a > > single item but with items

scalable canvas a11y [was Re: canvas notes]

2005-09-08 Thread Bill Haneman
A number of interesting issues get raised when one talks about scalable canvases, especially when the complexity of the rendered content changes with 'zoom level'. It may be important to distinguish between scaled-canvas-size, and notional "zoom level". For instance, a user with poor vision m

Re: canvas notes

2005-09-08 Thread Roger Leigh
"muppet" <[EMAIL PROTECTED]> writes: > Gustavo J. A. M. Carneiro said: >> On Wed, 2005-09-07 at 16:54 +0200, Alexander Larsson wrote: >>> On Mon, 2005-08-15 at 02:38 -0400, Havoc Pennington wrote: >>> > 4. Widget embedding. Absolutely critical to using the canvas >>> >for real-world UI. The wi

Re: canvas notes [zoom dependent container]

2005-09-08 Thread Øyvind Kolås
On 9/8/05, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> wrote: > The way I see it, you would always have only one item, which just > happens to draw more stuff if zoom level allows it. Or you could have a > single item but with items inside, as sub-items, that are made visible > at some point. B

Re: canvas notes [zoom dependent container]

2005-09-08 Thread Havoc Pennington
Piccolo does have this feature, so it might be interesting to look at that. Also one of their demos has a "lens" item, where some items are only visible if they are intersecting the "lens" ; not sure how that demo works, but it seems like it may be interesting to find out. Havoc

Re: canvas notes [zoom dependent container]

2005-09-08 Thread Øyvind Kolås
> > On Thu, 2005-09-08 at 14:31 +0200, Alexander Larsson wrote: > depending on zoom factor) things break. I mean, if you show two views of > the same canvas, one with a large zoom factor and one with a small zoom > factor, does the child item get added? s/added/rendered/ at least for the canvas fo

Re: canvas notes [zoom dependent container]

2005-09-08 Thread Gustavo J. A. M. Carneiro
On Thu, 2005-09-08 at 19:16 +0200, Alexander Larsson wrote: > On Thu, 2005-09-08 at 17:00 +0100, Gustavo J. A. M. Carneiro wrote: > > On Thu, 2005-09-08 at 14:31 +0200, Alexander Larsson wrote: > > > > At some level this is perfectly fine, however when you start to change > > > the geometry (i.e.

Re: canvas notes [zoom dependent container]

2005-09-08 Thread Alexander Larsson
On Thu, 2005-09-08 at 17:00 +0100, Gustavo J. A. M. Carneiro wrote: > On Thu, 2005-09-08 at 14:31 +0200, Alexander Larsson wrote: > > At some level this is perfectly fine, however when you start to change > > the geometry (i.e. the size, position and number of canvas items) things > > get really h

Re: canvas notes

2005-09-08 Thread Alexander Larsson
On Thu, 2005-09-08 at 17:05 +0100, Gustavo J. A. M. Carneiro wrote: > > > > In my initial thinking about this and talking to various people about it > > i've notived that this is pretty essential for a usable canvas: > > > > > 4. Widget embedding. Absolutely critical to using the canvas > > >

Re: canvas notes

2005-09-08 Thread muppet
Gustavo J. A. M. Carneiro said: > On Wed, 2005-09-07 at 16:54 +0200, Alexander Larsson wrote: >> On Mon, 2005-08-15 at 02:38 -0400, Havoc Pennington wrote: >> > 4. Widget embedding. Absolutely critical to using the canvas >> >for real-world UI. The widget embedding can't be broken >> >as i

Re: canvas notes

2005-09-08 Thread Gustavo J. A. M. Carneiro
On Wed, 2005-09-07 at 16:54 +0200, Alexander Larsson wrote: > On Mon, 2005-08-15 at 02:38 -0400, Havoc Pennington wrote: > > Hi, > > > > Been thinking about canvas widgets a little this weekend, thought I'd > > write down some notes. Some people are doubtless way ahead of me. > > Just dropping a

Re: canvas notes [zoom dependent container]

2005-09-08 Thread Gustavo J. A. M. Carneiro
On Thu, 2005-09-08 at 14:31 +0200, Alexander Larsson wrote: > On Thu, 2005-09-08 at 09:30 +0200, Øyvind Kolås wrote: > > > > When playing around with some zoomable canvas prototypes using cairo > > earlier, I created a canvas container element that acted as a switch. > > At one zoom level it was s

Re: canvas notes [zoom dependent container]

2005-09-08 Thread Alexander Larsson
On Thu, 2005-09-08 at 09:30 +0200, Øyvind Kolås wrote: > > When playing around with some zoomable canvas prototypes using cairo > earlier, I created a canvas container element that acted as a switch. > At one zoom level it was showing one set of children, and when zoomed > beyond a defined thresho

Re: canvas notes [zoom dependent container]

2005-09-08 Thread Øyvind Kolås
On 8/23/05, Arjan Molenaar <[EMAIL PROTECTED]> wrote: > Quoting Alexander Larsson <[EMAIL PROTECTED]>: > > On Mon, 2005-08-15 at 20:06 +0200, Soeren Sandmann wrote: > >> Havoc Pennington <[EMAIL PROTECTED]> writes: > >> > >> > So random thoughts. > >> > >> A few more random thoughts: > >> > >> - Zo

Re: canvas notes

2005-09-07 Thread Alexander Larsson
On Mon, 2005-08-15 at 02:38 -0400, Havoc Pennington wrote: > Hi, > > Been thinking about canvas widgets a little this weekend, thought I'd > write down some notes. Some people are doubtless way ahead of me. Just dropping a note to say I'm planning to work on this. I've started looking at various

Re: canvas notes

2005-08-25 Thread Arjan Molenaar
Quoting Alexander Larsson <[EMAIL PROTECTED]>: On Mon, 2005-08-15 at 20:06 +0200, Soeren Sandmann wrote: Havoc Pennington <[EMAIL PROTECTED]> writes: > So random thoughts. A few more random thoughts: - Zooming is more than just setting a transformation matrix because the reason you want to

Re: canvas notes

2005-08-23 Thread Alexander Larsson
On Mon, 2005-08-15 at 20:06 +0200, Soeren Sandmann wrote: > Havoc Pennington <[EMAIL PROTECTED]> writes: > > > So random thoughts. > > A few more random thoughts: > > - Zooming is more than just setting a transformation matrix because > the reason you want to zoom is to see more details. So som

Re: canvas notes

2005-08-15 Thread Havoc Pennington
On Mon, 2005-08-15 at 20:06 +0200, Soeren Sandmann wrote: > Havoc Pennington <[EMAIL PROTECTED]> writes: > > > So random thoughts. > > A few more random thoughts: > All good stuff, Piccolo and Java3D have some ideas here - > - Zooming is more than just setting a transformation matrix because >

Re: canvas notes

2005-08-15 Thread Soeren Sandmann
Havoc Pennington <[EMAIL PROTECTED]> writes: > So random thoughts. A few more random thoughts: - Ability for one canvas to view more than one model at the same time is useful so that you can have eg., the coordinate axes and the graph be separate models for a graphing display. - Zooming is

Re: canvas notes

2005-08-15 Thread Jean Bréfort
Le lundi 15 août 2005 à 02:38 -0400, Havoc Pennington a écrit : > Hi, > > Been thinking about canvas widgets a little this weekend, thought I'd > write down some notes. Some people are doubtless way ahead of me. > > This isn't very organized. Summary of this mail is that GnomeCanvas was > missing

canvas notes

2005-08-14 Thread Havoc Pennington
Hi, Been thinking about canvas widgets a little this weekend, thought I'd write down some notes. Some people are doubtless way ahead of me. This isn't very organized. Summary of this mail is that GnomeCanvas was missing some very useful features a canvas can have, so I was underestimating the val