Game Development Community

TX3D 3.1.5 Beta - Terrain Painting

by Henry Shilling · in Torque X 3D · 07/02/2010 (11:50 am) · 4 replies

Build: 3.1.5 Beta

Platform: Windows 7-64 (specs i7 920, nVidia GTS250 6GB ram)

Target: VS2008 Xbox

Issues: How do we do it? Mismatch between T3D and TX3D

Steps to Repeat:

1) Create terrain file in T3D, or import ter file into T3D to adjust paint etc.

2) Cannot really see what the painting will look like.

This is my terrain in TX3D:

img710.imageshack.us/img710/1038/tx3d1.jpg
This is the same terrain loaded into T3D, Trying to burn in shadows but that's another issue:

img337.imageshack.us/img337/3586/t3d1.jpg
How do I edit what I cannot see?

as an aside I can make it look like this in T3D, and would prefer that TX3D terrains worked this way. (in reality I would use a different texture for the road but you get the idea)

img696.imageshack.us/img696/6731/t3d2.jpg



#1
07/07/2010 (11:32 am)
One thing you may be running into here is that the Torque X 3D terrain is limited to 4 diffuse textures (with no detail maps, normal maps, or parallax maps) while the Torque 3D terrain is effectively limited to 256 "TerrainMaterials", each of which can have a separate diffuse map, detail map, normal map, and/or parralax map.

It is possible that you are running over that limit.
#2
07/07/2010 (2:04 pm)
No I have 4 materials in my terrain. and only four. When I open it in T3D that is exactly what it looks like.

The only change I made in the T3D image was change the detail material on the "road" material. What I am saying is It would be cool if our 4 materials had 4 different detail materials like T3D.
#3
07/07/2010 (2:08 pm)
That is a bit tricky to do with a clipmapped terrain like Torque X has...definitely a feature outside of the scope of Torque X 3.1.5.
#4
07/07/2010 (2:25 pm)
Yea... the TX3D terrain is like the old TGEA terrain. Its a clipmap with 4 layers and a single noise detail map. The work involved in changing that is huge and it won't be happening for 3.1.5.

Probably the thing we can fix is to give you control over the texture repeat for each layer in the TX3D terrain. This would at least let you get closer to the same results as T3D, but it still won't be the same.