Hi, > Hi Bruno, > > On Mon, 2006-04-03 at 19:10 +0100, Bruno Marques wrote: > > Hi, > > > > I needed to do a similar thing. I also have a viewport that fades in > > and out. The solution I've found (it might not be the best) was to add > > a third viewport that stays between the other two viewports in which > > is rendered a rectangle (that covers all the window). After that you > > just have to vary the transparency of that rectangle. That's all > > assuming you're using DepthClearBackground's. > > you can probably get the same effect easier by using a PolygonForeground > on your first viewport and change the transparency of that. > > However, as Toni is doing Augmented Reality I'm assuming he wants to > blend the foreground, not the background. For that you need to render > into a texture that can be blended... >
Exactly ;) So I got to render into a texture. Will try to find some code. Any pointer for the start? Thank's Bruno & Dirk, Toni ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
