Realistic water scene node
Irr 1.4 and Water Node
Hello.
I been trying to make this node work with 1.4 and DEVCPP and have no clue on how to do it.
Since i was working on OPENGL only, i recompiled the dll so it could work on D3D also.
Now i get an exception pointing to this line of code:
Camera->setFarValue(CurrentCamera->getFarValue());
Any clue?
Should i rollback to 1.3? or can this work on 1.4?
Side Note: I tried the Realistic_WaterCC made by christianclavet, and i got some problems with that also, specifically with the addHillPlaneMesh fuction and also the same problem with getFarValue.
Thanks for any help you can give me
I been trying to make this node work with 1.4 and DEVCPP and have no clue on how to do it.
Since i was working on OPENGL only, i recompiled the dll so it could work on D3D also.
Now i get an exception pointing to this line of code:
Camera->setFarValue(CurrentCamera->getFarValue());
Any clue?
Should i rollback to 1.3? or can this work on 1.4?
Side Note: I tried the Realistic_WaterCC made by christianclavet, and i got some problems with that also, specifically with the addHillPlaneMesh fuction and also the same problem with getFarValue.
Thanks for any help you can give me
The sleeper must awaken!
i use Realistic_WaterCC,too.
It seems that you must set camerascenenode before u initialize the waterscenenode.i use vc2008 and irrlicht svn,the debug output infomation
tell me that mesh drop error!
thanks!
It seems that you must set camerascenenode before u initialize the waterscenenode.i use vc2008 and irrlicht svn,the debug output infomation
tell me that mesh drop error!
Code: Select all
bool drop() const
{
_IRR_DEBUG_BREAK_IF(ReferenceCounter <= 0) // someone is doing bad reference counting.
--ReferenceCounter;
if (!ReferenceCounter)
{
delete this; //exception here!help me!
return true;
}
return false;
}
new test error,message as follow:
Dumping objects ->
{1782} normal block at 0x043B2748, 1 bytes long.
Data: < > 00
{1781} normal block at 0x043B78C8, 80 bytes long.
Data: < 03 13 H'; > DC 30 33 10 0C 31 33 10 48 27 3B 04 01 00 00 00
{1760} normal block at 0x043B76B0, 112 bytes long.
Data: < > 18 00 00 00 FF FF FF FF FF FF FF FF 00 00 00 00
{1759} normal block at 0x043B70C8, 1 bytes long.
Data: < > 00
.\CSceneManager.cpp(484) : {1758} client block at 0x043B74F8, subtype 0, 376 bytes long.
Data: < 4 l 4 p; > A0 D1 34 10 6C D2 34 10 C8 70 3B 04 01 00 00 00
{1750} normal block at 0x043B2A00, 4 bytes long.
Data: < (; > F0 28 3B 04
.\CGeometryCreator.cpp(110) : {1749} client block at 0x043B7308, subtype 0, 64 bytes long.
Data: <8 3 T 3 *; > 38 95 33 10 54 95 33 10 00 2A 3B 04 01 00 00 00
{1748} normal block at 0x043B7110, 14 bytes long.
Data: < > 00 00 01 00 02 00 01 00 03 00 02 00 CD CD
{1745} normal block at 0x043B71D0, 252 bytes long.
Data: < @ > 00 40 9C C5 00 00 00 00 00 A0 9C C5 00 00 00 00
.\CGeometryCreator.cpp(45) : {1742} client block at 0x043B28F0, subtype 0, 208 bytes long.
Data: < 3 , 3 > C0 95 33 10 2C 96 33 10 CD CD CD CD 01 00 00 00
Object dump complete.
The program '[2164] REALWATER.exe: Native' has exited with code 0 (0x0).
how can i deal it?
Dumping objects ->
{1782} normal block at 0x043B2748, 1 bytes long.
Data: < > 00
{1781} normal block at 0x043B78C8, 80 bytes long.
Data: < 03 13 H'; > DC 30 33 10 0C 31 33 10 48 27 3B 04 01 00 00 00
{1760} normal block at 0x043B76B0, 112 bytes long.
Data: < > 18 00 00 00 FF FF FF FF FF FF FF FF 00 00 00 00
{1759} normal block at 0x043B70C8, 1 bytes long.
Data: < > 00
.\CSceneManager.cpp(484) : {1758} client block at 0x043B74F8, subtype 0, 376 bytes long.
Data: < 4 l 4 p; > A0 D1 34 10 6C D2 34 10 C8 70 3B 04 01 00 00 00
{1750} normal block at 0x043B2A00, 4 bytes long.
Data: < (; > F0 28 3B 04
.\CGeometryCreator.cpp(110) : {1749} client block at 0x043B7308, subtype 0, 64 bytes long.
Data: <8 3 T 3 *; > 38 95 33 10 54 95 33 10 00 2A 3B 04 01 00 00 00
{1748} normal block at 0x043B7110, 14 bytes long.
Data: < > 00 00 01 00 02 00 01 00 03 00 02 00 CD CD
{1745} normal block at 0x043B71D0, 252 bytes long.
Data: < @ > 00 40 9C C5 00 00 00 00 00 A0 9C C5 00 00 00 00
.\CGeometryCreator.cpp(45) : {1742} client block at 0x043B28F0, subtype 0, 208 bytes long.
Data: < 3 , 3 > C0 95 33 10 2C 96 33 10 CD CD CD CD 01 00 00 00
Object dump complete.
The program '[2164] REALWATER.exe: Native' has exited with code 0 (0x0).
how can i deal it?