[ED42] TreeMesh / Texture issue.

Ask questions, discuss ideas, get answers
Post Reply
Player
Posts: 28
Joined: Sat Oct 24, 2009 5:06 pm

[ED42] TreeMesh / Texture issue.

Post by Player »

Hi guys,

I've downloaded the Converted Treemesh for ED42, but they seem to be incorrectly setup.

I compared the .tm to the .rs and seems it's pointing to the a non existent texture file and in most cases only pointing to a single texture where it seems to need two or more.

Looking @ a working file "pacific_palm_4_m1.rs" I can see it has a different texture setup for each Material as well as setups alpha / transparency etc which is missing from the rs files I downloaded.

Code: Select all

subshader "Pacific_Palm_4_M1_Material0" "StandardMesh/Default"
{
	lighting true;
	lightingSpecular false;
	materialDiffuse 1 1 1;
	texture "texture/PAHIST_C";
}

subshader "Pacific_Palm_4_M1_Material1" "StandardMesh/Default"
{
	lighting true;
	lightingSpecular false;
	materialDiffuse 1 1 1;
	texture "texture/PAHITO_C";
}

subshader "Pacific_Palm_4_M1_Material2" "StandardMesh/Default"
{
	lighting true;
	lightingSpecular false;
	materialDiffuse 1 1 1;
	transparent true;
	twosided true;
	alphaTestRef 0.4;
	texture "texture/PAHILE_C";
}

I've sorted out the names of the missing textures by looking through the original .tm

Code: Select all

jungle_plant1_m1  | texture/leaf2_T | texture/stamm |
jungle_plant5_m1  | texture/Bush_ branch_T | texture/leaf_bush3_T |
jungle_plant10_m1  | texture/Dj_plantGr_T |  
jungle_plant20_m1  | texture/Dj_plantGr_T |  
jungle_plant22_m1  | texture/Dj_plantGr_T |  
jungle_plantball_m1  | texture/Dj_plantGr_O |  

pacific_palm_1_m1  | texture/PAHILE_C | texture/PAHIST_CH | texture/PAHITO_C |
pacific_palm_2_m1  | texture/PAHILE_C | texture/PAHIST_C6 | texture/PAHITO_C |
pacific_palm_3_m1  | texture/PAHILE_C | texture/PAHIST_CH | texture/PAHITO_C |

pacific_palm_large_1_m1  | texture/PAHILE_C | texture/PAHIST_C | texture/PAHITO_C |
pacific_palm_large_2_m1  | texture/PAHILE_C | texture/PAHIST_CB | texture/PAHITO_C |

palmshort_m1  | texture/PASHLE_C | texture/PASHST_C | texture/PASHST_C |
palmhight_m1  | texture/PAHILE_C | texture/PAHIST_C | texture/PAHITO_C |
And have tried to "manually" fix the .rs files to point to the correct textures, but thus far I'm failing miseribly.

Image

How can I fix this?
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: [ED42] TreeMesh / Texture issue.

Post by fo0k »

I guess it's never been too much of an issue. A visual reference was what was needed rather than just a box, textures were not really essential in the editor.

To fix I would expect all the trees need to be re-exported as sm but with textures setup correctly.

I might be wrong.
Player
Posts: 28
Joined: Sat Oct 24, 2009 5:06 pm

Re: [ED42] TreeMesh / Texture issue.

Post by Player »

Yah not a huge issue at all, but I'd like to know how to do it properly with the textures but I'm not too clear on how to do so.

I seen your tutorial on youtube, but it didn't seem to go into detail how to include the textures.

Im using MDT with gmax.
Post Reply