Re: [CsMain] csfxFadeTo() behind the meshes
Jorrit Tyberghein <[email protected]> Wed, 18 Apr 2012 10:07:12 +0200
| Newsgroups | gmane.comp.graphics.crystalspace.general |
|---|---|
| Message-ID | <CAA49VVJjALWx92y6UG0kBWAHabuak-KFd-pQFBc50e-YV5zZ7w@mail.gmail.com> |
I'm guessing you are drawing the texture at the wrong time. But without seeing source code it is hard to judge. Greetings, On Wed, Apr 18, 2012 at 10:01 AM, Christophe ILLY <[email protected] > wrote: > Hello Crystalspace team, > For a game, I need to display an overlay texture above everything else > on the screen, with variable opacity. I found the function csfxFadeTo() > in walktest (F6 command). I wanted to try it in a minimal code example, > so took the Simple1 tuto. It works well, the texture is actually > displayed, but unlike in walktest : > > - this csfxFadeTo() texture is on the background (I mean behind all > meshes) instead of the foreground. Any idea on how to set it above any > mesh? Or maybe some advice about another way for such overlay feature? > > I just added the csfxFadeTo() call and some minimal code to get a > iTextureHandler for the parameter. The texture is well dispayed, apart > from this z-order problem. - CS v1.4.0, Visual c++ 2008, Windows 7 > > Thanks in advance ! > - > Christophe > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Crystal-main mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/crystal-main > Unsubscribe: mailto:[email protected] > ?subject=unsubscribe > -- Project Manager of Crystal Space (http://www.crystalspace3d.org) and CEL (http://cel.crystalspace3d.org) Support Crystal Space. Donate at https://sourceforge.net/donate/index.php?group_id=649 Personal page: http://users.telenet.be/jorritTyberghein/ ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[email protected]?subject=unsubscribe