XbimWebUI icon indicating copy to clipboard operation
XbimWebUI copied to clipboard

iOs Mobile render error

Open bcanteneurEiffage opened this issue 4 years ago • 6 comments

Actual behavior or exception details:

When rendered on a mobile (iOs) web browser the model displays a lot darker than in computer web browsers. image0

Here is the same page but on computer : image

Version of the xBIM Viewer:

"@xbim/viewer": "2.0.1-pre202103091921"

Minimal file to reproduce the issue:

Bug is not dependent of a wexbim model but happens everytime

bcanteneurEiffage avatar Mar 31 '21 11:03 bcanteneurEiffage

Weird because it has been tested on IoS Safari and Chrome

It would be useful to get the stats on the level of Webgl support for the two different browsers. You can use the tool a https://webglreport.com/?v=2 to get the data

andyward avatar Mar 31 '21 12:03 andyward

Mobile browser : image image

bcanteneurEiffage avatar Mar 31 '21 13:03 bcanteneurEiffage

Computer : image image

bcanteneurEiffage avatar Mar 31 '21 13:03 bcanteneurEiffage

The viewer prefers WebGL2, so your mobile iOS is using different shaders than your computer. There might be some discrepancy between our shaders implementations. Will look at it in the next few days.

martin1cerny avatar Mar 31 '21 13:03 martin1cerny

Ok I enabled WebGL2 and it looks better but still different from computer image

bcanteneurEiffage avatar Mar 31 '21 13:03 bcanteneurEiffage

This should have been fixed with #367

Was down to a precision issue affecting mobile viewer engines

andyward avatar Jan 05 '22 10:01 andyward