Login  Register
 



Post new topicReply to topic
 
Author Message
 PostPosted: 29 Apr, 2011 
 
User avatar

Joined: 22 Apr, 2011
Posts: 41
Location: France
Offline
Hi !

I've follow this tuto -> http://forums.gaspowered.com/viewtopic.php?t=18548 But when i apply the texture to the unit, the same texture is applied entirely on every faces instead of to be stretched over the 3D model :shock:

What i have missed please ?

Thanks

_________________
Oh yeah !

My supcom website dedicated to modding: http://suprememodeur.dyndns.org


Last edited by Mightywarrior on 13 May, 2011, edited 1 time in total.

Top
 Profile  
 PostPosted: 29 Apr, 2011 
 
Forum Scout
Forum Scout
User avatar

Joined: 02 Mar, 2007
Posts: 9003
Location: Ninja Editing Your Post from a Canadian IPhone
Offline
So....you found the tutorial in the Modeling Subforum, but then posted an issue regarding its subject in a different forum?

*sigh*

Thread Moved to the proper Subforum.

Mike

_________________
God of Models - Moderator
BlackOps Team Twitter

Image


Top
 Profile  
 PostPosted: 29 Apr, 2011 
 
User avatar

Joined: 24 Apr, 2007
Posts: 190
Location: Bangor NI, UK
Offline
It sounds like you don't have the UVs done properly, but you'll need to provide some more info, could you post some screenshots?


Top
 Profile  
 PostPosted: 30 Apr, 2011 
 
User avatar

Joined: 22 Apr, 2011
Posts: 41
Location: France
Offline
This morning i have redo my UV but this time i have changed the "unwrap" option in the Uv calculation tab. I put it on "conformal" instead of "angle based" and tadaa! The texture is correctly applied in Blender....but not in game :cry: :cry:

any idea ?

PS: You can see here a screenshot of my texture problem :

Image

_________________
Oh yeah !

My supcom website dedicated to modding: http://suprememodeur.dyndns.org


Top
 Profile  
 PostPosted: 30 Apr, 2011 
 
User avatar

Joined: 24 Apr, 2007
Posts: 190
Location: Bangor NI, UK
Offline
Are you sure it looks ok in Blender? what I mean is, do you have it showing ok on the 3d model in textured mode?

Btw the automatic UVs in Blender are rubbish in my opinion, they can get you started but I always end up having to manually tweak almost everything to get it right.

Could you post a pic of your UVs with the texture as a background?

Like this:

Image


Top
 Profile  
 PostPosted: 01 May, 2011 
 
User avatar

Joined: 22 Apr, 2011
Posts: 41
Location: France
Offline
Quote:
Could you post a pic of your UVs with the texture as a background?


Yes, i'd like to but, before doing it with my unit, i had try to load a fonctionnal model to see if i can do like you but i don't understand how...

See what i get with the UEB4201_lod0.scm and UEB4201_Albedo.dds files :

http://img687.imageshack.us/i/t2turret.jpg/

Edit : Ok i dont know why the imported model does not work but i have redo the test with my unit (.blend this time) with his texture and i have a pic of my texture problem :

http://img541.imageshack.us/i/myunitbaduv.jpg/

So like i said, it's the same image on every faces !

_________________
Oh yeah !

My supcom website dedicated to modding: http://suprememodeur.dyndns.org


Top
 Profile  
 PostPosted: 01 May, 2011 
 
User avatar

Joined: 24 Apr, 2007
Posts: 190
Location: Bangor NI, UK
Offline
Oh yeah, blender doesn't like .dds files so you'll have to open them in photoshop or something then save a copy as a more common image format (I use .png myself).

After saving ueb4201_albedo.dds as a png and importing it to blender you should get:

Image

Also, the model needs to be selected when you import the image. Only faces that where selected will have the texture showing on them, otherwise they will show up as bright white, or in rare cases, bright pink like yours (not sure why). So if you want the whole model to have the texture like above just select all of the faces with A then import the image into blender.


Top
 Profile  
 PostPosted: 01 May, 2011 
 
User avatar

Joined: 16 Jan, 2010
Posts: 2908
Location: Draconis VII
Offline
Sam37 wrote:
Oh yeah, blender doesn't like .dds files so you'll have to open them in photoshop or something then save a copy as a more common image format (I use .png myself).

After saving ueb4201_albedo.dds as a png and importing it to blender you should get:

Image

Also, the model needs to be selected when you import the image. Only faces that where selected will have the texture showing on them, otherwise they will show up as bright white, or in rare cases, bright pink like yours (not sure why). So if you want the whole model to have the texture like above just select all of the faces with A then import the image into blender.
I wish 3DS max could do that XD It would help a ton XD


Top
 Profile  
 PostPosted: 01 May, 2011 
 
