Footprints and Fog
by Derk Adams · in Torque Game Engine · 03/02/2006 (11:03 am) · 2 replies
Greetings,
I have found a bug and am willing to fix it if someone can point me in the right direction.
In my game there are some heavy fog areas in the magnitude of 75 meters in front of the player (you pretty much can't see beyond the distance of the terrain detail). Now, the other player objects are hidden well enough, but their footprints show up. While this is a neat effect, it is not exactly the best thing to have in the game.
Should I alter the player objects on putting down footprint decals, or should there be a check in the decalManager and fade the decal based on fog levels? If you can point me to fog checks for other objects to deconstruct the code it would be helpful.
Thanks.
P.S. I'm using Torque 1.4
I have found a bug and am willing to fix it if someone can point me in the right direction.
In my game there are some heavy fog areas in the magnitude of 75 meters in front of the player (you pretty much can't see beyond the distance of the terrain detail). Now, the other player objects are hidden well enough, but their footprints show up. While this is a neat effect, it is not exactly the best thing to have in the game.
Should I alter the player objects on putting down footprint decals, or should there be a check in the decalManager and fade the decal based on fog levels? If you can point me to fog checks for other objects to deconstruct the code it would be helpful.
Thanks.
P.S. I'm using Torque 1.4
About the author
#2
@all
Just wanted to express my shared intrest in this thread, as I've been playing with fog, and decals are on next weeks list.
@Derk
Good bug catch - I'll have to try this tonight!
03/08/2006 (4:25 pm)
*bump*@all
Just wanted to express my shared intrest in this thread, as I've been playing with fog, and decals are on next weeks list.
@Derk
Good bug catch - I'll have to try this tonight!
Torque Owner Derk Adams
Any pointers?
Thanks.