Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Gametee


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Strange texture problem :S
Author Message
nkmol Offline
Senior Member

Posts: 252
Joined: Feb 2011
Reputation: 4
Post: #1
Sad [Solved] Strange texture problem :S

i've got a really strange problem that never happend before Confused
when i attach my texture to my model, everything looks good. but when i want to render it, it is al purple Confused

[Image: parkbench.png]

also i noticed the model create automatically a .mat file, but already got my own.
this is really odd, i've never had this problem before...
btw when i want to delete the extra .mat file and render it, i see nothing. when i wait some min and render again its pruple again and the extra .mat file is back Tongue
(This post was last modified: 06-03-2011 03:26 PM by nkmol.)
06-03-2011 11:15 AM
Find all posts by this user Quote this message in a reply
palistov Offline
Posting Freak

Posts: 1,208
Joined: Mar 2011
Reputation: 57
Post: #2
RE: Strange texture problem :S

That pink box with the weird stuff in the corner sometimes appears on my .mat files when I create them in the Material Editor. Try opening your model in the modelviewer or in-game. Any difference?

06-03-2011 11:18 AM
Find all posts by this user Quote this message in a reply
nkmol Offline
Senior Member

Posts: 252
Joined: Feb 2011
Reputation: 4
Post: #3
RE: Strange texture problem :S

in modelviewer it's just perfect, in the game it's pink also Sad
06-03-2011 12:00 PM
Find all posts by this user Quote this message in a reply
palistov Offline
Posting Freak

Posts: 1,208
Joined: Mar 2011
Reputation: 57
Post: #4
RE: Strange texture problem :S

Very strange....What do you use to create your models?

Try this:

Make sure your model's .dae file, .mat file, and all .dds files used in the material are in the same folder. Open up the .dae file in your text editor, and find the paths for the texture files. Delete everything except the actual name of the texture, like so:

C:/Blahblah file/so and so file/your_models_texture.dds >>> your_models_texture.dds

This is just a shot in the dark, but it's what I do for each of my .dae files and they work just fine in-game. Good luck.

06-03-2011 12:05 PM
Find all posts by this user Quote this message in a reply
nkmol Offline
Senior Member

Posts: 252
Joined: Feb 2011
Reputation: 4
Post: #5
RE: Strange texture problem :S

this didnt work Sad i notice when i import the .DAE file in the model editor there is no texture, untill i add it. so something must be wrong whith the path, yea.
but everything seems to be good Confused the pad in 3DS max is good, no error or something.
ok i solved it Smile
it was about the textures name Tongue i thought about, when you put a address in a webbrowser and it has space in the name. the web browser also adds '%20' instead of the space. So i removed the space in the texture name and voila it worked Big Grin

[Image: parkbench.png]
(This post was last modified: 06-03-2011 03:22 PM by nkmol.)
06-03-2011 02:43 PM
Find all posts by this user Quote this message in a reply
palistov Offline
Posting Freak

Posts: 1,208
Joined: Mar 2011
Reputation: 57
Post: #6
RE: [Solved] Strange texture problem :S

Sweet! Very nice model I like it

06-04-2011 12:45 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)