Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format
3 posters
Page 1 of 1
Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format
Hi there. I have two problems with the new, openBVE 1.8+ versions.
One of the issues is that the ÖBB Railjet EuroCity train isn't rendered properly, and it even generates error messages which refer to non-existing parts of the exterior object files, saying: "v0 references a non-existing vertex in AddFace2 at line 269 in file D:\Old-PC\openBVE\UserData\ManagedContent\OeBB_RailJet\RailJet2012\Intermedia\Intermedia.csv" and the same kinda issue ten times. Moreover, this makes the rendering of the object get failed correctly, causing Z-fighting as well.
The same coach model looks this way in program version v1.7.559.1175-vsts:
While the program version 1.4.3 renders the same correctly without generating any errors:
Another bug is that in Object Viewer when I open the train's Extensions.cfg file, it says this: "The train.dat version openbve is invalid in D:\Old-PC\OpenBVE\UserData\ManagedContent\OeBB_RailJet\RailJet2012\train.dat". This is also not agreeable as the legacy Train Editor generates Train.dat files starting with "OPENBVE" in the first line and thus it should be fully compatible with all openBVE versions. In spite though, Object Viewer renders correctly the train without any graphics issues:
Have I done something wrong, or do I have to revert to openBVE 1.4.3 to make everything work as they are meant to be?
One of the issues is that the ÖBB Railjet EuroCity train isn't rendered properly, and it even generates error messages which refer to non-existing parts of the exterior object files, saying: "v0 references a non-existing vertex in AddFace2 at line 269 in file D:\Old-PC\openBVE\UserData\ManagedContent\OeBB_RailJet\RailJet2012\Intermedia\Intermedia.csv" and the same kinda issue ten times. Moreover, this makes the rendering of the object get failed correctly, causing Z-fighting as well.
The same coach model looks this way in program version v1.7.559.1175-vsts:
While the program version 1.4.3 renders the same correctly without generating any errors:
Another bug is that in Object Viewer when I open the train's Extensions.cfg file, it says this: "The train.dat version openbve is invalid in D:\Old-PC\OpenBVE\UserData\ManagedContent\OeBB_RailJet\RailJet2012\train.dat". This is also not agreeable as the legacy Train Editor generates Train.dat files starting with "OPENBVE" in the first line and thus it should be fully compatible with all openBVE versions. In spite though, Object Viewer renders correctly the train without any graphics issues:
Have I done something wrong, or do I have to revert to openBVE 1.4.3 to make everything work as they are meant to be?
Last edited by Gothpaladinus on Tue May 11, 2021 1:21 am; edited 1 time in total (Reason for editing : Forgot to add link to the train in original post)
Re: Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format
The objects in that one are a total mess.
I've implemented a workaround for the glitches in today's build, but they need cleaning up properly really.
Specifically, it's triggering detection of a different object type.
A (uncommon Japanese) variant of the CSV object type allows multiple columns of text in objects.
Take this sample pulled from the intermediate coach:
The parser was detecting the second set of commands on the line, and splitting these & appending at the end of the file.
This makes the Japanese objects in question work correctly.
https://github.com/leezer3/OpenBVE/issues/223
I've implemented a workaround for the glitches in today's build, but they need cleaning up properly really.
Specifically, it's triggering detection of a different object type.
A (uncommon Japanese) variant of the CSV object type allows multiple columns of text in objects.
Take this sample pulled from the intermediate coach:
- Code:
AddFace2,3,2,0,1;;;;;;;;
AddFace2,2,3,5,4;;;;AddFace2,2,3,5,4;;;;
AddFace2,6,7,9,8;;;;;;;;
AddFace2,11,10,8,9;;;;AddFace2,9,8,10,11;;;;
SetColor, 85,91,110;;;;;;;;
;;CHIUSURE;;;;;;
CreateMeshBuilder;;;;;;;;AddVertex, -1.495,1.3,-1.5,
AddVertex,1.5,1.05,-22.55;;;0;;;;;AddVertex, -1.495,1.3,-29.55
The parser was detecting the second set of commands on the line, and splitting these & appending at the end of the file.
This makes the Japanese objects in question work correctly.
https://github.com/leezer3/OpenBVE/issues/223
Re: Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format
Now the new version has solved the object issue, but in this new build, I get the same error message as in Object Viewer: "The train.dat version OPENBVE is invalid in D:\Old-PC\openBVE\UserData\ManagedContent\OeBB_RailJet\RailJet2012\train.dat".
And this format still shouldn't be marked invalid. Neither in Object Viewer, nor in the main openBVE program, or any elsewhere.
And this format still shouldn't be marked invalid. Neither in Object Viewer, nor in the main openBVE program, or any elsewhere.
Re: Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format
This issue has been fixed in the nightly build since May 20.
Please check it.
Please check it.
Gothpaladinus likes this post
Re: Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format
Just checked the latest (June 10) build, and now it's really working as it should. Thank you for the fix!
BPI-919 Andris likes this post
Similar topics
» object using new renderer in object viewer not blend texture correctly than using old renderer
» should default option for object optimization mode in object viewer is low or high instead none ?
» Unable to load wavefront object in Object Viewer
» Create a vase train from an existing one
» Object disappeared in object viewer
» should default option for object optimization mode in object viewer is low or high instead none ?
» Unable to load wavefront object in Object Viewer
» Create a vase train from an existing one
» Object disappeared in object viewer
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum