Search found 4 matches

by hanswurst
Sat Mar 31, 2007 6:43 pm
Forum: Code Snippets
Topic: (C++)Irrlicht 1.1 : Fake Glow,Dream and Night Vision
Replies: 77
Views: 50316

To be sure, i tried all available renderer, used a "fresh" FPS-Camera, but no Effect appears. There are 3 possibilities left: - either my code is wrong, - effects are incompatible with 1.3 (actually impossible), or - i don't understand that OnAnimate() function right, and that this is the ...
by hanswurst
Sat Mar 31, 2007 5:59 pm
Forum: Code Snippets
Topic: (C++)Irrlicht 1.1 : Fake Glow,Dream and Night Vision
Replies: 77
Views: 50316

Found that out too.
I even commented it out....doesn't change anything.
As far as i understand it, OnAnimate() is called before everything is rendered (like OnPreRender() did). So, what is the argument for? I don't get it :?
by hanswurst
Sat Mar 31, 2007 5:41 pm
Forum: Code Snippets
Topic: (C++)Irrlicht 1.1 : Fake Glow,Dream and Night Vision
Replies: 77
Views: 50316

OK, sorry.

I put that switch/case thing at the wrong place. it has to be called directly after beginScene().

Now the screen is not turning black anymore, instead nothing happens when trying to use on of the effects. :roll:
by hanswurst
Sat Mar 31, 2007 5:32 pm
Forum: Code Snippets
Topic: (C++)Irrlicht 1.1 : Fake Glow,Dream and Night Vision
Replies: 77
Views: 50316

Hi 7h0mm4y, i'm also having the same problem. I used Simsons updated code. Now it's not crashing my app anymore, but when i try to activate one of the effects my whole Scene is just getting black until i call RenderNothing(). I think it has something to do with the new OnAnimate()-function. I don't ...