Game Development Community

Decal Projector TGEA R1

by JPaxson · in Torque Game Engine Advanced · 02/23/2007 (1:58 pm) · 10 replies

Hello,

TGEA R1. Decal projector does not work on atlas\atlas2 terrains. Is this working as intended or is it a bug?

#1
02/26/2007 (10:03 am)
Hmm, good catch - that's definitely a bug.

There are two calls to castRay in lightingSystem/sgDecalProjector.cc, changing the object mask in those calls to InteriorObjectType | TerrainObjectType | AtlasObjectType will fix it.
#2
02/27/2007 (8:49 am)
Thanks for the reply, John. I figured it out.
#3
02/27/2007 (9:20 am)
Is this fixed in 1.0? If not, can you post a fix Brett?

www.linkedin.com/img/webpromo/btn_viewmy_160x25.gif

www.mmogamedev.info/images/imgdc_ad1.gif
#4
02/28/2007 (11:39 am)
Quote:There are two calls to castRay in lightingSystem/sgDecalProjector.cc, changing the object mask in those calls to InteriorObjectType | TerrainObjectType | AtlasObjectType will fix it.

That is the fix.
#5
03/27/2007 (12:46 pm)
Uhm, not practical with code..
Can you post the line before changing it and after changing it?
Don't wanna make something wrong :/

Tnx ;)
JoZ.
#6
03/27/2007 (12:49 pm)
Sorry, looking at it better I found it very easy... forgive me :)
JoZ
#7
04/03/2007 (8:59 pm)
Looks to be fixed in 1.01 goto your downloads and get it
#8
04/04/2007 (3:01 am)
Tnx James, anyway I've yet figure out about it, looking better was so easy...
Just one question...
There's a list somewhere of the fixes in TGEA 1.01 ?

Tnx :)
#9
04/04/2007 (8:17 am)
Http://www.garagegames.com/mg/forums/result.thread.php?qt=60089
#10
04/04/2007 (1:27 pm)
Tnx Thomas...
By the way... I have an old fridge I don't use anymore, if you want I can give it to you for free, now the winter is gone and I'm seriously worried for your health... LOL !!! :)
JoZ