Game Development Community

[Major BUG 1.1beta1] UV Texture Tiling not working

by Stadi Thompson · in Torque 3D Professional · 02/22/2010 (5:05 pm) · 2 replies

I have attached a file along with images of the bug. When you open the file in 1.1 Alpha it works perfectly, if you open the file in Beta 1.1 it doesn't read the UV tiling infomation.

file in ALPHA 1.1
www.therepopulation.com/bug/uv_alpha.JPG

same file in BETA 1.1
www.therepopulation.com/bug/uv_beta.JPG
download the file
UV Bug in Beta1.1 file


if there is a quick fix please let us know, thank you.

#1
02/23/2010 (1:00 am)
In colladaExtensions.h, around line 143, change the initial value of lastAnimTime to TSShapeLoader::DefaultTime-1 as shown below:

public:
   ColladaExtension_effect(const domEffect* effect)
      : lastAnimTime(TSShapeLoader::DefaultTime-1), textureTransform(true), bumpSampler(0)
   {
#2
02/23/2010 (1:57 am)
Works like a charm, thank you so much!