
Realistic water scene node
As some people hade trouble D/L:ing the RealistictWaterSceneNode015.zip for Irrlicht 1.5 I decided to host it on my vps:
http://totmacher.eu/upload/RealisticWat ... ode015.zip
If this is not ok with any of the authors just send me an email at (@@thrthr aaaaatttttt gmail dooooottt com @@ (obfuscated for bots)) and I will remove it
http://totmacher.eu/upload/RealisticWat ... ode015.zip
If this is not ok with any of the authors just send me an email at (@@thrthr aaaaatttttt gmail dooooottt com @@ (obfuscated for bots)) and I will remove it
First: thank you very much for this feature!
it looks awesome !
But:
Is it possible to remove RealisticWaterSceneNode ?
I tried using both: delete (..) and smgr->addToDeletionQueue(..)
and it causes always a crash
Maybe the "registerNodeForRendering" shoud be first "unregistered" ?
or i don't know what....
If I use: myRealWater->setVisible(false); it disappears and the water shader is no more in use but the object stays still in memory right?
My problem is to create and delete numbers of RealisticWater-nodes dynamicly, is it (relative easy) possible ?
thank you
-mike
it looks awesome !
But:
Is it possible to remove RealisticWaterSceneNode ?
I tried using both: delete (..) and smgr->addToDeletionQueue(..)
and it causes always a crash

Maybe the "registerNodeForRendering" shoud be first "unregistered" ?
or i don't know what....

If I use: myRealWater->setVisible(false); it disappears and the water shader is no more in use but the object stays still in memory right?
My problem is to create and delete numbers of RealisticWater-nodes dynamicly, is it (relative easy) possible ?
thank you
-mike
Thank you very much !scene nodes require 'remove' not 'delete' or 'drop'.
I forgot completely to use "remove" ! (brr.. shame!)

For common nodes im using:
"smgr->addToDeletionQueue(....);"
and it works always, so I was confused as RealisticWater crashed.
Remove() helped , and now my nipples are all hard

nochmals danke!
-mike
doesnt work
this node does not make real reflections!
it just goes weird its as if it renders a second view from a camera!
it just goes weird its as if it renders a second view from a camera!
Hahaha loltrain i used JPGs which do not support transparency so i got really weird results. That will teach me not use any of that again.
1hour later
Excuse me anyone tried using a plain (only white or only black) texture as the thing???
Trust me you get verrrry weird results, i can post screenshots if anyone bothers to reply!
WTF!!! YOU CANT HAVE MORE THAN ONE OF THESE SCENE NODES!?!?!?
1hour later
Excuse me anyone tried using a plain (only white or only black) texture as the thing???
Trust me you get verrrry weird results, i can post screenshots if anyone bothers to reply!
WTF!!! YOU CANT HAVE MORE THAN ONE OF THESE SCENE NODES!?!?!?
I applied them one by one, they aren't mixed
I use xeffect like in examles and water scene node like in it's examples.
I have also changed: createRenderTargetTexture to addRenderTargetTexture

I have also changed: createRenderTargetTexture to addRenderTargetTexture
Code: Select all
RefractionMap=VideoDriver->addRenderTargetTexture(renderTargetSize);
ReflectionMap=VideoDriver->addRenderTargetTexture(renderTargetSize);
-
- Posts: 212
- Joined: Sun Jul 19, 2009 4:24 am
- Location: Netherlands Antilles, Curacao
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info