Strange Graphics Effect

General discussion about Train Simulator, your thoughts, questions, news and views!

Moderator: Moderators

User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Strange Graphics Effect

Post by 749006 »

A have a Strange Graphics Effect with the Chiltern Mk3's

At the ends of each coach there are some blur lines on the track and I'm not sure what might be causing it.
I though maybe the pack from Vulcan Productions might have been out of date so I re-downloaded it, installed and ran the BAT file.
And I have both Valenta and Mirlees HST Packs installed
Screenshot_WCML Trent Valley_52.80383--2.12280_11-30-39.jpg
Any thoughts on what could cause this?

Thanks

Peter
http://peter749.piwigo.com/
My Railway Pictures
deltic009
Very Active Forum Member
Posts: 4017
Joined: Fri Nov 27, 2009 1:06 am

Re: Strange Graphics Effect

Post by deltic009 »

That's a missing shadow texture that has failed to copy across for some reason.
Matthew Wilson, development team at Vulcan Productions

http://www.vulcanproductions.co.uk
https://www.facebook.com/VulcanFoundry/
User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Re: Strange Graphics Effect

Post by 749006 »

Hi Matthew,

I have had another look and this graphics glitch appears under all the Chiltern Mk3's with a Missing Texture thingy part way under the coach.
I have just tried reinstalling it but no change.
And they worked fine when I installed them - not sure what has changed?

Would you know what might not have copied across and I could do it myself?

Thanks

Peter
http://peter749.piwigo.com/
My Railway Pictures
sumitsingh
Been on the forums for a while
Posts: 186
Joined: Tue Jul 04, 2017 10:49 am

Re: Strange Graphics Effect

Post by sumitsingh »

This is missing soft shadow texture.

Use RW tool to look into the GeoPcDx carefully a texture mostly named as softshadow.TgPcDx.
It is missing from your coach texture folder.
You can copy it from other folder ( unless both had same resolution, no luck if they do not have )
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Strange Graphics Effect

Post by gptech »

Softshadow might not be in the coach's textures folder--as it's a texture used by all the Kuju MkIII coaches it could well be in a location such as ..\..\..\..\system
Peter, just check a few of your Kuju HSTs, make sure they aren't similarly affected.
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Strange Graphics Effect

Post by gptech »

gptech wrote:it could well be in a location such as ..\..\..\..\system
I wasn't far out, the .GeoPcDx files point to

..\..\..\..\..\system\textures\[00]softshade_long


The ..\ bits mean 'go up the directory tree one folder level', starting with the folder the .Geo itself lives in---paths to the textures are all relative to the location of the shape file.

so as an example, the .Geo for the TSO installs to:

..\Assets\Kuju\RailVehicles\Diesel\HST\Mk3_2\Chiltern\Mk3TSO

Go up the folder tree 1 level to account for the first instance of ..\ and you end up in:

..\Assets\Kuju\RailVehicles\Diesel\HST\Mk3_2\Chiltern

up again for the 2nd ..\

..\Assets\Kuju\RailVehicles\Diesel\HST\Mk3_2

3rd takes us to

..\Assets\Kuju\RailVehicles\Diesel\HST

4th

..\Assets\Kuju\RailVehicles\Diesel

and the 5th and final one drops us in

..\Assets\Kuju\RailVehicles

Next entry in the pathing list/directions is a named folder, so in ..\Assets\Kuju\RailVehicles you should have a folder named 'system' and in that 'system' folder another folder named 'textures'

If these haven't been installed simply copy the file from

..\Assets\Kuju\RailSimulator\System\Textures

and paste it into the empty (or if needed a new) ..\Assets\Kuju\RailVehicles\system\textures folder.

Alternatively you could copy and paste the file into each coach's textures folder, and edit the path in the .GeoPcDx files to read

textures\[00]softshade_long
choccy
Very Active Forum Member
Posts: 1500
Joined: Fri Dec 12, 2003 11:05 pm

