Detail Textures
by Cory Anderson · in Torque Game Engine Advanced · 11/06/2007 (1:39 pm) · 3 replies
Is it possible to have more than one detail texture for one terrain block in TGEA? I am a TGE user, and investigating wether or not my team should upgrade to TGEA.
#2
www.aaronellis.net/gg/detailswapping.avi
Detail textures, bump map textures/offsets (in TGE proper) can be swapped out on the fly from weapon onFire scripts (as seen in the video), trigger zone scripts or the command console.
This isn't a perfect solution since the changes are instantly propagated from the host to all clients on a network. Even in a single-player game, sudden, drastic texture/parameter differences will be very noticeable. So, when crossing open ground, several hand-crafted blend textures would probably need to be called from nested trigger zones to keep the effect believable.
Eventually, I will look into ways to make this a client-side only effect. If there is enough interest, I may write up a code resource for it.
11/06/2007 (5:33 pm)
Depending on how you want to use detail textures in TGE/TGE-A terrain, detail texture switching in realtime is possible, with a few minor C++ changes. Here's a video link in xViD format AVI format . . .www.aaronellis.net/gg/detailswapping.avi
Detail textures, bump map textures/offsets (in TGE proper) can be swapped out on the fly from weapon onFire scripts (as seen in the video), trigger zone scripts or the command console.
This isn't a perfect solution since the changes are instantly propagated from the host to all clients on a network. Even in a single-player game, sudden, drastic texture/parameter differences will be very noticeable. So, when crossing open ground, several hand-crafted blend textures would probably need to be called from nested trigger zones to keep the effect believable.
Eventually, I will look into ways to make this a client-side only effect. If there is enough interest, I may write up a code resource for it.
#3
11/19/2007 (3:51 pm)
It is possible:), search for my posts and you ll see some of my work that I am continuing to update, and port to Atlas, although i haven't had much time, it will get done:)
Torque Owner Stephan - viKKing - Bondier
The Atlas terrain being handled differently, I would say yes, the detail being included in the full texturing process: painted at the same time.
It needs to be confirmed though.