EDL again... [FIXED]

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
jfhullo
Posts: 90
Joined: Thu Oct 14, 2010 7:16 am

EDL again... [FIXED]

Post by jfhullo »

Hi there,

I like EDL so much that... its little issues mess me up! :)

In centered perspective, when you are close to the object (in the bouding box ??), EDL doesn't work:
Image

But if you only click on the scissor (segmentation), without moving the camera, it works, since you don't move the camera!!!
Image

Any idea to fix that issue ??

JF
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: EDL again...

Post by daniel »

Funny isn't it? ;)

I think I know the reason but I'll double check first and I'll get back to you.
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: EDL again...

Post by daniel »

Ok, I finally understood what happens: when you select the scissors tool, CC adds a (2D) polyline to the window. This mistakenly changes the bounding-box of the displayed entities (that's a double mistake because: first the polyline is not visible when the tool starts and second it's a 2D element, not a 3D one! - I fixed this). Anyway the bounding-box is changed, and potentially greatly because the empty polyline line in its initial state is like a point placed in (0,0,0). This totally changes the depth-buffer normalization of the graphic card, which directly impacts the EDL render.

In your case, this glitch gave a better result. But that's pure chance, because in most case it worsens it... This issue shows once again that this depth-buffer normalization done on the GPU side is really the big problem of EDL. I've just found an interesting article on this problem here (I'll look at it more in depth in case it gives us a practicable solution):
http://outerra.blogspot.fr/2012/11/maxi ... e-and.html
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: EDL again...

Post by daniel »

Yes! It was a good source indeed. Now EDL works in perspective mode!
cc_edl_perspective.jpg
cc_edl_perspective.jpg (430.24 KiB) Viewed 11274 times
You'll find the corresponding beta version here:
(edit: link removed)
Daniel, CloudCompare admin
jfhullo
Posts: 90
Joined: Thu Oct 14, 2010 7:16 am

Re: EDL again... [FIXED]

Post by jfhullo »

Daniel, thanks for this first Fix.

I encoutered a systematic crash... I'll wait for the next fix!

Thx again,

JF
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: EDL again... [FIXED]

Post by daniel »

Argl, a crash with EDL?! God I hate shaders (and GPUs ;).

What is your graphic card model?
Daniel, CloudCompare admin
jfhullo
Posts: 90
Joined: Thu Oct 14, 2010 7:16 am

Re: EDL again... [FIXED]

Post by jfhullo »

Hey Daniel,

it was buggy with a Iris Pro 5200.

When I use it on a real Graphic Card, it's OK. Just have few artefacts, kind of "waves" or "tiles" on planar surfaces at medium distance, but anyway: THANKS for this new version of EDL !!


JF
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: EDL again... [FIXED]

Post by daniel »

Never heard of this GPU before!

If you continue I'll put a test at startup to cancel the application's launching if it detects an Intel GPU ;).

In fact I do have an Intel GPU to do some tests at home and (incredibly enough) it does support EDL well.
Daniel, CloudCompare admin
jfhullo
Posts: 90
Joined: Thu Oct 14, 2010 7:16 am

Re: EDL again... [FIXED]

Post by jfhullo »

To be honest, it's just a chipset not a real GPU...
Post Reply