Forum Scout
Forum Scout
User avatar

Joined: 02 Mar, 2007
Posts: 9003
Location: Ninja Editing Your Post from a Canadian IPhone
Offline
Do what? show the texture on the model?

It should, XSI has a tone of different view options as well.

Mike

_________________
God of Models - Moderator
BlackOps Team Twitter

Image


Top
 Profile  
 PostPosted: 02 May, 2011 
 
User avatar

Joined: 17 Mar, 2007
Posts: 560
Location: Finland
Offline
Umm of course 3DS Max can do that! Just get the 3ds max dds-plugin so you can use the dds straight off.

Make a material with the maps you want (at least apply the albedo to the diffuse map if you don't care about normals or spec), using the bitmap option and selecting the dds. Then drag and drop the material to your objects (you can select all and apply to selected), then select the option to view the material in the viewport with hardware maps (it's the blue-white/purple-white checkerbox icon).

_________________
Image
Kirvesnaama's T3 Mobile AA


Top
 Profile  
 PostPosted: 02 May, 2011 
 
User avatar

Joined: 22 Apr, 2011
Posts: 41
Location: France
Offline
That's it, i have retry today with a .png and i can see the texture on the model. But my unit looks like that again : http://img541.imageshack.us/i/myunitbaduv.jpg/

_________________
Oh yeah !

My supcom website dedicated to modding: http://suprememodeur.dyndns.org


Top
 Profile  
 PostPosted: 03 May, 2011 
 
User avatar

Joined: 24 Apr, 2007
Posts: 190
Location: Bangor NI, UK
Offline
Could you post a pic with the actual UVs on the right instead of just the texture? The UVs on the right in that image are just drawn onto the texture, you can even see them appearing on every face.

I suspect you actually had the UVs done correctly and exported them to that image, but have now accidentally removed the real UVs from the model and haven't realised.


Top
 Profile  
 PostPosted: 11 May, 2011 
 
User avatar

Joined: 22 Apr, 2011
Posts: 41
Location: France
Offline
Hello

A few days ago, i have decide to return to the basics so i've use a simple mesh (the default cube in blender) then (after verified it can be construct in the game) i imported it into blender then i have follow the classic process to do an UV :

- mark seams
- unwrap
- selection of the uv then exporting the image
- editing with gimp (apply a few colors)

then i have open the texture in blender and applied it to my cube... my texture is properly applied :
Image

So i copy the image, transformed it in .dds format and used it in my unit folder to see the render in game :
Image
We can see here that the full texture is apply on all faces (so it's my initial problem)

So i return into blender to find the reason of this problem (not logic that the texture is well applied in Blender and not in game). I have randomly trying something... i have check the "UV" in "renderLayer" (in the outliner) (we can see in the first picture this checkbox is not checked) and i have exported again my cube and tadaa! :

Image

Later i opened anew Blender and imported my cube but instead of see the uv as i create (first image) in cross shape, i get this :

Image

What happened to my UV?

thank you

_________________
Oh yeah !

My supcom website dedicated to modding: http://suprememodeur.dyndns.org


Top
 Profile  
 PostPosted: 12 May, 2011 
 
User avatar

Joined: 24 Apr, 2007
Posts: 190
Location: Bangor NI, UK
Offline
Tbh I wish I could help further but I just don't know what's causing that :(. Someone like Pureon could probably answer that but I haven't seen him around for a few months.

The only thing I can think of is that you've maybe not remembered to save at the same time as you ran the exporter, because exporting it to .scm doesnt save your original blender file.

For example if you opened your blend file, made a load of changes to it, then exported it to SC and closed Blender without saving the file.. the blend file would still be old.

But tbh that's probably not the issue anyway.


Top
 Profile  
 PostPosted: 13 May, 2011 
 
User avatar

Joined: 22 Apr, 2011
Posts: 41
Location: France
Offline
I just tested to import my mesh with the Blender 2.47 and it is working!

It seems there is a version bug (not work with the 2.44)

note to myself: don't work with many version of a software :lol:

therefore my problem is completely solved. (i can't believe it :o )

Thank you all of you to helping me! :D

_________________
Oh yeah !

My supcom website dedicated to modding: http://suprememodeur.dyndns.org


Top
 Profile  
 PostPosted: 06 Sep, 2012 
 

Joined: 03 Sep, 2012
Posts: 1
Offline
Ive installed another enblends version from the official site and the problem is now solved. I downloaded the other versions on an old site and seems they was out of date or corrupted.

Thanks


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic



Quick Tools

Search for:
Jump to:  

© 2002-2010 Gas Powered Games Corp. All Rights Reserved. Gas Powered Games is the exclusive trademark of Gas Powered Games Corp.
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
 
Home| Games | Company | News & Press | Support
  Terms of Use   |    Copyright Information   |    Privacy Policy