Re: Strange Graphics Effect

Post by choccy »

In case anyone is confused I think RailSimulator is missing in the above tree examples. So, for example .....\RailWorks\Assets\Kuju\RailSimulator\RailVehicles\System\Textures

Mark
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Strange Graphics Effect

Post by gptech »

Yep, yer right...
so here's a revised set of instructions...Thanks Mark for spotting that! :)

the .GeoPcDx files point to

..\..\..\..\..\system\textures\[00]softshade_long


The ..\ bits mean 'go up the directory tree one folder level', starting with the folder the .Geo itself lives in---paths to the textures are all relative to the location of the shape file.

so as an example, the .Geo for the TSO installs to:

..\Assets\Kuju\RailSimulator\RailVehicles\Diesel\HST\Mk3_2\Chiltern\Mk3TSO

Go up the folder tree 1 level to account for the first instance of ..\ and you end up in:

..\Assets\Kuju\RailSimulator\RailVehicles\Diesel\HST\Mk3_2\Chiltern

up again for the 2nd ..\

..\Assets\Kuju\RailSimulator\RailVehicles\Diesel\HST\Mk3_2

3rd takes us to

..\Assets\Kuju\RailSimulator\RailVehicles\Diesel\HST

4th

..\Assets\Kuju\RailSimulator\RailVehicles\Diesel

and the 5th and final one drops us in

..\Assets\Kuju\RailSimulator\RailVehicles

Next entry in the pathing list/directions is a named folder, so in ..\Assets\Kuju\RailSimulator\RailVehicles you should have a folder named 'system' and in that 'system' folder another folder named 'textures'

If these haven't been installed simply copy the softshade_long.TgPcDx file from

..\Assets\Kuju\RailSimulator\System\Textures

and paste it into the empty (or if needed a new) ..\Assets\Kuju\RailSimulator\RailVehicles\system\textures folder.

Alternatively you could copy and paste the file into each coach's textures folder, and edit the path in the .GeoPcDx files to read

textures\[00]softshade_long
User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Re: Strange Graphics Effect

Post by 749006 »

gptech wrote: so in ..\Assets\Kuju\RailSimulator\RailVehicles you should have a folder named 'system' and in that 'system' folder another folder named 'textures'
If these haven't been installed simply copy the softshade_long.TgPcDx file from
..\Assets\Kuju\RailSimulator\System\Textures
and paste it into the empty (or if needed a new) ..\Assets\Kuju\RailSimulator\RailVehicles\system\textures folder.
I did not have the "System" folder in that location so I copied the file in to a newly created folder as you suggested.
gptech wrote:Alternatively you could copy and paste the file into each coach's textures folder, and edit the path in the .GeoPcDx files to read
textures\[00]softshade_long
That's a bit beyond my level so I went for the easy option

And it works :) - But I don't know why that folder was missing :-?

I had a problem with my Kuju folder being corrupt about 3 months back so I cut the RailSimulatorfolder out and let the system rebuild it.
But it did not do a good job as the Diesel\BR294 folder was missing - I copied it back in but unsure why that was missing

Anyway - Thank you Gary :)

Peter
http://peter749.piwigo.com/
My Railway Pictures
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Strange Graphics Effect

Post by gptech »

749006 wrote:I did not have the "System" folder in that location
Nobody does....until they install a reskin that's nested a folder deeper than the default stock the reskin is based on. The .Geo for the Chiltern coaches is a standard Kuju one, so has the same pathing as the default coaches. However, due to how the Mk3s are constructed the TGS (and possibly the buffet) use textures from the TSO as well. That means that if the reskin is installed at the same level as the default stock it'll conflict. Dropping a folder lower gets around that, but necessitates a new 'system\textures' folder for the softshade so that the game can find the texture after going through the 5 ..\ steps.
It should have bee installed when the route installer was run, possibly a case there of the installer and your local security properties working in perfect harmony to not complete a task. It happens, it can happen to any installer; though JT installers do seem to have more than their share of wee glitches.
sumitsingh
Been on the forums for a while
Posts: 186
Joined: Tue Jul 04, 2017 10:49 am

