.Ter from TGEA demo to TorqueX builder texture problem
by Brian Doyle · in Torque X 3D · 04/23/2009 (7:22 pm) · 6 replies
I'm having a problem importing a .ter created with the TGEA demo into a level created with the TorqueX 3d beta builder. Below is a screenshot:
[IMG]http://i41.tinypic.com/2djt8nt.png[/IMG]
http://tinypic.com/view.php?pic=2djt8nt&s=5
The textures are not in the right place and some appear corrupted. For example, the grass should be on the banks of the river in the left and the black spot surrounded by yellow should be in the valley at the center of the screen and should be silver in color.
Anyone have any ideas? We did this once before and it worked fine.
Thanks,
Brian
[IMG]http://i41.tinypic.com/2djt8nt.png[/IMG]
http://tinypic.com/view.php?pic=2djt8nt&s=5
The textures are not in the right place and some appear corrupted. For example, the grass should be on the banks of the river in the left and the black spot surrounded by yellow should be in the valley at the center of the screen and should be silver in color.
Anyone have any ideas? We did this once before and it worked fine.
Thanks,
Brian
#2
04/24/2009 (8:26 am)
As far as I know everything was done exactly the same.
#3
04/24/2009 (9:45 am)
Ok, the problem seems to be that it gets unhappy if you use more than three textures. Any ideas how to resolve this?
#4
The reason I say 512 X 512 or lower is because that's all that torque x will support (at least to my knowledge)
04/24/2009 (12:24 pm)
Hmm.. make sure all of your textures are a power of two and less than or equal to 512 X 512.. and if that doesn't work, try compositing them all together.The reason I say 512 X 512 or lower is because that's all that torque x will support (at least to my knowledge)
#5
04/24/2009 (1:00 pm)
Could it be that using the TGEA "demo" to create your terrain limits the amount of textures you can apply to a TER file because it is only a demo version?
#6
I think you would need to do rework on the code in TX's terrain engine to make it deal with more than 4 textures including the shader that is used by the terrain engine.
04/26/2009 (10:16 am)
There is a hard coded limit of four textures on terrain in TX. The problems you're seeing are most likely caused by the fact the the engine can only deal with 4 sets of uv coordinates, so when it's reading those coords it reads the first coord for the fifth texture as the second coord for the first texture and so on.I think you would need to do rework on the code in TX's terrain engine to make it deal with more than 4 textures including the shader that is used by the terrain engine.
Torque Owner Jacob Griffith
Default Studio Name