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

New renderer vs some trains

3 posters

Go down

New renderer vs some trains Empty New renderer vs some trains

Post by Delsin Sun May 03, 2020 12:31 am

Some cars get weird graphics glitches with new renderer on. This one somehow has it worse than anything else Smile
https://www.dropbox.com/s/rwzfeji8o0wriu0/FAV%201s-81s%20motor%20csatolt.zip?dl=0

New renderer vs some trains Riptra10
Delsin
Delsin

Posts : 294
Join date : 2016-08-20

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by leezer3 Mon May 04, 2020 9:32 pm

Try the build from today.

I'm reasonably certain this was being caused by some bad batching of the vertices involved with joining multiple cylinders with end caps into a single mesh (somewhat complicated....) but this is the only thing I've got with this issue.

leezer3

Posts : 1802
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by Delsin Mon May 04, 2020 10:07 pm

Same issue is still present, but with different faces affected, even cylinders on route objects got that.New renderer vs some trains Riptra11
Delsin
Delsin

Posts : 294
Join date : 2016-08-20

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by Delsin Mon May 04, 2020 10:14 pm

On the other hand, transparency vs fog issues are now gone. But all transparencies create a white border on alpha edges now
Delsin
Delsin

Posts : 294
Join date : 2016-08-20

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by leezer3 Tue May 05, 2020 9:12 pm

OK, hit this one a little harder Razz

TLDR:
Far too many vertices in the complete train (over 65,000), which overflowed the ushort indexer for the new renderer....
My initial fix worked nicely with things on thier own (as it optimised a bit the cylinder creation, of which there are far too many....), but the complete train then broke, which I hadn't noticed as I was testing in Object Viewer as it's much easier to reload as I delete things there....

Investigating the transparencies; I think it's only actually those using color-key transparency at the minute. This has come about because of trying to get a light with a partially transparent alpha cone working properly.

leezer3

Posts : 1802
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by Manuel18 Tue May 05, 2020 9:39 pm

I have done this monster locomotive ( +42.000 polygons ) without bogies and complex electric pantograph items.  i've tested but using MSTS Parser (A.K.A. Kuju .S parser)  and give me a object viewer crash.

I might be thinking on come back for openBVE a While 

New renderer vs some trains 3dsmax11
New renderer vs some trains 3dsmax10
New renderer vs some trains 3dsmax12
Manuel18
Manuel18

Posts : 74
Join date : 2012-10-18
Age : 27
Location : Caracas,Venezuela

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by leezer3 Tue May 05, 2020 10:16 pm

Ouch Very Happy

The new renderer will definitely handle this better, but I'm not sure quite how well.

Delsin:
Try the build that'll generate in a minute. The lighting still isn't perfect between the two renderers, but this should be closer again, without the wretched fringing.....

leezer3

Posts : 1802
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by Delsin Wed May 06, 2020 12:58 am

...and there are still people who say I overdetail my models Smile this looks awesome and this level of detail might find its use in bve someday.

As for the build - slowly getting there. No triangles anymore, but the train model (using what I originally provided as an example) looks visibly lighter - I compare with how it looks like with the old renderer - and semi-transparent faces are broken (depends, either more opaque than needed, or gone completely). Screenshots incoming.
Delsin
Delsin

Posts : 294
Join date : 2016-08-20

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by Delsin Wed May 06, 2020 1:08 am

New renderer vs some trains Riptra14
New renderer vs some trains Riptra13
New renderer vs some trains Riptra12
Delsin
Delsin

Posts : 294
Join date : 2016-08-20

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by Delsin Wed May 06, 2020 1:09 am

New renderer vs some trains Riptra16
New renderer vs some trains Riptra15
Delsin
Delsin

Posts : 294
Join date : 2016-08-20

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by leezer3 Wed May 06, 2020 12:33 pm

Goes away to repeatedly bash head on the wall....

I've removed the fringing fix, which makes the opacity etc. work OK, at the cost of the fringe.
Going to have to do some more excavation there.

The lighting calculations are still very probably bugged somewhere (new renderer is currently lighter than the old), still playing on that front.

leezer3

Posts : 1802
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by leezer3 Thu May 07, 2020 12:05 pm

Delsin- Can you try the build from today please?

Might have properly fixed the fringing this time, I can't see any of the previous issues, but you'll probably find something Razz


Lighting is still a little different, but I'm less worried about that at the minute.

leezer3

Posts : 1802
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by Delsin Thu May 07, 2020 3:22 pm

This time it literally fixed everything Very Happy
The train is still a bit brighter than it should be, but has no other issues, even glares and alphas work fine.
Delsin
Delsin

Posts : 294
Join date : 2016-08-20

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by leezer3 Thu May 07, 2020 8:43 pm

Good Smile

I've put out 1.7.1.5 with this and other bits in, and lighting is on my list of things to try and get sorted.
New renderer is getting better......

leezer3

Posts : 1802
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New renderer vs some trains Empty Re: New renderer vs some trains

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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