Game Development Community

TGERad - Radiosity

by Prairie Games · in Torque Game Engine · 03/05/2003 (6:49 am) · 208 replies

EDIT:

TGERad - Radiosity for Torque using Paul Nettle's FSRad(http://www.fluidstudios.com)

I have posted the source to the TGERad stuff on my ActionRPG site...

You can snag it HERE.

Vibes,
-J
#181
07/28/2004 (7:26 am)
First, make sure you did a Release build, not a debug build. Release is about 10x faster at least.
Second, if you can live with less detail, you can play with the rad_subdivision_u and rad_subdivision_v properties in the worldspawn entity. Lower numbers are higher detail. I think the max is 32?? Must be multiple of 2 though. I use 16 for testing.
#182
07/28/2004 (11:49 am)
Thank. Yes. I have new release version, and speed is now very good. BUT. Now I dont know, compile Torque engine. Link result is:

Linking...
tsShape.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
tsShapeInstance.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
tsShapeOldRead.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
guiMLTextCtrl.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
interiorInstance.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
terrRender.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
tsMesh.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
convex.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
compiler.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
consoleInternal.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
materialList.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
../example/torqueDemo.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

... what now? (I have clean CVS 1.2.2 + tgerad src + tgerad043003.patch withouht any changes)

and second problem:

If I use ALT+L then all DIF lightmaps are brightnes. (portal is closed)
#183
07/30/2004 (1:49 pm)
Ah, you might want to try bumpmapping something with the TSE conversion to see if it works. I don't see how it will unless the lightmap mapping is identical to how FSRad maps them (doubtful).
#184
08/04/2004 (9:59 pm)
@AndyGFX:
Go into winmemory.cc I'm nearly sure that you will find the operator new in there commented. Uncomment it and Torque will compile fine. But remember that if you compile map2dif with radiosity again you have to comment it again.
#185
08/08/2004 (11:13 pm)
:) Yes, now I know it.
#186
08/09/2004 (3:15 am)
This isn't really a clean way. But I haven't found another one yet which really works.
#187
09/27/2004 (2:58 pm)
Sorry to be a muppet. but I just bought torque and would like to use Radiosity, is there a tutorial lying around?
#188
11/10/2004 (11:26 pm)
Hey, could someone post the fixes for the fstl/geom code in .NET 2003? Or at least shoot me an email with them?
#189
11/16/2004 (1:40 am)
Hi guys, is the one stated by Harold "LabRat" the latest? I second the motion with FruitBat. I need to see it myself. thanks much.
-roger
#190
11/23/2004 (10:49 am)
Has anyone got an updated patch file for 1.3?
#191
11/24/2004 (7:58 am)
@everyone

if you are monitoring this i would like to know :

1. is anyone using tgerad in tge 1.3 ?
2. can this live with the lightpack peacefully ?
3. anyone tried using it in tse ?
4. anyone used the seasons +celectial/daynight cycle resources with tgerad?
5. like in 4. but also with the lightpack

Warpy.
#192
11/24/2004 (10:44 am)
@Warpy:
1. Haven't tried it in 1.3 yet, I doubt it will be any real trouble using it.
Patching the 1.3 codebase might give errors, don't know yet.

2. According to John Kabus it should. I mailed him a while back and he replyed that it wouldn't cause a problem.
Intergrating the lighting pack with 1.3 causes trouble tough so you might want to wait to include that one ('till john fixes it).

3. Tim Ryness did, don't ask me how. GG is planning to implement some sort of rad solution in TSE eventually, wait for that one.

4. Shouldn't cause a problem since the code doesn't touch it.

5. dunno..... :)
#193
03/14/2005 (12:16 pm)
Ok time for another update ;)

has anyone got the info for putting this in for 1.3 and the lighting pack?

this thread is gigantic most of the links are dead and most of the info is out of date

is it still work using? i am told that the lighting pack has some of the same functionality? does it?


im hoping someone here still uses this and can give a brief explaination of how to install it, and working links for the downloads
#194
03/14/2005 (7:33 pm)
I have both working; it would take me a bit to document it however. The sole reason I keep the radiosity in is for the light transmitting textures; the rest of the time I turn rad off. In any case, I was also waiting to see what rad features get added to map2dif as Brian mentioned above before putting much more effort in.
What links are not working?
#195
03/22/2005 (7:26 pm)
Wow... All i can say is... WOW

That looks amazing compared to stock TGE rendering.

Nobody knows if it works with 1.3? (starter.fps as a base)
#196
03/23/2005 (6:04 am)
@Ed, read one post above :)
#197
04/01/2005 (3:24 am)
Anybody have the information needed to get this compiling in VS 2003.. I know Mark said awhile back there was issues with ANSI Compliance, but Im not totally familiar with alot of this yet
#198
09/26/2005 (10:32 am)
Is this working with 1.3 or 1.4rc2?
#199
12/04/2005 (4:52 pm)
Tge version 1.4 confimation...is it working?
#200
09/26/2006 (7:19 pm)
Anyone got a working download link?