Water Flow
by Howard Dortch · in Torque Game Engine · 05/12/2005 (2:47 pm) · 5 replies
Before you tell me to search the forums, I did
I have a lava that just needs to be static or move reallllllly slow. I have tried every setting I know and nothing can stop the flow or movement (apparent) of the texture over the surface. Acts like the U,V map is being scrolled with some minimal values but I can't find that in the engine.
How can I stop the texture scroll?
I have a lava that just needs to be static or move reallllllly slow. I have tried every setting I know and nothing can stop the flow or movement (apparent) of the texture over the surface. Acts like the U,V map is being scrolled with some minimal values but I can't find that in the engine.
How can I stop the texture scroll?
#2
waveMagnitude = "0";
FlowAngle = "0";
FlowRate = "0";
DistortGridScale = "0";
DistortMag = "0";
DistortTime = "100";
Seemed to me FlowRate should do it but not being well versed in the naming conventions used by GG it's hard to tell.
05/12/2005 (7:02 pm)
Yeah I tried to read but apparently Im just too stupid.waveMagnitude = "0";
FlowAngle = "0";
FlowRate = "0";
DistortGridScale = "0";
DistortMag = "0";
DistortTime = "100";
Seemed to me FlowRate should do it but not being well versed in the naming conventions used by GG it's hard to tell.
#3
05/12/2005 (7:45 pm)
What is "UseDepthMask" set to. it seems in the code if this is false then it ignores flowrate and uses the define BASE_DRIFT_RATE which is set to 0.02f. see fluid::Render in fluidRender.cc
#4
I'll look in the engine for that. Hard to relate depth with flow.
05/12/2005 (9:06 pm)
Depth mask is set to 0 I found when I set it on the texture would not render.I'll look in the engine for that. Hard to relate depth with flow.
#5
05/13/2005 (3:32 pm)
Thanks for the help Cameron, I modified the engine and got it working.
Associate Kyle Carter