Hi all,
Finally I have been able to finish up the machine to a status that I was able to make a first glTF export with 3DS max, with it looking like this:
However, the shape doesn't show yet in OpenRails, but in the log I find the following error:
Warning: System.IO.FileLoadException: f:\defaultor\trains\trainset\rz ns 3700\3704\ns3704-1935.gltf f:\defaultor\trains\trainset\rz ns 3700\ ---> System.Exception: Unrecognized header "{
"ac" in f:\defaultor\trains\trainset\rz ns 3700\3704\ns3704-1935.gltf
bij Orts.Parsers.Msts.SBR.Open(String filename) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\Orts.Parsers.Msts\SBR.cs:regel 78
bij Orts.Formats.Msts.ShapeFile..ctor(String filename, Boolean suppressShapeWarnings) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\Orts.Formats.Msts\ShapeFile.cs:regel 99
bij Orts.Viewer3D.SharedShape.LoadContent() in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Shapes.cs:regel 1969
bij Orts.Viewer3D.SharedShape..ctor(Viewer viewer, String filePath) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Shapes.cs:regel 1955
bij Orts.Viewer3D.SharedShapeManager.Get(String path) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Shapes.cs:regel 77
bij Orts.Viewer3D.StaticShape..ctor(Viewer viewer, String path, WorldPosition position, ShapeFlags flags) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Shapes.cs:regel 146
bij Orts.Viewer3D.PoseableShape..ctor(Viewer viewer, String path, WorldPosition initialPosition, ShapeFlags flags) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Shapes.cs:regel 272
bij Orts.Viewer3D.RollingStock.MSTSWagonViewer..ctor(Viewer viewer, MSTSWagon car) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\RollingStock\MSTSWagonViewer.cs:regel 240
bij Orts.Viewer3D.RollingStock.MSTSLocomotiveViewer..ctor(Viewer viewer, MSTSLocomotive car) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\RollingStock\MSTSLocomotiveViewer.cs:regel 62
bij Orts.Viewer3D.RollingStock.MSTSSteamLocomotiveViewer..ctor(Viewer viewer, MSTSSteamLocomotive car) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\RollingStock\MSTSSteamLocomotiveViewer.cs:regel 53
bij Orts.Viewer3D.TrainDrawer.LoadCar(TrainCar car) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Trains.cs:regel 154
bij Orts.Viewer3D.TrainDrawer.Load() in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Trains.cs:regel 74
bij Orts.Viewer3D.World.Load() in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\World.cs:regel 96
bij Orts.Viewer3D.Viewer.Load() in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Viewer.cs:regel 729
bij Orts.Viewer3D.Viewer.Initialize() in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Viewer.cs:regel 538
bij Orts.Viewer3D.Viewer..ctor(Simulator simulator, Game game) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Viewer.cs:regel 369
bij Orts.Viewer3D.Processes.GameStateRunActivity.Start(UserSettings settings, String acttype, String[] args) in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:regel 352
bij Orts.Viewer3D.Processes.GameStateRunActivity.<>c__DisplayClass42_0.<Load>b__3() in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:regel 196
bij Orts.Viewer3D.Processes.GameStateRunActivity.Load() in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:regel 237
bij Orts.Viewer3D.Processes.LoaderProcess.Load() in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:regel 161
bij Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:regel 140
bij Orts.Viewer3D.Processes.LoaderProcess.LoaderThread() in C:\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:regel 111
bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bij System.Threading.ThreadHelper.ThreadStart()
I guess the glTF export is not completely correct for OpenRails yet, or I made an error in referring to the shape in my .eng file.
Anyone who has a guess at the error? If needed I can provide the model and eng file to someone who wants to look into it.