Game Development Community

TGE water upgrade?

by Brett Johnson · in Torque Game Engine · 11/10/2007 (7:45 am) · 5 replies

I'm very new to Torque (although I've had it for quite a long time and haven't found time to learn to use it. Well now that I have time I was browsing through the website and I found a TGE water upgrade (http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10357)

And for me the directions seem a bit unclear. I don't know where to install the patch, how to get it to work, or "After installing it you must modify the TGE project to include the Cg/lib and Cg/include folders to the library paths and the include paths, respectively." Basically, i'm new and I don't know what this means, can anyone explain the directions?

#1
11/10/2007 (2:12 pm)
Depends on your compiler.

If you are using VS2005,
goto Project->Properties
Under Configuration Properties -> C/C++ add the "../cg/include" directory to Additional Include Directories
Under Configuration Properties -> Linker add the "../cg/lib" directory to the Additional Library Directories.

That should work.

Note: for the "../cg" path to be correct, you will need to copy the files from C:\Program Files\NVIDIA Corporation\Cg\lib and C:\Program Files\NVIDIA Corporation\Cg\include (default install directory) to cg\lib and cg\include in your project directory.

Edit: you may want to use www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10830 it is updated for 1.5
#2
11/10/2007 (3:30 pm)
Sorry to say i use an even onlder vusual studios , visual c++ .NET 2003! very.... old, but hopefully i would be doing the same thing or would the files names be more primitive? Also i only have torque 1.42 so the other water will do fine for me although i like the other more. Thanks for all the information, but becuase im a beginer i have to ask how do i copy the files into my project derectory and how do i acces the project derectory? Is it the console?
#3
01/02/2008 (4:10 pm)
You should try the modernization kit...

http://www.garagegames.com/mg/forums/result.thread.php?qt=63991
#4
04/05/2008 (12:01 pm)
CG is good, but if you really want the eye-candy, go with the modernization kit!
#5
08/31/2008 (2:37 pm)
Thirding the modernization kit. Add a refraction value of say 512 to your water block and enabling the shader once the modernization kit is embedded into TGE basically gives you that watery goodness you'd expect to see in more expensive engines. It's just about as good-looking as TGEA's IMO.