Draw Normals as Lines error

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
lweidner
Posts: 9
Joined: Fri Jan 21, 2022 9:47 pm

Draw Normals as Lines error

Post by lweidner »

Hi, I'm trying the "draw normals as lines" function for the first time and have been getting an error which causes a crash.
With v2.13.0 (Feb14), I compute normals on a small cloud, then click the "draw" check box.

The error that pops up is "ERROR: 3:7: 'varying' : cannot be used with a block or a structure"
followed by
"[ccGLWindow::draw3D] OpenGL error: stack underflow"
then, CC crashes.

Of the two computers I tested, it only happens on my laptop with integrated Intel Iris Graphics. Desktop with dedicated AMD GPU works fine.
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Draw Normals as Lines error

Post by daniel »

Ah, yes, I forgot to add a safety check: some drivers don't support the shader version used to do it. I'll add a clearer message in the next release.
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Draw Normals as Lines error

Post by daniel »

Hum, it doesn't look straightforward to test the right extension that should be supported... so maybe we won't be able to improve this error message!
Daniel, CloudCompare admin
Post Reply