Elvas Tower: BLW Alco C628 Ghost Engine.... - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

BLW Alco C628 Ghost Engine.... Rate Topic: -----

#1 User is offline   eric from trainsim 

  • Waste Disposal Engineer
  • Group: Private - Open Rails Developer
  • Posts: 1,582
  • Joined: 30-October 10
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 05 November 2012 - 07:31 AM

Sim loads, Cabview works fine, lights & smoke appear, but engine shape textures do not appear in any exterior view.

Locomotive download: http://www.edstrains.../train/cnw.html

From the log:

Information: e:\msts\trains\trainset\gb_c628_cnw\c628_cnw_6718.s

Error: System.ArgumentOutOfRangeException: Resource size must be greater than zero.
Parameter name: elementCount
at Microsoft.Xna.Framework.Graphics.IndexBuffer..ctor(GraphicsDevice graphicsDevice, Type indexType, Int32 elementCount, BufferUsage usage)
at ORTS.SharedShape.SubObject..ctor(sub_object sub_object, Int32[] hierarchy, TextureFlags textureFlags, SFile sFile, SharedShape sharedShape)
at ORTS.SharedShape.DistanceLevel.<>c__DisplayClassd.<.ctor>b__b(sub_object obj)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at ORTS.SharedShape.DistanceLevel..ctor(distance_level MSTSdistance_level, TextureFlags textureFlags, SFile sFile, SharedShape sharedShape)
at ORTS.SharedShape.LodControl.<>c__DisplayClass9.<.ctor>b__7(distance_level level)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at ORTS.SharedShape.LodControl..ctor(lod_control MSTSlod_control, TextureFlags textureFlags, SFile sFile, SharedShape sharedShape)
at ORTS.SharedShape.<>c__DisplayClass1.<LoadContent>b__0(lod_control lod)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at ORTS.SharedShape.LoadContent()
at ORTS.SharedShape..ctor(Viewer3D viewer, String filePath)
at ORTS.SharedShapeManager.Get(String path)
at ORTS.PoseableShape..ctor(Viewer3D viewer, String path, WorldPosition initialPosition, ShapeFlags flags)
at ORTS.MSTSWagonViewer..ctor(Viewer3D viewer, MSTSWagon car)
at ORTS.MSTSLocomotiveViewer..ctor(Viewer3D viewer, MSTSLocomotive car)
at ORTS.MSTSDieselLocomotiveViewer..ctor(Viewer3D viewer, MSTSDieselLocomotive car)
at ORTS.MSTSDieselLocomotive.GetViewer(Viewer3D viewer)
at ORTS.TrainDrawer.LoadCar(TrainCar car)
at ORTS.TrainDrawer.Load()
at ORTS.World.Load()
at ORTS.Viewer3D.Load()
at ORTS.LoaderProcess.Load()
at ORTS.LoaderProcess.DoLoad()
at ORTS.LoaderProcess.LoaderThread()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


CS

#2 User is offline   wacampbell 

  • Member since Nov. 2003
  • Group: Fan: Traction Nuts
  • Posts: 2,347
  • Joined: 22-November 03
  • Gender:Male
  • Location:British Columbia, Canada
  • Country:

Posted 05 November 2012 - 07:43 AM

Entered as Bug #1075204

#3 Inactive_brian2000_*

  • Group: Status: Passengers (Obsolete)

Posted 06 November 2012 - 07:22 AM

So simple deleted!

#4 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,492
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 06 November 2012 - 09:46 AM

It has nothing to do with LOD; the locomotive contains primitives with no vertex indices (which is as good as invalid). It's fixed in V1319.

#5 Inactive_brian2000_*

  • Group: Status: Passengers (Obsolete)

Posted 06 November 2012 - 01:17 PM

So simple deleted!

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users