Game Development Community

Two TQT files on one Atlas instance?

by Tim Holt · in Torque Game Engine Advanced · 06/16/2006 (11:52 am) · 1 replies

Curious if anyone's done any hacks to have two TQT images on one Atlas instance.

Basically what I want to do is use one TQT as the close up or ground view view of terrain, and a second one that fades in over distance is the distant or "tree top" view of the terrain.

Here are some smaller versions of how they'd look...

Ground Texture
www.fsl.orst.edu/lemma/gnnviz/images/ground_shaded.jpg
Treetop Texture
www.fsl.orst.edu/lemma/gnnviz/images/treetop_shaded.jpg
Then in the shader I'd use a distance calculation to decide how much ground or how much treetop texture to show. Running around on the ground, you see the ground texture as you should. Flying in the air, you see a more satellite/aerial view.

By the way, the treetop image is generated via software and puts a little tree "splat" where each fxFoliageReplicator tree will go (duplicated random number generator seed makes sure this is so).

Back to the initial question. First has anyone done a multiple TQT hack, and second does anyone know if it's possible at all?

#1
07/02/2006 (12:01 pm)
Atlas2 has support for multiple texture TOCs that can be paged on the fly.