Realistic water scene node
I am using Dev-Cpp and im getting this error:
[Linker error] undefined reference to `RealisticWaterSceneNode::RealisticWaterSceneNode(irr::scene::ISceneManager*, float, float, irr::video::ITexture*, irr::ITimer*, irr::core::dimension2d<int>, irr::scene::ISceneNode*, int)'
Code that i use:
RealisticWaterSceneNode* Water = new RealisticWaterSceneNode(smgr, 10.0f, 10.0f,
driver->getTexture("../data/waterbump.png"), device->getTimer());
What is wrong??
[Linker error] undefined reference to `RealisticWaterSceneNode::RealisticWaterSceneNode(irr::scene::ISceneManager*, float, float, irr::video::ITexture*, irr::ITimer*, irr::core::dimension2d<int>, irr::scene::ISceneNode*, int)'
Code that i use:
RealisticWaterSceneNode* Water = new RealisticWaterSceneNode(smgr, 10.0f, 10.0f,
driver->getTexture("../data/waterbump.png"), device->getTimer());
What is wrong??
Nerexis
Sorry for bad English.
Sorry for bad English.
-
- Posts: 18
- Joined: Sat Nov 17, 2007 11:34 am
-
- Posts: 70
- Joined: Tue Oct 28, 2008 12:59 pm
Code: Select all
http://www.mediafire.com/file/n2ii2dzftwi/RealisticWaterSceneNode.rar
oops...
anyway works fine for me... except the GL support...
I'am using irrlicht 1.5 and had quite some bugs with the hillPlaneMesh and so forth... I added a Visual Studio 2005 (VC8) solution for everyone tired of compiler errors...
download VC8 solution
great work elvman &thanks = Christian Clavet;
I notice that there's still distortion where refractive geometry intersect the bottom edge of the viewport. I believe this is due to the rendertarget being a different size to the backbuffer.
If you create your rendertarget to be the same dimension as the backbuffer this should solve this issue. I believe Irrlicht 1.5 has enhanced support for rendertargets.
If you create your rendertarget to be the same dimension as the backbuffer this should solve this issue. I believe Irrlicht 1.5 has enhanced support for rendertargets.
Irrlicht Demos: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=45781
Code: Select all
RealisticWaterSceneNode* Water=new RealisticWaterSceneNode(
smgr,
100.0f,
100.0f,
driver->getTexture("../data/waterbump.png"),
device->getTimer(),
core::dimension2di(1600,1200));
RealisticWaterSceneNode for 1.5 and OpenGL/D3D9 support.
screenshot
OpenGL
D3D9
Binary & SourceCode
http://www.geocities.com/zaros64/Realis ... ode015.zip
Thaks.
screenshot
OpenGL
D3D9
Binary & SourceCode
http://www.geocities.com/zaros64/Realis ... ode015.zip
Thaks.