Texture Difficulties

Tips and discussion about scenery creation for RailWorks.

Texture Difficulties

Unread postby SMMDigital » Fri Aug 06, 2010 12:48 pm

Sorry fellows, it seems as if i've got a problem a day going up in here. But i'm figuring if we can come up with a solution here and post it, it might be of help somewhere down the road to someone else.

Have any of you ever seen this error when trying to build and preview a file in the Asset Editor?

Image

At first, I thought it was corrupt part in the IGS file, so I went back and removed parts one-by-one until the error went away. I then went back to the original 3DC file and "detextured" parts until the problem went away. It turned out that 3DC, or the Asset Editor, doesn't like the texture I was using. But what would make a texture "corrupt"? Also, it seems as if this error were related to the way material properties were applied to the part. However, textures were applied to the entire model without using any sort of shader, so the "TexDiff" part of the error is puzzling.
SMMDigital
 

Re: Texture Difficulties

Unread postby rgarber » Fri Aug 06, 2010 10:33 pm

I seem to recall the Exporter having an issue with a couple of things that may or may not be what you're looking for. The problem is I can't recall exactly what happened or why, but one was an alpha was necessary or something like that and the exporting feature didn't like what I did. The other was I had inadvertently selected a different texture that was an odd size for Railworks. Neither of these were discovered via the asset editor, just throwing a couple of issues I had recently had.

Rich
rgarber
 

Re: Texture Difficulties

Unread postby pikehkr » Sat Aug 07, 2010 2:14 am

SMMDigital wrote:... textures were applied to the entire model without using any sort of shader, so the "TexDiff" part of the error is puzzling.


Hiya,

Not sure what you mean here. I believe you must use Kuju shaders for import into the game and that is why you are seeing the error message.

Pikehkr
pikehkr
 

Re: Texture Difficulties

Unread postby dick8299 » Sat Aug 07, 2010 6:12 am

Sometimes, I have added a bump or environment texture to an object inadvertently and tried to export as a TexDiff texture and I get a message like that. (3D Canvas)
User avatar
dick8299
 
Posts: 385
Joined: Sat Feb 28, 2009 7:50 am

Re: Texture Difficulties

Unread postby SMMDigital » Sat Aug 07, 2010 6:51 am

Not sure what you mean here. I believe you must use Kuju shaders for import into the game and that is why you are seeing the error message.

Pikehkr


Please clarify on this note. Do you mean that each individual object within an asset must have the Kuju shader specified in the Rail Sim box? Or do you mean that maybe I have placed the wrong shader (one not used by the game) in the data box (that is a very likely possibility).
SMMDigital
 

Re: Texture Difficulties

Unread postby SMMDigital » Sat Aug 07, 2010 7:50 pm

As suspected above, it was a corrupt texture. I had built the texture file for the asset in layers as a PSD file, to which I also added an alpha channel. I merged the layers and saved the file, along with the alpha channel, to .TGA. For some reason, RW didn't like the alpha in the texture file, even though it had not yet been applied to the model.

I rebuilt the texture, added the alpha channel AFTER conversion to .TGA, and the problem went away. Go figure.
SMMDigital
 


Return to Scenery Design

Who is online

Users browsing this forum: No registered users and 1 guest