BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format

3 posters

Go down

Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format Empty Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format

Post by Gothpaladinus Tue May 11, 2021 1:19 am

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:
Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format Rj_110

While the program version 1.4.3 renders the same correctly without generating any errors:
Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format Rj_210

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:
Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format Rj_310

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)
Gothpaladinus
Gothpaladinus

Posts : 57
Join date : 2012-05-10
Age : 30
Location : Újpest, Budapest, Hungary

https://gothpaladinus.wixsite.com/gothpaladinusbve

Back to top Go down

Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format Empty Re: Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format

Post by leezer3 Tue May 11, 2021 12:15 pm

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:
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

leezer3

Posts : 1955
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format Empty Re: Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format

Post by Gothpaladinus Fri May 14, 2021 2:19 pm

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.
Gothpaladinus
Gothpaladinus

Posts : 57
Join date : 2012-05-10
Age : 30
Location : Újpest, Budapest, Hungary

https://gothpaladinus.wixsite.com/gothpaladinusbve

Back to top Go down

Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format Empty Re: Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format

Post by S520 Wed Jun 02, 2021 2:49 pm

This issue has been fixed in the nightly build since May 20.
Please check it.
S520
S520

Posts : 113
Join date : 2018-08-24
Location : Japan

https://github.com/s520

Gothpaladinus likes this post

Back to top Go down

Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format Empty Re: Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format

Post by Gothpaladinus Sat Jun 12, 2021 12:40 pm

Just checked the latest (June 10) build, and now it's really working as it should. Thank you for the fix!
Gothpaladinus
Gothpaladinus

Posts : 57
Join date : 2012-05-10
Age : 30
Location : Újpest, Budapest, Hungary

https://gothpaladinus.wixsite.com/gothpaladinusbve

BPI-919 Andris likes this post

Back to top Go down

Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format Empty Re: Render bugs with non-existing parts of Railjet coaches, Object Viewer complaining of Train dat format

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum