• Welcome to PiBoSo Official Forum. Please login or sign up.
 
March 28, 2024, 09:00:15 PM

News:

World Racing Series beta14 available! :)


Rendering quirk with output plugin quads ?

Started by HornetMaX, October 09, 2016, 08:31:42 PM

Previous topic - Next topic

HornetMaX

@PiBoSo:

Since beta9, when using my output plugin (http://forum.piboso.com/index.php?topic=79.0) on an onlilne server with multiple players I have a weird problem.
Randomly, all the output plugin quads that are on screen blink: they disappear for a tiny fraction of a second and then reappear. All of them at the same time.

It seems to happen more the more rider are on track/on the server. Tonight on a server running Aragon with Moto2 with 8-9 riders it was very very visible.
If you have less riders (2-3) it seems to happen less frequently (i.e. you may have to wait 1-2min between occurrences). Offline it doesn't seem to happen at all.

Even if I can't be 100% sure, I'm thinking the problem is not in my code as I preallocate all my quads and hide some of them when needed (setting alpha to zero), but what I see on screen involves all the quads (and strings) at the same time.

Any idea ?


HornetMaX

Up ?

I've cuaght it on video tonight (Assen, 4-5 riders online, cbr 600 cup): look form 1m40s, it happens at 1m44s exactly.

https://www.youtube.com/v/FZFgTUYF7Ow


HornetMaX

@PiBoSo: OK, I did another test: I took the output plugin example code provided by PiBoSo, added some minimal code to put a red semi-transparent quad on screen (nothing more) and when using this plugin in GPB the quad flickers in the same conditions as my own plugin (i.e. online session with multiple bikes on track, see the 1st post and the video in this thread). It's maybe a bit less evident (just tried once, 6 riders on Dijon with STK bikes), but it's definitely there. I think this tends to exclude the problem is in my code.

In the archive linked here below you'll find: the plugin itself (DummyPlugin.dlo), the source code (single .cpp file) and the Visual Studio 2015 files (doubt you need them, anyway).

https://mega.nz/#!VBMH1TTY!ie5xP2oKx6oXWMhrRJQAQUo-qdUPyOEq1LL6Lhq90YU

HornetMaX

Very interesting info posted by LOOPATELI:

Quote from: LOOPATELI on November 25, 2016, 01:01:24 AM
max when we are online and my bike falls out of the track to the infinite, the max hud dissapears to all the riders. then if go back to pit the hud appears again to the rest if the riders

It also seems the flickering of the plugin's quads happens when other bikes crash and/or go to pits.

janaucarre


Warlock


HornetMaX

Just online or offline too ? (I think I've never seen it offline)

PeterV

They mean a online session, but beeing the only one playing.

PeterV

November 27, 2016, 07:06:57 PM #9 Last Edit: November 27, 2016, 07:16:29 PM by PeterV
Im in a online session with warlock, only 2 of us now, and i noticed flickering when Warlock past a certain point.
It looks like the whiteline but could also be the transition between racetrack and surrounding area(s).
We can certainly reproduce it, i made Warlock do it 4 times  ;D

https://www.youtube.com/v/M-sV0CenUKU

HornetMaX

Thanks PeterV (and Warlock) !

I think at this point we only need PiBoSo to have a look.

PiBoSo

Quote from: HornetMaX on November 27, 2016, 07:08:30 PM
Thanks PeterV (and Warlock) !

I think at this point we only need PiBoSo to have a look.

Already done.
The fix will be integrated in the upcoming patch.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

Warlock


HornetMaX


Hawk