Page 1 of 1

EDL again... [FIXED]

Posted: Mon Sep 15, 2014 2:35 pm
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

Re: EDL again...

Posted: Mon Sep 15, 2014 3:18 pm
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.

Re: EDL again...

Posted: Wed Sep 17, 2014 12:41 pm
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

Re: EDL again...

Posted: Wed Sep 17, 2014 8:22 pm
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 11213 times
You'll find the corresponding beta version here:
(edit: link removed)

Re: EDL again... [FIXED]

Posted: Sat Sep 27, 2014 2:57 pm
by jfhullo
Daniel, thanks for this first Fix.

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

Thx again,

JF

Re: EDL again... [FIXED]

Posted: Sat Sep 27, 2014 3:12 pm
by daniel
Argl, a crash with EDL?! God I hate shaders (and GPUs ;).

What is your graphic card model?

Re: EDL again... [FIXED]

Posted: Wed Oct 01, 2014 1:17 pm
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

Re: EDL again... [FIXED]

Posted: Wed Oct 01, 2014 1:51 pm
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.

Re: EDL again... [FIXED]

Posted: Wed Oct 01, 2014 2:29 pm
by jfhullo
To be honest, it's just a chipset not a real GPU...