gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz] Background


From: Benja Fallenstein
Subject: Re: [Gzz] Background
Date: Wed, 04 Sep 2002 18:28:19 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3

Tuomas Lukka wrote:

The official way to set the background color now is that the *Shower*,
in generate() puts a SolidBgVob (or later also ImageBgVob or others) with
the desired color into the vobscene first, at a large depth. (It should
be coordless, but that's difficult for AWT).

Uh, why? If you place it into coordset 0, it gets sorted so that it is drawn as the very first thing, no matter what its depth coord is, IF you don't have any other vob in cs 0.

Is that so? Coordset 0 is "beginning"? Doesn't get depth sorted?


It is the "beginning." It *does* get depth-sorted.

The depth sorter is per coordsys: first the coordsys is drawn, then all coordsys inside it in depth order, then the next coordsys inside the same parent.

1) do we want that?


I definitely think so. a) All stuff inside a cell should be drawn at the same time. b) Things inside a cell should be able to have different depths. This mandates the system outlined above.

2) if yes, we need to document it as part of the API.


Ok.

The difficult part seems to be bg fading? That is done in OrthoRenderInfo if it is passed the correct bg color when it is created, which needs to be done in OrthoCoorder (search for "new OrthoRenderInfo").

Ah, true. Maybe should simply look through coordset 0 for BgVob.


Yes, probably.
-b.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]