View unanswered posts | View active topics It is currently Sat Dec 28, 2024 3:46 pm



Reply to topic  [ 7 posts ] 
 Wierd texture problem 
Author Message
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Wierd texture problem
I'm having this problem:


when loading a scene with this MAT file (had to convert it to png to upload):


and this ini:


So what's the matter?


Wed Sep 21, 2011 6:39 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Wierd texture problem
Oh dear. Can the saving system you're using support palettes? I get the feeling some of the pixel colours are off because of your saving system.


Wed Sep 21, 2011 6:43 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Wierd texture problem
I checked and the color values are exactly the same, plus some materials such as concrete are recognized as such (at least for the structuralintegrity, not the texture) while the earth is destroyed by even the smallest shocks.

Edit: is there a terrain pallette file somewhere?


Last edited by Mehman on Wed Sep 21, 2011 6:48 pm, edited 1 time in total.



Wed Sep 21, 2011 6:46 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Wierd texture problem
It's definitely a paletting error.


Wed Sep 21, 2011 6:48 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Wierd texture problem
Is there a terrain palette file somewhere? Or is it the same the sprites use?


Wed Sep 21, 2011 6:48 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Wierd texture problem
Oh dear, that picture brings back memories. :P
The terrain palette/colour table looks like this:
Attachment:
mappalette.png
mappalette.png [ 17.57 KiB | Viewed 2867 times ]


Wed Sep 21, 2011 7:15 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Wierd texture problem
It was indeed a palette issue, I used the values located in Materials.ini to create a palette and it worked, the materials are now displaying properly, there was also a wierd alpha problem but that solved it too.


Wed Sep 21, 2011 7:41 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.043s | 15 Queries | GZIP : Off ]