Re: Strange Graphics Effect

Post by sumitsingh »

I suggest just check your GeoPcDx file, there are texture slots, you can figure out easily.
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Strange Graphics Effect

Post by gptech »

sumitsingh wrote:I suggest just check your GeoPcDx file, there are texture slots, you can figure out easily.
If folk found it that easy they'd all be doing it.
If it's so easy why didn't you post with a bit more detail?....showing the procedure is definitely a lot more help then "just edit the shape file"
Whereabouts are these texture slots?...at the beginning of the file, in the middle, or at the end?...do they jump out at you by having "TEXTURE SLOT" in big letters to let you know just what they are?..are there any special rules about syntax---what does the [00] before the file name mean?

Educate folk by all means, but a little explanation doesn't go amiss.
sumitsingh
Been on the forums for a while
Posts: 186
Joined: Tue Jul 04, 2017 10:49 am

Re: Strange Graphics Effect

Post by sumitsingh »

Tking the example of class 40 by RailRight.
RailWorks\Assets\RailRight\Class40Mainline\Class40MainlineAssets.ap\RailVehicles\BR Large Logo Blue\Dual\Engine\Class40_LL_HUD.GeoPcDx
Open GeoPcDx in RWTools.
Hit search softshade.
This softshade is used below trains for shadows.

Code: Select all

<ShaderName d:type="cDeltaString">Lit3DirSingle</ShaderName>
			<TextureByName>
				<e d:type="cDeltaString">textures\[00]softshadow</e>
softshadow present in the texture folder where GeoPcDx is.
For model makers we can look here - http://the-art-of-rws.blogspot.in/2010/ ... rials.html
what does the [00] before the file name mean?
It is for choosing texture ( TGA) from MAX.

Here in you Chiltern Mk3's, you need to get an idea what exactly is the softshade named, Usually develpers make it softshadow which might be present in either texture folder
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Strange Graphics Effect

Post by gptech »

I think you lost the sarcasm....

Regardless,
sumitsingh wrote:softshadow present in the texture folder where GeoPcDx is.
is true for the Railright class 40, but NOT the Chiltern MkIIIs we're looking at---they, like the HST coach they're based on, look for the softshade texture in a folder named 'System', 5 steps above where the .GePcDx is.
sumitsingh wrote:RailWorks\Assets\RailRight\Class40Mainline\Class40MainlineAssets.ap\RailVehicles\BR Large Logo Blue\Dual\Engine\Class40_LL_HUD.GeoPcDx
If that's the path after you've extracted the file from the .ap archive, you've made a mess of it---there shouldn't be a Class40MainlineAssets.ap folder.
deltic009
Very Active Forum Member
Posts: 4017
Joined: Fri Nov 27, 2009 1:06 am

Re: Strange Graphics Effect

Post by deltic009 »

sumitsingh wrote:RailWorks\Assets\RailRight\Class40Mainline\Class40MainlineAssets.ap\RailVehicles\BR Large Logo Blue\Dual\Engine\Class40_LL_HUD.GeoPcDx
And as if by magic, whilst you try to disprove what Gary is saying about things potentially being difficult, you prove that with a far simpler texture location that is it possible to make mistakes, let alone the complex mess you get with older Kuju items.

Examples? These Mk3s, the Deltics using a marker light texture from the Black 5 steam loco, and then getting the majority of the textures for the Green loco from the Default loco folder - you can't repath texture files in GeoPcDx files and distribute them, and history shows that not everyone can follow the required instructions to manually make amendments, so dropping this case into lower folders is the only way I'm afraid.
Matthew Wilson, development team at Vulcan Productions

http://www.vulcanproductions.co.uk
https://www.facebook.com/VulcanFoundry/
Locked

Return to “[TS] General Discussion”