Data Realms Fan Forums
http://45.55.195.193/

Wierd texture problem
http://45.55.195.193/viewtopic.php?f=1&t=25604
Page 1 of 1

Author:  Mehman [ Wed Sep 21, 2011 6:39 pm ]
Post subject:  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?

Author:  Roast Veg [ Wed Sep 21, 2011 6:43 pm ]
Post subject:  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.

Author:  Mehman [ Wed Sep 21, 2011 6:46 pm ]
Post subject:  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?

Author:  Roast Veg [ Wed Sep 21, 2011 6:48 pm ]
Post subject:  Re: Wierd texture problem

It's definitely a paletting error.

Author:  Mehman [ Wed Sep 21, 2011 6:48 pm ]
Post subject:  Re: Wierd texture problem

Is there a terrain palette file somewhere? Or is it the same the sprites use?

Author:  Gotcha! [ Wed Sep 21, 2011 7:15 pm ]
Post subject:  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 3221 times ]

Author:  Mehman [ Wed Sep 21, 2011 7:41 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/