VCityTeam / UD-Viz

UD-Viz is a javascript mono repository for creating web applications for visualizing and interacting with geospatial 3D urban data.
Other
36 stars 18 forks source link

WebGL: readpixels error #614

Open clementcolin opened 1 year ago

clementcolin commented 1 year ago

image

I get this error that freezes my 3D context. : WebGL: INVALID_OPERATION: readPixels: buffer is not large enough for dimensions using UD-Viz as a library and the SideBarWidget (cf here.

Resizing my window or displaying the debugger get rid of this and allow me to interact with the 3D Context.

Do you any idea where this come from ?

valentinMachado commented 1 year ago

I tried to reproduce your bug by cloning your repo, but looks like you are importing @ud-viz/browser using some witchcraft ^^ why are you not importing @ud-viz/browser in your package.json ?

clementcolin commented 1 year ago

I wanted to work with a local UD-Viz version or the current UD-Viz version on the git (I could not wait for the 3.1 release :p ). So, the only solution I found was to use UD-Viz as a Git Submodules or a symbolic link to my local directory holding UD-Viz

valentinMachado commented 1 year ago

Ok I am not familiar with this workflow ahah You could also import @ud-viz/browser in your package.json as usual and just modify the version number by: file:the/path/to/your/local/udviz

clementcolin commented 1 year ago

Just add the same error working on the #312 branch. It seams to appear kind of randomly, I will try to reproduce it

image

clementcolin commented 1 year ago

image

This error appears also when asserting code on my laptop, updating the driver of my graphic card did not change anything.

valentinMachado commented 1 year ago

image

This error appears also when asserting code on my laptop, updating the driver of my graphic card did not change anything.

I am also seeing these warnings, they are not throw when running in google chrome making me thinking they are related to puppeteer

clementcolin commented 1 year ago

It seems to be linked to the browser : I'm usually working on Brave, I tried on Firefox and I could not reproduce this bug with it

valentinMachado commented 1 year ago

This bug seems to be related to itowns, this issue should migrate overthere